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