@Generated(value="software.amazon.awssdk:codegen") public final class CreateInvitationsRequest extends Macie2Request implements ToCopyableBuilder<CreateInvitationsRequest.Builder,CreateInvitationsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateInvitationsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
accountIds()
An array that lists AWS account IDs, one for each account to send the invitation to.
|
static CreateInvitationsRequest.Builder |
builder() |
Boolean |
disableEmailNotification()
Specifies whether to send an email notification to the root user of each account that the invitation will be sent
to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccountIds()
Returns true if the AccountIds property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
message()
A custom message to include in the invitation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateInvitationsRequest.Builder> |
serializableBuilderClass() |
CreateInvitationsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasAccountIds()
public List<String> accountIds()
An array that lists AWS account IDs, one for each account to send the invitation to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAccountIds() to see if a value was sent in this field.
public Boolean disableEmailNotification()
Specifies whether to send an email notification to the root user of each account that the invitation will be sent to. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. To send an email notification to the root user of each account, set this value to true.
public String message()
A custom message to include in the invitation. Amazon Macie adds this message to the standard content that it sends for an invitation.
public CreateInvitationsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateInvitationsRequest.Builder,CreateInvitationsRequest>toBuilder in class Macie2Requestpublic static CreateInvitationsRequest.Builder builder()
public static Class<? extends CreateInvitationsRequest.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.