Interface AuthorizationRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuthorizationRule.Builder,
,AuthorizationRule> SdkBuilder<AuthorizationRule.Builder,
,AuthorizationRule> SdkPojo
- Enclosing class:
AuthorizationRule
public static interface AuthorizationRule.Builder
extends SdkPojo, CopyableBuilder<AuthorizationRule.Builder,AuthorizationRule>
-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether the authorization rule grants access to all clients.clientVpnEndpointId
(String clientVpnEndpointId) The ID of the Client VPN endpoint with which the authorization rule is associated.description
(String description) A brief description of the authorization rule.destinationCidr
(String destinationCidr) The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.The ID of the Active Directory group to which the authorization rule grants access.default AuthorizationRule.Builder
The current state of the authorization rule.The current state of the authorization rule.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
-
Method Details
-
clientVpnEndpointId
The ID of the Client VPN endpoint with which the authorization rule is associated.
- Parameters:
clientVpnEndpointId
- The ID of the Client VPN endpoint with which the authorization rule is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A brief description of the authorization rule.
- Parameters:
description
- A brief description of the authorization rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
The ID of the Active Directory group to which the authorization rule grants access.
- Parameters:
groupId
- The ID of the Active Directory group to which the authorization rule grants access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessAll
Indicates whether the authorization rule grants access to all clients.
- Parameters:
accessAll
- Indicates whether the authorization rule grants access to all clients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationCidr
The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.
- Parameters:
destinationCidr
- The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of the authorization rule.
- Parameters:
status
- The current state of the authorization rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current state of the authorization rule.
This is a convenience method that creates an instance of theClientVpnAuthorizationRuleStatus.Builder
avoiding the need to create one manually viaClientVpnAuthorizationRuleStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ClientVpnAuthorizationRuleStatus)
.- Parameters:
status
- a consumer that will call methods onClientVpnAuthorizationRuleStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-