Interface Gateway.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Gateway.Builder,Gateway>, SdkBuilder<Gateway.Builder,Gateway>, SdkPojo
Enclosing class:
Gateway

public static interface Gateway.Builder extends SdkPojo, CopyableBuilder<Gateway.Builder,Gateway>
  • Method Details

    • egressCidrBlocks

      Gateway.Builder egressCidrBlocks(Collection<String> egressCidrBlocks)
      The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
      Parameters:
      egressCidrBlocks - The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • egressCidrBlocks

      Gateway.Builder egressCidrBlocks(String... egressCidrBlocks)
      The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
      Parameters:
      egressCidrBlocks - The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gatewayArn

      Gateway.Builder gatewayArn(String gatewayArn)
      The Amazon Resource Name (ARN) of the gateway.
      Parameters:
      gatewayArn - The Amazon Resource Name (ARN) of the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gatewayMessages

      Gateway.Builder gatewayMessages(Collection<MessageDetail> gatewayMessages)
      Sets the value of the GatewayMessages property for this object.
      Parameters:
      gatewayMessages - The new value for the GatewayMessages property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gatewayMessages

      Gateway.Builder gatewayMessages(MessageDetail... gatewayMessages)
      Sets the value of the GatewayMessages property for this object.
      Parameters:
      gatewayMessages - The new value for the GatewayMessages property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gatewayMessages

      Gateway.Builder gatewayMessages(Consumer<MessageDetail.Builder>... gatewayMessages)
      Sets the value of the GatewayMessages property for this object. This is a convenience method that creates an instance of the MessageDetail.Builder avoiding the need to create one manually via MessageDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to gatewayMessages(List<MessageDetail>).

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

      Gateway.Builder gatewayState(String gatewayState)
      The current status of the gateway.
      Parameters:
      gatewayState - The current status of the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • gatewayState

      Gateway.Builder gatewayState(GatewayState gatewayState)
      The current status of the gateway.
      Parameters:
      gatewayState - The current status of the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      Gateway.Builder name(String name)
      The name of the gateway. This name can not be modified after the gateway is created.
      Parameters:
      name - The name of the gateway. This name can not be modified after the gateway is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      The list of networks in the gateway.
      Parameters:
      networks - The list of networks in the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      Gateway.Builder networks(GatewayNetwork... networks)
      The list of networks in the gateway.
      Parameters:
      networks - The list of networks in the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • networks

      The list of networks in the gateway. This is a convenience method that creates an instance of the GatewayNetwork.Builder avoiding the need to create one manually via GatewayNetwork.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networks(List<GatewayNetwork>).

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