@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBucketAccessKeysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBucketAccessKeysResult() |
Modifier and Type | Method and Description |
---|---|
GetBucketAccessKeysResult |
clone() |
boolean |
equals(Object obj) |
List<AccessKey> |
getAccessKeys()
An object that describes the access keys for the specified bucket.
|
int |
hashCode() |
void |
setAccessKeys(Collection<AccessKey> accessKeys)
An object that describes the access keys for the specified bucket.
|
String |
toString()
Returns a string representation of this object.
|
GetBucketAccessKeysResult |
withAccessKeys(AccessKey... accessKeys)
An object that describes the access keys for the specified bucket.
|
GetBucketAccessKeysResult |
withAccessKeys(Collection<AccessKey> accessKeys)
An object that describes the access keys for the specified bucket.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccessKey> getAccessKeys()
An object that describes the access keys for the specified bucket.
public void setAccessKeys(Collection<AccessKey> accessKeys)
An object that describes the access keys for the specified bucket.
accessKeys
- An object that describes the access keys for the specified bucket.public GetBucketAccessKeysResult withAccessKeys(AccessKey... accessKeys)
An object that describes the access keys for the specified bucket.
NOTE: This method appends the values to the existing list (if any). Use
setAccessKeys(java.util.Collection)
or withAccessKeys(java.util.Collection)
if you want to
override the existing values.
accessKeys
- An object that describes the access keys for the specified bucket.public GetBucketAccessKeysResult withAccessKeys(Collection<AccessKey> accessKeys)
An object that describes the access keys for the specified bucket.
accessKeys
- An object that describes the access keys for the specified bucket.public String toString()
toString
in class Object
Object.toString()
public GetBucketAccessKeysResult clone()