@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3BucketOwner extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the Amazon Web Services account that owns an S3 bucket.
Constructor and Description |
---|
S3BucketOwner() |
Modifier and Type | Method and Description |
---|---|
S3BucketOwner |
clone() |
boolean |
equals(Object obj) |
String |
getDisplayName()
The display name of the account that owns the bucket.
|
String |
getId()
The canonical user ID for the account that owns the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisplayName(String displayName)
The display name of the account that owns the bucket.
|
void |
setId(String id)
The canonical user ID for the account that owns the bucket.
|
String |
toString()
Returns a string representation of this object.
|
S3BucketOwner |
withDisplayName(String displayName)
The display name of the account that owns the bucket.
|
S3BucketOwner |
withId(String id)
The canonical user ID for the account that owns the bucket.
|
public void setDisplayName(String displayName)
The display name of the account that owns the bucket.
displayName
- The display name of the account that owns the bucket.public String getDisplayName()
The display name of the account that owns the bucket.
public S3BucketOwner withDisplayName(String displayName)
The display name of the account that owns the bucket.
displayName
- The display name of the account that owns the bucket.public void setId(String id)
The canonical user ID for the account that owns the bucket.
id
- The canonical user ID for the account that owns the bucket.public String getId()
The canonical user ID for the account that owns the bucket.
public S3BucketOwner withId(String id)
The canonical user ID for the account that owns the bucket.
id
- The canonical user ID for the account that owns the bucket.public String toString()
toString
in class Object
Object.toString()
public S3BucketOwner clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.