public class InstanceExportDetails
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an instance to export.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
instanceId
The ID of the resource being exported.
|
private java.lang.String |
targetEnvironment
The target virtualization environment.
|
Constructor and Description |
---|
InstanceExportDetails() |
Modifier and Type | Method and Description |
---|---|
InstanceExportDetails |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The ID of the resource being exported.
|
java.lang.String |
getTargetEnvironment()
The target virtualization environment.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The ID of the resource being exported.
|
void |
setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
void |
setTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceExportDetails |
withInstanceId(java.lang.String instanceId)
The ID of the resource being exported.
|
InstanceExportDetails |
withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
InstanceExportDetails |
withTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.
|
private java.lang.String instanceId
The ID of the resource being exported.
private java.lang.String targetEnvironment
The target virtualization environment.
public void setInstanceId(java.lang.String instanceId)
The ID of the resource being exported.
instanceId
- The ID of the resource being exported.public java.lang.String getInstanceId()
The ID of the resource being exported.
public InstanceExportDetails withInstanceId(java.lang.String instanceId)
The ID of the resource being exported.
instanceId
- The ID of the resource being exported.public void setTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.
targetEnvironment
- The target virtualization environment.ExportEnvironment
public java.lang.String getTargetEnvironment()
The target virtualization environment.
ExportEnvironment
public InstanceExportDetails withTargetEnvironment(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public InstanceExportDetails clone()
clone
in class java.lang.Object