@Generated(value="software.amazon.awssdk:codegen") public final class CreateMemberRequest extends Macie2Request implements ToCopyableBuilder<CreateMemberRequest.Builder,CreateMemberRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateMemberRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
AccountDetail |
account()
The details for the account to associate with the master account.
|
static CreateMemberRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateMemberRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
|
CreateMemberRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic AccountDetail account()
The details for the account to associate with the master account.
public boolean hasTags()
public Map<String,String> tags()
A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
public CreateMemberRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateMemberRequest.Builder,CreateMemberRequest>toBuilder in class Macie2Requestpublic static CreateMemberRequest.Builder builder()
public static Class<? extends CreateMemberRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.