public static final class CfnClientVpnAuthorizationRuleProps.Builder
extends java.lang.Object
CfnClientVpnAuthorizationRuleProps
Constructor and Description |
---|
Builder() |
public CfnClientVpnAuthorizationRuleProps.Builder clientVpnEndpointId(java.lang.String clientVpnEndpointId)
CfnClientVpnAuthorizationRuleProps.getClientVpnEndpointId()
clientVpnEndpointId
- The ID of the Client VPN endpoint. This parameter is required.this
public CfnClientVpnAuthorizationRuleProps.Builder targetNetworkCidr(java.lang.String targetNetworkCidr)
CfnClientVpnAuthorizationRuleProps.getTargetNetworkCidr()
targetNetworkCidr
- The IPv4 address range, in CIDR notation, of the network for which access is being authorized. This parameter is required.this
public CfnClientVpnAuthorizationRuleProps.Builder accessGroupId(java.lang.String accessGroupId)
CfnClientVpnAuthorizationRuleProps.getAccessGroupId()
accessGroupId
- The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.
Required if AuthorizeAllGroups
is false
or not specified.this
public CfnClientVpnAuthorizationRuleProps.Builder authorizeAllGroups(java.lang.Boolean authorizeAllGroups)
CfnClientVpnAuthorizationRuleProps.getAuthorizeAllGroups()
authorizeAllGroups
- Indicates whether to grant access to all clients.
Specify true
to grant all clients who successfully establish a VPN connection access to the network. Must be set to true
if AccessGroupId
is not specified.this
public CfnClientVpnAuthorizationRuleProps.Builder authorizeAllGroups(IResolvable authorizeAllGroups)
CfnClientVpnAuthorizationRuleProps.getAuthorizeAllGroups()
authorizeAllGroups
- Indicates whether to grant access to all clients.
Specify true
to grant all clients who successfully establish a VPN connection access to the network. Must be set to true
if AccessGroupId
is not specified.this
public CfnClientVpnAuthorizationRuleProps.Builder description(java.lang.String description)
CfnClientVpnAuthorizationRuleProps.getDescription()
description
- A brief description of the authorization rule.this
public CfnClientVpnAuthorizationRuleProps build()
CfnClientVpnAuthorizationRuleProps
java.lang.NullPointerException
- if any required attribute was not provided