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 InstanceExportDetailsclone()booleanequals(Object obj)StringgetInstanceId()The ID of the resource being exported.StringgetTargetEnvironment()The target virtualization environment.inthashCode()voidsetInstanceId(String instanceId)The ID of the resource being exported.voidsetTargetEnvironment(ExportEnvironment targetEnvironment)The target virtualization environment.voidsetTargetEnvironment(String targetEnvironment)The target virtualization environment.StringtoString()Returns a string representation of this object; useful for testing and debugging.InstanceExportDetailswithInstanceId(String instanceId)The ID of the resource being exported.InstanceExportDetailswithTargetEnvironment(ExportEnvironment targetEnvironment)The target virtualization environment.InstanceExportDetailswithTargetEnvironment(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceExportDetails clone()
-
-