public NetworkRouteDestination withCoreNetworkAttachmentId(String coreNetworkAttachmentId) {
        setCoreNetworkAttachmentId(coreNetworkAttachmentId);
        return this;
    }
<p>
The ID of a core network attachment.
</p>

@param coreNetworkAttachmentId
       The ID of a core network 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/NetworkRouteDestination.java