Interface CreateCrossAccountAttachmentRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateCrossAccountAttachmentRequest.Builder,CreateCrossAccountAttachmentRequest>, GlobalAcceleratorRequest.Builder, SdkBuilder<CreateCrossAccountAttachmentRequest.Builder,CreateCrossAccountAttachmentRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateCrossAccountAttachmentRequest

  • Method Details

    • name

      The name of the cross-account attachment.

      Parameters:
      name - The name of the cross-account attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principals

      The principals to include in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.

      Parameters:
      principals - The principals to include in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principals

      The principals to include in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.

      Parameters:
      principals - The principals to include in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator or a CIDR range for a bring your own IP address (BYOIP) address pool.

      Parameters:
      resources - The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator or a CIDR range for a bring your own IP address (BYOIP) address pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator or a CIDR range for a bring your own IP address (BYOIP) address pool.

      Parameters:
      resources - The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator or a CIDR range for a bring your own IP address (BYOIP) address pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator or a CIDR range for a bring your own IP address (BYOIP) address pool.

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

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

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

      CreateCrossAccountAttachmentRequest.Builder idempotencyToken(String idempotencyToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.

      Parameters:
      idempotencyToken - A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Add tags for a cross-account attachment.

      For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

      Parameters:
      tags - Add tags for a cross-account attachment.

      For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Add tags for a cross-account attachment.

      For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

      Parameters:
      tags - Add tags for a cross-account attachment.

      For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Add tags for a cross-account attachment.

      For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

      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:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.