Class CrossAccountAttachmentReference.Builder
java.lang.Object
software.amazon.awscdk.services.globalaccelerator.CrossAccountAttachmentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CrossAccountAttachmentReference>
- Enclosing interface:
CrossAccountAttachmentReference
@Stability(Stable)
public static final class CrossAccountAttachmentReference.Builder
extends Object
implements software.amazon.jsii.Builder<CrossAccountAttachmentReference>
A builder for
CrossAccountAttachmentReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentArn
(String attachmentArn) Sets the value ofCrossAccountAttachmentReference.getAttachmentArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentArn
@Stability(Stable) public CrossAccountAttachmentReference.Builder attachmentArn(String attachmentArn) Sets the value ofCrossAccountAttachmentReference.getAttachmentArn()
- Parameters:
attachmentArn
- The AttachmentArn of the CrossAccountAttachment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CrossAccountAttachmentReference>
- Returns:
- a new instance of
CrossAccountAttachmentReference
- Throws:
NullPointerException
- if any required attribute was not provided
-