@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInvitationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateInvitationsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateInvitationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
An array that lists AWS account IDs, one for each account to send the invitation to.
|
Boolean |
getDisableEmailNotification()
Specifies whether to send an email notification to the root user of each account that the invitation will be sent
to.
|
String |
getMessage()
A custom message to include in the invitation.
|
int |
hashCode() |
Boolean |
isDisableEmailNotification()
Specifies whether to send an email notification to the root user of each account that the invitation will be sent
to.
|
void |
setAccountIds(Collection<String> accountIds)
An array that lists AWS account IDs, one for each account to send the invitation to.
|
void |
setDisableEmailNotification(Boolean disableEmailNotification)
Specifies whether to send an email notification to the root user of each account that the invitation will be sent
to.
|
void |
setMessage(String message)
A custom message to include in the invitation.
|
String |
toString()
Returns a string representation of this object.
|
CreateInvitationsRequest |
withAccountIds(Collection<String> accountIds)
An array that lists AWS account IDs, one for each account to send the invitation to.
|
CreateInvitationsRequest |
withAccountIds(String... accountIds)
An array that lists AWS account IDs, one for each account to send the invitation to.
|
CreateInvitationsRequest |
withDisableEmailNotification(Boolean disableEmailNotification)
Specifies whether to send an email notification to the root user of each account that the invitation will be sent
to.
|
CreateInvitationsRequest |
withMessage(String message)
A custom message to include in the invitation.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getAccountIds()
An array that lists AWS account IDs, one for each account to send the invitation to.
public void setAccountIds(Collection<String> accountIds)
An array that lists AWS account IDs, one for each account to send the invitation to.
accountIds
- An array that lists AWS account IDs, one for each account to send the invitation to.public CreateInvitationsRequest withAccountIds(String... accountIds)
An array that lists AWS account IDs, one for each account to send the invitation to.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- An array that lists AWS account IDs, one for each account to send the invitation to.public CreateInvitationsRequest withAccountIds(Collection<String> accountIds)
An array that lists AWS account IDs, one for each account to send the invitation to.
accountIds
- An array that lists AWS account IDs, one for each account to send the invitation to.public void setDisableEmailNotification(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.
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 Boolean getDisableEmailNotification()
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 CreateInvitationsRequest withDisableEmailNotification(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.
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 Boolean isDisableEmailNotification()
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 void setMessage(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.
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 String getMessage()
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 withMessage(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.
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 String toString()
toString
in class Object
Object.toString()
public CreateInvitationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()