@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceExportDetails extends Object implements Serializable, Cloneable
Describes an instance to export.
Constructor and Description |
---|
InstanceExportDetails() |
Modifier and Type | Method and Description |
---|---|
InstanceExportDetails |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The ID of the resource being exported.
|
String |
getTargetEnvironment()
The target virtualization environment.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the resource being exported.
|
void |
setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
void |
setTargetEnvironment(String targetEnvironment)
The target virtualization environment.
|
String |
toString()
Returns a string representation of this object.
|
InstanceExportDetails |
withInstanceId(String instanceId)
The ID of the resource being exported.
|
InstanceExportDetails |
withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
InstanceExportDetails |
withTargetEnvironment(String targetEnvironment)
The target virtualization environment.
|
public void setInstanceId(String instanceId)
The ID of the resource being exported.
instanceId
- The ID of the resource being exported.public String getInstanceId()
The ID of the resource being exported.
public InstanceExportDetails withInstanceId(String instanceId)
The ID of the resource being exported.
instanceId
- The ID of the resource being exported.public void setTargetEnvironment(String targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public String getTargetEnvironment()
The target virtualization environment.
ExportEnvironment
public InstanceExportDetails withTargetEnvironment(String targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public void setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public InstanceExportDetails withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public String toString()
toString
in class Object
Object.toString()
public InstanceExportDetails clone()