Interface UpdateCrossAccountAttachmentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateCrossAccountAttachmentRequest.Builder,UpdateCrossAccountAttachmentRequest>,GlobalAcceleratorRequest.Builder,SdkBuilder<UpdateCrossAccountAttachmentRequest.Builder,UpdateCrossAccountAttachmentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateCrossAccountAttachmentRequest
public static interface UpdateCrossAccountAttachmentRequest.Builder extends GlobalAcceleratorRequest.Builder, SdkPojo, CopyableBuilder<UpdateCrossAccountAttachmentRequest.Builder,UpdateCrossAccountAttachmentRequest>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
attachmentArn
UpdateCrossAccountAttachmentRequest.Builder attachmentArn(String attachmentArn)
The Amazon Resource Name (ARN) of the cross-account attachment to update.
- Parameters:
attachmentArn- The Amazon Resource Name (ARN) of the cross-account attachment to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateCrossAccountAttachmentRequest.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.
-
addPrincipals
UpdateCrossAccountAttachmentRequest.Builder addPrincipals(Collection<String> addPrincipals)
The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.
To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
- Parameters:
addPrincipals- The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addPrincipals
UpdateCrossAccountAttachmentRequest.Builder addPrincipals(String... addPrincipals)
The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.
To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
- Parameters:
addPrincipals- The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removePrincipals
UpdateCrossAccountAttachmentRequest.Builder removePrincipals(Collection<String> removePrincipals)
The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.
To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
- Parameters:
removePrincipals- The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removePrincipals
UpdateCrossAccountAttachmentRequest.Builder removePrincipals(String... removePrincipals)
The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.
To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
- Parameters:
removePrincipals- The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResources
UpdateCrossAccountAttachmentRequest.Builder addResources(Collection<Resource> addResources)
The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.
To add more than one resource, separate the resource ARNs with commas.
- Parameters:
addResources- The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.To add more than one resource, separate the resource ARNs with commas.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResources
UpdateCrossAccountAttachmentRequest.Builder addResources(Resource... addResources)
The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.
To add more than one resource, separate the resource ARNs with commas.
- Parameters:
addResources- The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.To add more than one resource, separate the resource ARNs with commas.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResources
UpdateCrossAccountAttachmentRequest.Builder addResources(Consumer<Resource.Builder>... addResources)
The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.
To add more than one resource, separate the resource ARNs with commas.
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#addResources(List.) - Parameters:
addResources- 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:
#addResources(java.util.Collection)
-
removeResources
UpdateCrossAccountAttachmentRequest.Builder removeResources(Collection<Resource> removeResources)
The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.
To remove more than one resource, separate the resource ARNs with commas.
- Parameters:
removeResources- The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.To remove more than one resource, separate the resource ARNs with commas.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeResources
UpdateCrossAccountAttachmentRequest.Builder removeResources(Resource... removeResources)
The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.
To remove more than one resource, separate the resource ARNs with commas.
- Parameters:
removeResources- The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.To remove more than one resource, separate the resource ARNs with commas.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeResources
UpdateCrossAccountAttachmentRequest.Builder removeResources(Consumer<Resource.Builder>... removeResources)
The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.
To remove more than one resource, separate the resource ARNs with commas.
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#removeResources(List.) - Parameters:
removeResources- 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:
#removeResources(java.util.Collection)
-
overrideConfiguration
UpdateCrossAccountAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCrossAccountAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-