public CrossAccountResource withAttachmentArn(String attachmentArn) {
        setAttachmentArn(attachmentArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the cross-account attachment that specifies the resources (endpoints or CIDR
range) that can be added to accelerators and principals that have permission to add them.
</p>

@param attachmentArn
       The Amazon Resource Name (ARN) of the cross-account attachment that specifies the resources (endpoints or
       CIDR range) that can be added to accelerators and principals that have permission to add them.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/CrossAccountResource.java