Interface CreateCrossAccountAttachmentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCrossAccountAttachmentRequest.Builder,CreateCrossAccountAttachmentRequest>,GlobalAcceleratorRequest.Builder,SdkBuilder<CreateCrossAccountAttachmentRequest.Builder,CreateCrossAccountAttachmentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCrossAccountAttachmentRequest
public static interface CreateCrossAccountAttachmentRequest.Builder extends GlobalAcceleratorRequest.Builder, SdkPojo, CopyableBuilder<CreateCrossAccountAttachmentRequest.Builder,CreateCrossAccountAttachmentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCrossAccountAttachmentRequest.BuilderidempotencyToken(String idempotencyToken)A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.CreateCrossAccountAttachmentRequest.Buildername(String name)The name of the cross-account attachment.CreateCrossAccountAttachmentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCrossAccountAttachmentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCrossAccountAttachmentRequest.Builderprincipals(String... principals)The principals to include in the cross-account attachment.CreateCrossAccountAttachmentRequest.Builderprincipals(Collection<String> principals)The principals to include in the cross-account attachment.CreateCrossAccountAttachmentRequest.Builderresources(Collection<Resource> resources)The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment.CreateCrossAccountAttachmentRequest.Builderresources(Consumer<Resource.Builder>... resources)The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment.CreateCrossAccountAttachmentRequest.Builderresources(Resource... resources)The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment.CreateCrossAccountAttachmentRequest.Buildertags(Collection<Tag> tags)Add tags for a cross-account attachment.CreateCrossAccountAttachmentRequest.Buildertags(Consumer<Tag.Builder>... tags)Add tags for a cross-account attachment.CreateCrossAccountAttachmentRequest.Buildertags(Tag... tags)Add tags for a cross-account attachment.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateCrossAccountAttachmentRequest.Builder name(String 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
CreateCrossAccountAttachmentRequest.Builder principals(Collection<String> 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
CreateCrossAccountAttachmentRequest.Builder principals(String... 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
CreateCrossAccountAttachmentRequest.Builder resources(Collection<Resource> 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
CreateCrossAccountAttachmentRequest.Builder resources(Resource... 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
CreateCrossAccountAttachmentRequest.Builder resources(Consumer<Resource.Builder>... 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 theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resources(List.) - 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:
#resources(java.util.Collection)
-
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
CreateCrossAccountAttachmentRequest.Builder tags(Collection<Tag> 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
CreateCrossAccountAttachmentRequest.Builder tags(Tag... 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
CreateCrossAccountAttachmentRequest.Builder tags(Consumer<Tag.Builder>... 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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateCrossAccountAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCrossAccountAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-