Class CreateUserRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.workdocs.model.WorkDocsRequest
-
- software.amazon.awssdk.services.workdocs.model.CreateUserRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateUserRequest extends WorkDocsRequest implements ToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CreateUserRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
authenticationToken()
Amazon WorkDocs authentication token.static CreateUserRequest.Builder
builder()
String
emailAddress()
The email address of the user.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
String
givenName()
The given name of the user.int
hashCode()
String
organizationId()
The ID of the organization.String
password()
The password of the user.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends CreateUserRequest.Builder>
serializableBuilderClass()
StorageRuleType
storageRule()
The amount of storage for the user.String
surname()
The surname of the user.String
timeZoneId()
The time zone ID of the user.CreateUserRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
username()
The login name of the user.-
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 ID of the organization.
- Returns:
- The ID of the organization.
-
username
public final String username()
The login name of the user.
- Returns:
- The login name of the user.
-
emailAddress
public final String emailAddress()
The email address of the user.
- Returns:
- The email address of the user.
-
givenName
public final String givenName()
The given name of the user.
- Returns:
- The given name of the user.
-
surname
public final String surname()
The surname of the user.
- Returns:
- The surname of the user.
-
password
public final String password()
The password of the user.
- Returns:
- The password of the user.
-
timeZoneId
public final String timeZoneId()
The time zone ID of the user.
- Returns:
- The time zone ID of the user.
-
storageRule
public final StorageRuleType storageRule()
The amount of storage for the user.
- Returns:
- The amount of storage for the user.
-
authenticationToken
public final String authenticationToken()
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
- Returns:
- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
-
toBuilder
public CreateUserRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CreateUserRequest.Builder,CreateUserRequest>
- Specified by:
toBuilder
in classWorkDocsRequest
-
builder
public static CreateUserRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateUserRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-