Interface GetAuthPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAuthPolicyResponse.Builder,GetAuthPolicyResponse>,SdkBuilder<GetAuthPolicyResponse.Builder,GetAuthPolicyResponse>,SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
- GetAuthPolicyResponse
public static interface GetAuthPolicyResponse.Builder extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<GetAuthPolicyResponse.Builder,GetAuthPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetAuthPolicyResponse.BuildercreatedAt(Instant createdAt)The date and time that the auth policy was created, specified in ISO-8601 format.GetAuthPolicyResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time that the auth policy was last updated, specified in ISO-8601 format.GetAuthPolicyResponse.Builderpolicy(String policy)The auth policy.GetAuthPolicyResponse.Builderstate(String state)The state of the auth policy.GetAuthPolicyResponse.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
-
createdAt
GetAuthPolicyResponse.Builder createdAt(Instant createdAt)
The date and time that the auth policy was created, specified in ISO-8601 format.
- Parameters:
createdAt- The date and time that the auth policy was created, specified in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
GetAuthPolicyResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time that the auth policy was last updated, specified in ISO-8601 format.
- Parameters:
lastUpdatedAt- The date and time that the auth policy was last updated, specified in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
GetAuthPolicyResponse.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
GetAuthPolicyResponse.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
GetAuthPolicyResponse.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
-
-