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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AuthorizationRule.Builder
accessAll(Boolean accessAll)
Indicates whether the authorization rule grants access to all clients.AuthorizationRule.Builder
clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint with which the authorization rule is associated.AuthorizationRule.Builder
description(String description)
A brief description of the authorization rule.AuthorizationRule.Builder
destinationCidr(String destinationCidr)
The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.AuthorizationRule.Builder
groupId(String groupId)
The ID of the Active Directory group to which the authorization rule grants access.default AuthorizationRule.Builder
status(Consumer<ClientVpnAuthorizationRuleStatus.Builder> status)
The current state of the authorization rule.AuthorizationRule.Builder
status(ClientVpnAuthorizationRuleStatus status)
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 Detail
-
clientVpnEndpointId
AuthorizationRule.Builder clientVpnEndpointId(String 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
AuthorizationRule.Builder description(String 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
AuthorizationRule.Builder groupId(String 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
AuthorizationRule.Builder accessAll(Boolean 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
AuthorizationRule.Builder destinationCidr(String 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
AuthorizationRule.Builder status(ClientVpnAuthorizationRuleStatus 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
default AuthorizationRule.Builder status(Consumer<ClientVpnAuthorizationRuleStatus.Builder> 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:
status(ClientVpnAuthorizationRuleStatus)
-
-