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>
End of support notice: Beginning October 1, 2025, Amazon S3 will stop returning
DisplayName. Update your applications to use canonical IDs (unique identifier for Amazon Web Services accounts), Amazon Web Services account ID (12 digit identifier) or IAM ARNs (full resource naming) as a direct replacement ofDisplayName.This change affects the following Amazon Web Services Regions: US East (N. Virginia) Region, US West (N. California) Region, US West (Oregon) Region, Asia Pacific (Singapore) Region, Asia Pacific (Sydney) Region, Asia Pacific (Tokyo) Region, Europe (Ireland) Region, and South America (São Paulo) Region.
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.Map<String,SdkField<?>>sdkFieldNameToField()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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-