Class UpdatePrimaryEmailAddressRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.workmail.model.WorkMailRequest
-
- software.amazon.awssdk.services.workmail.model.UpdatePrimaryEmailAddressRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdatePrimaryEmailAddressRequest.Builder,UpdatePrimaryEmailAddressRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdatePrimaryEmailAddressRequest extends WorkMailRequest implements ToCopyableBuilder<UpdatePrimaryEmailAddressRequest.Builder,UpdatePrimaryEmailAddressRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdatePrimaryEmailAddressRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdatePrimaryEmailAddressRequest.Builderbuilder()Stringemail()The value of the email to be updated as primary.StringentityId()The user, group, or resource to update.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringorganizationId()The organization that contains the user, group, or resource to update.List<SdkField<?>>sdkFields()static Class<? extends UpdatePrimaryEmailAddressRequest.Builder>serializableBuilderClass()UpdatePrimaryEmailAddressRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
organizationId
public final String organizationId()
The organization that contains the user, group, or resource to update.
- Returns:
- The organization that contains the user, group, or resource to update.
-
entityId
public final String entityId()
The user, group, or resource to update.
The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:
-
Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity name: entity
- Returns:
- The user, group, or resource to update.
The identifier can accept UseriD, ResourceId, or GroupId, Username, Resourcename, or Groupname, or email. The following identity formats are available:
-
Entity ID: 12345678-1234-1234-1234-123456789012, r-0123456789a0123456789b0123456789, or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity name: entity
-
-
-
email
public final String email()
The value of the email to be updated as primary.
- Returns:
- The value of the email to be updated as primary.
-
toBuilder
public UpdatePrimaryEmailAddressRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdatePrimaryEmailAddressRequest.Builder,UpdatePrimaryEmailAddressRequest>- Specified by:
toBuilderin classWorkMailRequest
-
builder
public static UpdatePrimaryEmailAddressRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdatePrimaryEmailAddressRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-