Class Owner
- java.lang.Object
-
- software.amazon.awssdk.services.s3.model.Owner
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Owner.Builder,Owner>
@Generated("software.amazon.awssdk:codegen") public final class Owner extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Owner.Builder,Owner>
Container for the owner's display name and ID.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOwner.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Owner.Builderbuilder()StringdisplayName()Container for the display name of the owner.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()Container for the ID of the owner.List<SdkField<?>>sdkFields()static Class<? extends Owner.Builder>serializableBuilderClass()Owner.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
displayName
public final String displayName()
Container for the display name of the owner. This value is only supported in the following Amazon Web Services Regions:
-
US East (N. Virginia)
-
US West (N. California)
-
US West (Oregon)
-
Asia Pacific (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Europe (Ireland)
-
South America (São Paulo)
This functionality is not supported for directory buckets.
- Returns:
- Container for the display name of the owner. This value is only supported in the following Amazon Web
Services Regions:
-
US East (N. Virginia)
-
US West (N. California)
-
US West (Oregon)
-
Asia Pacific (Singapore)
-
Asia Pacific (Sydney)
-
Asia Pacific (Tokyo)
-
Europe (Ireland)
-
South America (São Paulo)
This functionality is not supported for directory buckets.
-
-
-
id
public final String id()
Container for the ID of the owner.
- Returns:
- Container for the ID of the owner.
-
toBuilder
public Owner.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Owner.Builder,Owner>
-
builder
public static Owner.Builder builder()
-
serializableBuilderClass
public static Class<? extends Owner.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-