Interface PutAuthPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutAuthPolicyResponse.Builder,,PutAuthPolicyResponse> SdkBuilder<PutAuthPolicyResponse.Builder,,PutAuthPolicyResponse> SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
PutAuthPolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe auth policy.The state of the auth policy.state(AuthPolicyState state) The state of the auth policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
policy
The auth policy. The policy string in JSON must not contain newlines or blank lines.
- Parameters:
policy- The auth policy. The policy string in JSON must not contain newlines or blank lines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the auth policy. The auth policy is only active when the auth type is set to
AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type isNONE, then, any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.- Parameters:
state- The state of the auth policy. The auth policy is only active when the auth type is set toAWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type isNONE, then, any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the auth policy. The auth policy is only active when the auth type is set to
AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type isNONE, then, any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.- Parameters:
state- The state of the auth policy. The auth policy is only active when the auth type is set toAWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type isNONE, then, any auth policy that you provide remains inactive. For more information, see Create a service network in the Amazon VPC Lattice User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-