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 interface
Owner.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Owner.Builder
builder()
String
displayName()
Container for the display name of the owner.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
Container for the ID of the owner.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends Owner.Builder>
serializableBuilderClass()
Owner.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-