Class AddGroupMemberRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.directoryservicedata.model.DirectoryServiceDataRequest
-
- software.amazon.awssdk.services.directoryservicedata.model.AddGroupMemberRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AddGroupMemberRequest.Builder,AddGroupMemberRequest>
@Generated("software.amazon.awssdk:codegen") public final class AddGroupMemberRequest extends DirectoryServiceDataRequest implements ToCopyableBuilder<AddGroupMemberRequest.Builder,AddGroupMemberRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAddGroupMemberRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddGroupMemberRequest.Builderbuilder()StringclientToken()A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.StringdirectoryId()The identifier (ID) of the directory that's associated with the group.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupName()The name of the group.inthashCode()StringmemberName()TheSAMAccountNameof the user, group, or computer to add as a group member.StringmemberRealm()The domain name that's associated with the group member.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AddGroupMemberRequest.Builder>serializableBuilderClass()AddGroupMemberRequest.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
-
clientToken
public final String clientToken()
A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an
ConflictException.This parameter is optional when using the CLI or SDK.
- Returns:
- A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so
multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an
ConflictException.This parameter is optional when using the CLI or SDK.
-
directoryId
public final String directoryId()
The identifier (ID) of the directory that's associated with the group.
- Returns:
- The identifier (ID) of the directory that's associated with the group.
-
groupName
public final String groupName()
The name of the group.
- Returns:
- The name of the group.
-
memberName
public final String memberName()
The
SAMAccountNameof the user, group, or computer to add as a group member.- Returns:
- The
SAMAccountNameof the user, group, or computer to add as a group member.
-
memberRealm
public final String memberRealm()
The domain name that's associated with the group member. This parameter is required only when adding a member outside of your Managed Microsoft AD domain to a group inside of your Managed Microsoft AD domain. This parameter defaults to the Managed Microsoft AD domain.
This parameter is case insensitive.
- Returns:
- The domain name that's associated with the group member. This parameter is required only when adding a
member outside of your Managed Microsoft AD domain to a group inside of your Managed Microsoft AD domain.
This parameter defaults to the Managed Microsoft AD domain.
This parameter is case insensitive.
-
toBuilder
public AddGroupMemberRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AddGroupMemberRequest.Builder,AddGroupMemberRequest>- Specified by:
toBuilderin classDirectoryServiceDataRequest
-
builder
public static AddGroupMemberRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AddGroupMemberRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-