Class Initiator
- java.lang.Object
-
- software.amazon.awssdk.services.s3.model.Initiator
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Initiator.Builder,Initiator>
@Generated("software.amazon.awssdk:codegen") public final class Initiator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Initiator.Builder,Initiator>
Container element that identifies who initiated the multipart upload.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Initiator.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Initiator.Builder
builder()
String
displayName()
Name of the Principal.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
id()
If the principal is an Amazon Web Services account, it provides the Canonical User ID.List<SdkField<?>>
sdkFields()
static Class<? extends Initiator.Builder>
serializableBuilderClass()
Initiator.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
-
id
public final String id()
If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal is an IAM User, it provides a user ARN value.
Directory buckets - If the principal is an Amazon Web Services account, it provides the Amazon Web Services account ID. If the principal is an IAM User, it provides a user ARN value.
- Returns:
- If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal
is an IAM User, it provides a user ARN value.
Directory buckets - If the principal is an Amazon Web Services account, it provides the Amazon Web Services account ID. If the principal is an IAM User, it provides a user ARN value.
-
displayName
public final String displayName()
Name of the Principal.
This functionality is not supported for directory buckets.
- Returns:
- Name of the Principal.
This functionality is not supported for directory buckets.
-
toBuilder
public Initiator.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Initiator.Builder,Initiator>
-
builder
public static Initiator.Builder builder()
-
serializableBuilderClass
public static Class<? extends Initiator.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.
-
-