@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 Amazon Web Services account IDs, one for each account to send the invitation to.
|
Boolean |
getDisableEmailNotification()
Specifies whether to send the invitation as an email message.
|
String |
getMessage()
Custom text to include in the email message that contains the invitation.
|
int |
hashCode() |
Boolean |
isDisableEmailNotification()
Specifies whether to send the invitation as an email message.
|
void |
setAccountIds(Collection<String> accountIds)
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
|
void |
setDisableEmailNotification(Boolean disableEmailNotification)
Specifies whether to send the invitation as an email message.
|
void |
setMessage(String message)
Custom text to include in the email message that contains the invitation.
|
String |
toString()
Returns a string representation of this object.
|
CreateInvitationsRequest |
withAccountIds(Collection<String> accountIds)
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
|
CreateInvitationsRequest |
withAccountIds(String... accountIds)
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
|
CreateInvitationsRequest |
withDisableEmailNotification(Boolean disableEmailNotification)
Specifies whether to send the invitation as an email message.
|
CreateInvitationsRequest |
withMessage(String message)
Custom text to include in the email message that contains 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 Amazon Web Services account IDs, one for each account to send the invitation to.
public void setAccountIds(Collection<String> accountIds)
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
accountIds
- An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.public CreateInvitationsRequest withAccountIds(String... accountIds)
An array that lists Amazon Web Services 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 Amazon Web Services account IDs, one for each account to send the invitation to.public CreateInvitationsRequest withAccountIds(Collection<String> accountIds)
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
accountIds
- An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.public void setDisableEmailNotification(Boolean disableEmailNotification)
Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
disableEmailNotification
- Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends
the invitation (as an email message) to the email address that you specified for the recipient's account
when you associated the account with your account. The default value is false.public Boolean getDisableEmailNotification()
Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
public CreateInvitationsRequest withDisableEmailNotification(Boolean disableEmailNotification)
Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
disableEmailNotification
- Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends
the invitation (as an email message) to the email address that you specified for the recipient's account
when you associated the account with your account. The default value is false.public Boolean isDisableEmailNotification()
Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
public void setMessage(String message)
Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.
message
- Custom text to include in the email message that contains the invitation. The text can contain as many as
80 alphanumeric characters.public String getMessage()
Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.
public CreateInvitationsRequest withMessage(String message)
Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.
message
- Custom text to include in the email message that contains the invitation. The text can contain as many as
80 alphanumeric characters.public String toString()
toString
in class Object
Object.toString()
public CreateInvitationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()