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 Summary
Modifier and TypeMethodDescriptionidempotencyToken(String idempotencyToken) A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.The name of the cross-account attachment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.principals(String... principals) The principals to list in the cross-account attachment.principals(Collection<String> principals) The principals to list in the cross-account attachment.resources(Collection<Resource> resources) The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment.resources(Consumer<Resource.Builder>... resources) The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment.The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment.tags(Collection<Tag> tags) Create tags for cross-account attachment.tags(Consumer<Tag.Builder>... tags) Create tags for cross-account attachment.Create tags for cross-account attachment.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
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 list 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 list 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 list 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 list 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 list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.
- Parameters:
 resources- The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global 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 list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.
- Parameters:
 resources- The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global 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 list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<Resource>).- Parameters:
 resources- a consumer that will call methods onResource.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
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
Create tags for cross-account attachment.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
 tags- Create tags for 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
Create tags for cross-account attachment.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
 tags- Create tags for 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
Create tags for 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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
 tags- a consumer that will call methods onTag.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
overrideConfiguration
CreateCrossAccountAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 overrideConfiguration- The override configuration.- Returns:
 - This object for method chaining.
 
 - 
overrideConfiguration
CreateCrossAccountAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -