com.amazonaws.services.ec2.model
Class ImportInstanceTaskDetails

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ImportInstanceTaskDetails
All Implemented Interfaces:
java.io.Serializable

public class ImportInstanceTaskDetails
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ImportInstanceTaskDetails()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
           
 java.lang.String getInstanceId()
           
 java.lang.String getPlatform()
          The instance operating system.
 java.util.List<ImportInstanceVolumeDetailItem> getVolumes()
           
 int hashCode()
           
 void setDescription(java.lang.String description)
           
 void setInstanceId(java.lang.String instanceId)
           
 void setPlatform(PlatformValues platform)
          The instance operating system.
 void setPlatform(java.lang.String platform)
          The instance operating system.
 void setVolumes(java.util.Collection<ImportInstanceVolumeDetailItem> volumes)
           
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ImportInstanceTaskDetails withDescription(java.lang.String description)
           Returns a reference to this object so that method calls can be chained together.
 ImportInstanceTaskDetails withInstanceId(java.lang.String instanceId)
           Returns a reference to this object so that method calls can be chained together.
 ImportInstanceTaskDetails withPlatform(PlatformValues platform)
          The instance operating system.
 ImportInstanceTaskDetails withPlatform(java.lang.String platform)
          The instance operating system.
 ImportInstanceTaskDetails withVolumes(java.util.Collection<ImportInstanceVolumeDetailItem> volumes)
           Returns a reference to this object so that method calls can be chained together.
 ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... volumes)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportInstanceTaskDetails

public ImportInstanceTaskDetails()
Method Detail

getVolumes

public java.util.List<ImportInstanceVolumeDetailItem> getVolumes()
Returns:

setVolumes

public void setVolumes(java.util.Collection<ImportInstanceVolumeDetailItem> volumes)
Parameters:
volumes -

withVolumes

public ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... volumes)

Returns a reference to this object so that method calls can be chained together.

Parameters:
volumes -
Returns:
A reference to this updated object so that method calls can be chained together.

withVolumes

public ImportInstanceTaskDetails withVolumes(java.util.Collection<ImportInstanceVolumeDetailItem> volumes)

Returns a reference to this object so that method calls can be chained together.

Parameters:
volumes -
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceId

public java.lang.String getInstanceId()
Returns:

setInstanceId

public void setInstanceId(java.lang.String instanceId)
Parameters:
instanceId -

withInstanceId

public ImportInstanceTaskDetails withInstanceId(java.lang.String instanceId)

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId -
Returns:
A reference to this updated object so that method calls can be chained together.

getPlatform

public java.lang.String getPlatform()
The instance operating system.

Constraints:
Allowed Values: Windows

Returns:
The instance operating system.
See Also:
PlatformValues

setPlatform

public void setPlatform(java.lang.String platform)
The instance operating system.

Constraints:
Allowed Values: Windows

Parameters:
platform - The instance operating system.
See Also:
PlatformValues

withPlatform

public ImportInstanceTaskDetails withPlatform(java.lang.String platform)
The instance operating system.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Windows

Parameters:
platform - The instance operating system.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
PlatformValues

setPlatform

public void setPlatform(PlatformValues platform)
The instance operating system.

Constraints:
Allowed Values: Windows

Parameters:
platform - The instance operating system.
See Also:
PlatformValues

withPlatform

public ImportInstanceTaskDetails withPlatform(PlatformValues platform)
The instance operating system.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Windows

Parameters:
platform - The instance operating system.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
PlatformValues

getDescription

public java.lang.String getDescription()
Returns:

setDescription

public void setDescription(java.lang.String description)
Parameters:
description -

withDescription

public ImportInstanceTaskDetails withDescription(java.lang.String description)

Returns a reference to this object so that method calls can be chained together.

Parameters:
description -
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.