Interface GetClientVpnEndpointAuthorizationPolicyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetClientVpnEndpointAuthorizationPolicyResponse.Builder,,GetClientVpnEndpointAuthorizationPolicyResponse> Ec2Response.Builder,SdkBuilder<GetClientVpnEndpointAuthorizationPolicyResponse.Builder,,GetClientVpnEndpointAuthorizationPolicyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetClientVpnEndpointAuthorizationPolicyResponse
-
Method Summary
Modifier and TypeMethodDescriptionclientVpnEndpointId(String clientVpnEndpointId) The ID of the Client VPN endpoint.description(String description) A brief description of the authorization policy.policyDocument(String policyDocument) The authorization policy document, written in the Cedar policy language.shadowMode(String shadowMode) Specifies whether the authorization policy is evaluated in shadow mode.shadowMode(ClientVpnAuthorizationPolicyShadowMode shadowMode) Specifies whether the authorization policy is evaluated in shadow mode.The current state of the authorization policy.The current state of the authorization policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
clientVpnEndpointId
GetClientVpnEndpointAuthorizationPolicyResponse.Builder clientVpnEndpointId(String clientVpnEndpointId) The ID of the Client VPN endpoint.
- Parameters:
clientVpnEndpointId- The ID of the Client VPN endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocument
The authorization policy document, written in the Cedar policy language.
- Parameters:
policyDocument- The authorization policy document, written in the Cedar policy language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A brief description of the authorization policy.
- Parameters:
description- A brief description of the authorization policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowMode
Specifies whether the authorization policy is evaluated in shadow mode. Possible values include:
-
enabled- The authorization policy is evaluated and the results are logged, but access is not enforced. -
disabled- The authorization policy is enforced.
- Parameters:
shadowMode- Specifies whether the authorization policy is evaluated in shadow mode. Possible values include:-
enabled- The authorization policy is evaluated and the results are logged, but access is not enforced. -
disabled- The authorization policy is enforced.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
shadowMode
GetClientVpnEndpointAuthorizationPolicyResponse.Builder shadowMode(ClientVpnAuthorizationPolicyShadowMode shadowMode) Specifies whether the authorization policy is evaluated in shadow mode. Possible values include:
-
enabled- The authorization policy is evaluated and the results are logged, but access is not enforced. -
disabled- The authorization policy is enforced.
- Parameters:
shadowMode- Specifies whether the authorization policy is evaluated in shadow mode. Possible values include:-
enabled- The authorization policy is evaluated and the results are logged, but access is not enforced. -
disabled- The authorization policy is enforced.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The current state of the authorization policy.
- Parameters:
status- The current state of the authorization policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
GetClientVpnEndpointAuthorizationPolicyResponse.Builder status(ClientVpnAuthorizationPolicyStatus status) The current state of the authorization policy.
- Parameters:
status- The current state of the authorization policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-