Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class RevokeSnapshotAccessRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.RevokeSnapshotAccessRequest
All Implemented Interfaces:
Serializable

public class RevokeSnapshotAccessRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the RevokeSnapshotAccess operation.

Removes the ability of the specified AWS customer account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Management Guide .

See Also:
AmazonRedshift.revokeSnapshotAccess(RevokeSnapshotAccessRequest), Serialized Form

Constructor Summary
RevokeSnapshotAccessRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAccountWithRestoreAccess()
          The identifier of the AWS customer account that can no longer restore the specified snapshot.
 String getSnapshotIdentifier()
          The identifier of the snapshot that the account can no longer access.
 int hashCode()
           
 void setAccountWithRestoreAccess(String accountWithRestoreAccess)
          The identifier of the AWS customer account that can no longer restore the specified snapshot.
 void setSnapshotIdentifier(String snapshotIdentifier)
          The identifier of the snapshot that the account can no longer access.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RevokeSnapshotAccessRequest withAccountWithRestoreAccess(String accountWithRestoreAccess)
          The identifier of the AWS customer account that can no longer restore the specified snapshot.
 RevokeSnapshotAccessRequest withSnapshotIdentifier(String snapshotIdentifier)
          The identifier of the snapshot that the account can no longer access.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RevokeSnapshotAccessRequest

public RevokeSnapshotAccessRequest()
Method Detail

getSnapshotIdentifier

public String getSnapshotIdentifier()
The identifier of the snapshot that the account can no longer access.

Returns:
The identifier of the snapshot that the account can no longer access.

setSnapshotIdentifier

public void setSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the account can no longer access.

Parameters:
snapshotIdentifier - The identifier of the snapshot that the account can no longer access.

withSnapshotIdentifier

public RevokeSnapshotAccessRequest withSnapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the account can no longer access.

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

Parameters:
snapshotIdentifier - The identifier of the snapshot that the account can no longer access.

getAccountWithRestoreAccess

public String getAccountWithRestoreAccess()
The identifier of the AWS customer account that can no longer restore the specified snapshot.

Returns:
The identifier of the AWS customer account that can no longer restore the specified snapshot.

setAccountWithRestoreAccess

public void setAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account that can no longer restore the specified snapshot.

Parameters:
accountWithRestoreAccess - The identifier of the AWS customer account that can no longer restore the specified snapshot.

withAccountWithRestoreAccess

public RevokeSnapshotAccessRequest withAccountWithRestoreAccess(String accountWithRestoreAccess)
The identifier of the AWS customer account that can no longer restore the specified snapshot.

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

Parameters:
accountWithRestoreAccess - The identifier of the AWS customer account that can no longer restore the specified snapshot.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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