@Generated(value="com.ibm.cos.v2:codegen") public final class Initiator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Initiator.Builder,Initiator>
Container element that identifies who initiated the multipart upload.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Initiator.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Initiator.Builder |
builder() |
String |
displayName()
Name of the Principal.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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.
|
Map<String,SdkField<?>> |
sdkFieldNameToField() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Initiator.Builder> |
serializableBuilderClass() |
Initiator.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
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.
public final String displayName()
Name of the Principal.
This functionality is not supported for directory buckets.
This functionality is not supported for directory buckets.
public Initiator.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Initiator.Builder,Initiator>public static Initiator.Builder builder()
public static Class<? extends Initiator.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojoSdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
equalsBySdkFields in interface SdkPojoobj - the object to be compared withpublic final String toString()
public final Map<String,SdkField<?>> sdkFieldNameToField()
sdkFieldNameToField in interface SdkPojoCopyright © 2026. All rights reserved.