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 Details

    • 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

      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

      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 the ClientVpnAuthorizationRuleStatus.Builder avoiding the need to create one manually via ClientVpnAuthorizationRuleStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to status(ClientVpnAuthorizationRuleStatus).

      Parameters:
      status - a consumer that will call methods on ClientVpnAuthorizationRuleStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: