Class GetMailboxDetailsRequest
- 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.GetMailboxDetailsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetMailboxDetailsRequest.Builder,GetMailboxDetailsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetMailboxDetailsRequest extends WorkMailRequest implements ToCopyableBuilder<GetMailboxDetailsRequest.Builder,GetMailboxDetailsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetMailboxDetailsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetMailboxDetailsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringorganizationId()The identifier for the organization that contains the user whose mailbox details are being requested.List<SdkField<?>>sdkFields()static Class<? extends GetMailboxDetailsRequest.Builder>serializableBuilderClass()GetMailboxDetailsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()The identifier for the user whose mailbox details are being requested.-
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 identifier for the organization that contains the user whose mailbox details are being requested.
- Returns:
- The identifier for the organization that contains the user whose mailbox details are being requested.
-
userId
public final String userId()
The identifier for the user whose mailbox details are being requested.
The identifier can be the UserId, Username, or email. The following identity formats are available:
-
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: user@domain.tld
-
User name: user
- Returns:
- The identifier for the user whose mailbox details are being requested.
The identifier can be the UserId, Username, or email. The following identity formats are available:
-
User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: user@domain.tld
-
User name: user
-
-
-
toBuilder
public GetMailboxDetailsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetMailboxDetailsRequest.Builder,GetMailboxDetailsRequest>- Specified by:
toBuilderin classWorkMailRequest
-
builder
public static GetMailboxDetailsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetMailboxDetailsRequest.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
-
-