com.amazonaws.services.ec2.model
Class DescribeSnapshotAttributeResult

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

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

See Also:
Serialized Form

Constructor Summary
DescribeSnapshotAttributeResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<CreateVolumePermission> getCreateVolumePermissions()
          A list of permissions for creating volumes from the snapshot.
 java.util.List<ProductCode> getProductCodes()
          A list of product codes.
 java.lang.String getSnapshotId()
          The ID of the Amazon EBS snapshot.
 int hashCode()
           
 void setCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
          A list of permissions for creating volumes from the snapshot.
 void setProductCodes(java.util.Collection<ProductCode> productCodes)
          A list of product codes.
 void setSnapshotId(java.lang.String snapshotId)
          The ID of the Amazon EBS snapshot.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeSnapshotAttributeResult withCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
          A list of permissions for creating volumes from the snapshot.
 DescribeSnapshotAttributeResult withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions)
          A list of permissions for creating volumes from the snapshot.
 DescribeSnapshotAttributeResult withProductCodes(java.util.Collection<ProductCode> productCodes)
          A list of product codes.
 DescribeSnapshotAttributeResult withProductCodes(ProductCode... productCodes)
          A list of product codes.
 DescribeSnapshotAttributeResult withSnapshotId(java.lang.String snapshotId)
          The ID of the Amazon EBS snapshot.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeSnapshotAttributeResult

public DescribeSnapshotAttributeResult()
Method Detail

getSnapshotId

public java.lang.String getSnapshotId()
The ID of the Amazon EBS snapshot.

Returns:
The ID of the Amazon EBS snapshot.

setSnapshotId

public void setSnapshotId(java.lang.String snapshotId)
The ID of the Amazon EBS snapshot.

Parameters:
snapshotId - The ID of the Amazon EBS snapshot.

withSnapshotId

public DescribeSnapshotAttributeResult withSnapshotId(java.lang.String snapshotId)
The ID of the Amazon EBS snapshot.

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

Parameters:
snapshotId - The ID of the Amazon EBS snapshot.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreateVolumePermissions

public java.util.List<CreateVolumePermission> getCreateVolumePermissions()
A list of permissions for creating volumes from the snapshot.

Returns:
A list of permissions for creating volumes from the snapshot.

setCreateVolumePermissions

public void setCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
A list of permissions for creating volumes from the snapshot.

Parameters:
createVolumePermissions - A list of permissions for creating volumes from the snapshot.

withCreateVolumePermissions

public DescribeSnapshotAttributeResult withCreateVolumePermissions(CreateVolumePermission... createVolumePermissions)
A list of permissions for creating volumes from the snapshot.

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

Parameters:
createVolumePermissions - A list of permissions for creating volumes from the snapshot.
Returns:
A reference to this updated object so that method calls can be chained together.

withCreateVolumePermissions

public DescribeSnapshotAttributeResult withCreateVolumePermissions(java.util.Collection<CreateVolumePermission> createVolumePermissions)
A list of permissions for creating volumes from the snapshot.

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

Parameters:
createVolumePermissions - A list of permissions for creating volumes from the snapshot.
Returns:
A reference to this updated object so that method calls can be chained together.

getProductCodes

public java.util.List<ProductCode> getProductCodes()
A list of product codes.

Returns:
A list of product codes.

setProductCodes

public void setProductCodes(java.util.Collection<ProductCode> productCodes)
A list of product codes.

Parameters:
productCodes - A list of product codes.

withProductCodes

public DescribeSnapshotAttributeResult withProductCodes(ProductCode... productCodes)
A list of product codes.

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

Parameters:
productCodes - A list of product codes.
Returns:
A reference to this updated object so that method calls can be chained together.

withProductCodes

public DescribeSnapshotAttributeResult withProductCodes(java.util.Collection<ProductCode> productCodes)
A list of product codes.

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

Parameters:
productCodes - A list of product codes.
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.