public String getState() {
        return this.state;
    }
<p>
The state of the metadata option changes.
</p>
<p>
<code>pending</code> - The metadata options are being updated and the instance is not ready to process metadata
traffic with the new selection.
</p>
<p>
<code>applied</code> - The metadata options have been successfully applied on the instance.
</p>

@return The state of the metadata option changes.</p>
        <p>
        <code>pending</code> - The metadata options are being updated and the instance is not ready to process
        metadata traffic with the new selection.
        </p>
        <p>
        <code>applied</code> - The metadata options have been successfully applied on the instance.
@see LaunchTemplateInstanceMetadataOptionsState
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/LaunchTemplateInstanceMetadataOptions.java