Interface PutAuthPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutAuthPolicyResponse.Builder,PutAuthPolicyResponse>,SdkBuilder<PutAuthPolicyResponse.Builder,PutAuthPolicyResponse>,SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
- PutAuthPolicyResponse
public static interface PutAuthPolicyResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<PutAuthPolicyResponse.Builder,PutAuthPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutAuthPolicyResponse.Builderpolicy(String policy)The auth policy.PutAuthPolicyResponse.Builderstate(String state)The state of the auth policy.PutAuthPolicyResponse.Builderstate(AuthPolicyState state)The state of the auth policy.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
policy
PutAuthPolicyResponse.Builder policy(String policy)
The auth policy.
- Parameters:
policy- The auth policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
PutAuthPolicyResponse.Builder state(String state)
The state of the auth policy. The auth policy is only active when the auth type is set to
Amazon Web Services_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 you provide will remain 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 toAmazon Web Services_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 you provide will remain 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:
AuthPolicyState,AuthPolicyState
-
state
PutAuthPolicyResponse.Builder state(AuthPolicyState state)
The state of the auth policy. The auth policy is only active when the auth type is set to
Amazon Web Services_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 you provide will remain 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 toAmazon Web Services_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 you provide will remain 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:
AuthPolicyState,AuthPolicyState
-
-