public VpcAttachment withAttachment(Attachment attachment) {
        setAttachment(attachment);
        return this;
    }
<p>
Provides details about the VPC attachment.
</p>

@param attachment
       Provides details about the VPC attachment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/VpcAttachment.java