com.amazonaws.services.ec2.model
Class DescribeSnapshotAttributeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeSnapshotAttributeRequest

public class DescribeSnapshotAttributeRequest
extends AmazonWebServiceRequest

A request to describe an attribute of an EBS snapshot. Only one attribute can be specified per request.


Constructor Summary
DescribeSnapshotAttributeRequest()
           
 
Method Summary
 String getAttribute()
          The name of the EBS attribute to describe.
 String getSnapshotId()
          The ID of the EBS snapshot whose attribute is being described.
 void setAttribute(String attribute)
          The name of the EBS attribute to describe.
 void setSnapshotId(String snapshotId)
          The ID of the EBS snapshot whose attribute is being described.
 String toString()
           
 DescribeSnapshotAttributeRequest withAttribute(String attribute)
          The name of the EBS attribute to describe.
 DescribeSnapshotAttributeRequest withSnapshotId(String snapshotId)
          The ID of the EBS snapshot whose attribute is being described.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeSnapshotAttributeRequest

public DescribeSnapshotAttributeRequest()
Method Detail

getSnapshotId

public String getSnapshotId()
The ID of the EBS snapshot whose attribute is being described.

Returns:
The ID of the EBS snapshot whose attribute is being described.

setSnapshotId

public void setSnapshotId(String snapshotId)
The ID of the EBS snapshot whose attribute is being described.

Parameters:
snapshotId - The ID of the EBS snapshot whose attribute is being described.

withSnapshotId

public DescribeSnapshotAttributeRequest withSnapshotId(String snapshotId)
The ID of the EBS snapshot whose attribute is being described.

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

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

getAttribute

public String getAttribute()
The name of the EBS attribute to describe.

Available attribute names: createVolumePermission

Returns:
The name of the EBS attribute to describe.

Available attribute names: createVolumePermission


setAttribute

public void setAttribute(String attribute)
The name of the EBS attribute to describe.

Available attribute names: createVolumePermission

Parameters:
attribute - The name of the EBS attribute to describe.

Available attribute names: createVolumePermission


withAttribute

public DescribeSnapshotAttributeRequest withAttribute(String attribute)
The name of the EBS attribute to describe.

Available attribute names: createVolumePermission

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

Parameters:
attribute - The name of the EBS attribute to describe.

Available attribute names: createVolumePermission

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

toString

public String toString()
Overrides:
toString in class Object


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