Class IamGetRoleResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.IamGetRoleResponse.Builder
-
- Enclosing class:
- IamGetRoleResponse
public static final class IamGetRoleResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IamGetRoleResponsebuild()IamGetRoleResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationIamGetRoleResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)IamGetRoleResponse.BuilderiamRoleResult(IamRoleResult iamRoleResult)The role with the given identifier was retrieved.IamGetRoleResponse.BuilderiamRoleResult(java.util.Optional<? extends IamRoleResult> iamRoleResult)The role with the given identifier was retrieved.IamGetRoleResponse.BuilderrawResponse(java.net.http.HttpResponse<Blob> rawResponse)Raw HTTP response; suitable for custom response parsingIamGetRoleResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public IamGetRoleResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public IamGetRoleResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public IamGetRoleResponse.Builder rawResponse(java.net.http.HttpResponse<Blob> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
iamRoleResult
public IamGetRoleResponse.Builder iamRoleResult(IamRoleResult iamRoleResult)
The role with the given identifier was retrieved.
-
iamRoleResult
public IamGetRoleResponse.Builder iamRoleResult(java.util.Optional<? extends IamRoleResult> iamRoleResult)
The role with the given identifier was retrieved.
-
headers
public IamGetRoleResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public IamGetRoleResponse build()
-
-