public Instance withMetadataOptions(InstanceMetadataOptions metadataOptions) {
        setMetadataOptions(metadataOptions);
        return this;
    }
<p>
The metadata options for the Amazon Lightsail instance.
</p>

@param metadataOptions
       The metadata options for the Amazon Lightsail instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/Instance.java