Interface TransitGateway.Builder

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

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

    • transitGatewayId

      TransitGateway.Builder transitGatewayId(String transitGatewayId)

      The ID of the transit gateway.

      Parameters:
      transitGatewayId - The ID of the transit gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transitGatewayArn

      TransitGateway.Builder transitGatewayArn(String transitGatewayArn)

      The Amazon Resource Name (ARN) of the transit gateway.

      Parameters:
      transitGatewayArn - The Amazon Resource Name (ARN) of the transit gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the transit gateway.

      Parameters:
      state - The state of the transit gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The state of the transit gateway.

      Parameters:
      state - The state of the transit gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ownerId

      TransitGateway.Builder ownerId(String ownerId)

      The ID of the Amazon Web Services account that owns the transit gateway.

      Parameters:
      ownerId - The ID of the Amazon Web Services account that owns the transit gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      TransitGateway.Builder description(String description)

      The description of the transit gateway.

      Parameters:
      description - The description of the transit gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      TransitGateway.Builder creationTime(Instant creationTime)

      The creation time.

      Parameters:
      creationTime - The creation time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      The transit gateway options.

      Parameters:
      options - The transit gateway options.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • options

      The transit gateway options.

      This is a convenience method that creates an instance of the TransitGatewayOptions.Builder avoiding the need to create one manually via TransitGatewayOptions.builder().

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

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

      The tags for the transit gateway.

      Parameters:
      tags - The tags for the transit gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      TransitGateway.Builder tags(Tag... tags)

      The tags for the transit gateway.

      Parameters:
      tags - The tags for the transit gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for the transit gateway.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

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

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