Class StackoneGetAccountResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.StackoneGetAccountResponse.Builder
-
- Enclosing class:
- StackoneGetAccountResponse
public static final class StackoneGetAccountResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StackoneGetAccountResponsebuild()StackoneGetAccountResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationStackoneGetAccountResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)StackoneGetAccountResponse.BuilderlinkedAccount(LinkedAccount linkedAccount)The account with the given identifier was retrieved.StackoneGetAccountResponse.BuilderlinkedAccount(java.util.Optional<? extends LinkedAccount> linkedAccount)The account with the given identifier was retrieved.StackoneGetAccountResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingStackoneGetAccountResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public StackoneGetAccountResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public StackoneGetAccountResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public StackoneGetAccountResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
linkedAccount
public StackoneGetAccountResponse.Builder linkedAccount(LinkedAccount linkedAccount)
The account with the given identifier was retrieved.
-
linkedAccount
public StackoneGetAccountResponse.Builder linkedAccount(java.util.Optional<? extends LinkedAccount> linkedAccount)
The account with the given identifier was retrieved.
-
headers
public StackoneGetAccountResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public StackoneGetAccountResponse build()
-
-