Package com.amazonaws.services.ec2.model
Class InstanceExportDetails
- java.lang.Object
-
- com.amazonaws.services.ec2.model.InstanceExportDetails
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class InstanceExportDetails extends Object implements Serializable, Cloneable
Describes an instance to export.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceExportDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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; useful for testing and debugging.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.
-
-
-
Method Detail
-
setInstanceId
public void setInstanceId(String instanceId)
The ID of the resource being exported.
- Parameters:
instanceId
- The ID of the resource being exported.
-
getInstanceId
public String getInstanceId()
The ID of the resource being exported.
- Returns:
- The ID of the resource being exported.
-
withInstanceId
public InstanceExportDetails withInstanceId(String instanceId)
The ID of the resource being exported.
- Parameters:
instanceId
- The ID of the resource being exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetEnvironment
public void setTargetEnvironment(String targetEnvironment)
The target virtualization environment.
- Parameters:
targetEnvironment
- The target virtualization environment.- See Also:
ExportEnvironment
-
getTargetEnvironment
public String getTargetEnvironment()
The target virtualization environment.
- Returns:
- The target virtualization environment.
- See Also:
ExportEnvironment
-
withTargetEnvironment
public InstanceExportDetails withTargetEnvironment(String targetEnvironment)
The target virtualization environment.
- Parameters:
targetEnvironment
- The target virtualization environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportEnvironment
-
setTargetEnvironment
public void setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
- Parameters:
targetEnvironment
- The target virtualization environment.- See Also:
ExportEnvironment
-
withTargetEnvironment
public InstanceExportDetails withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
- Parameters:
targetEnvironment
- The target virtualization environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExportEnvironment
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceExportDetails clone()
-
-