@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyInstanceMetadataOptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ModifyInstanceMetadataOptionsResult() |
Modifier and Type | Method and Description |
---|---|
ModifyInstanceMetadataOptionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the instance.
|
InstanceMetadataOptionsResponse |
getInstanceMetadataOptions()
The metadata options for the instance.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setInstanceMetadataOptions(InstanceMetadataOptionsResponse instanceMetadataOptions)
The metadata options for the instance.
|
String |
toString()
Returns a string representation of this object.
|
ModifyInstanceMetadataOptionsResult |
withInstanceId(String instanceId)
The ID of the instance.
|
ModifyInstanceMetadataOptionsResult |
withInstanceMetadataOptions(InstanceMetadataOptionsResponse instanceMetadataOptions)
The metadata options for the instance.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public String getInstanceId()
The ID of the instance.
public ModifyInstanceMetadataOptionsResult withInstanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.public void setInstanceMetadataOptions(InstanceMetadataOptionsResponse instanceMetadataOptions)
The metadata options for the instance.
instanceMetadataOptions
- The metadata options for the instance.public InstanceMetadataOptionsResponse getInstanceMetadataOptions()
The metadata options for the instance.
public ModifyInstanceMetadataOptionsResult withInstanceMetadataOptions(InstanceMetadataOptionsResponse instanceMetadataOptions)
The metadata options for the instance.
instanceMetadataOptions
- The metadata options for the instance.public String toString()
toString
in class Object
Object.toString()
public ModifyInstanceMetadataOptionsResult clone()
Copyright © 2025. All rights reserved.