@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminCreateUserConfigType extends Object implements Serializable, Cloneable, StructuredPojo
The type of configuration for creating a new user profile.
Constructor and Description |
---|
AdminCreateUserConfigType() |
Modifier and Type | Method and Description |
---|---|
AdminCreateUserConfigType |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowAdminCreateUserOnly()
Set to
True if only the administrator is allowed to create user profiles. |
MessageTemplateType |
getInviteMessageTemplate()
The message template to be used for the welcome message to new users.
|
Integer |
getUnusedAccountValidityDays()
The user account expiration limit, in days, after which the account is no longer usable.
|
int |
hashCode() |
Boolean |
isAllowAdminCreateUserOnly()
Set to
True if only the administrator is allowed to create user profiles. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)
Set to
True if only the administrator is allowed to create user profiles. |
void |
setInviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
|
void |
setUnusedAccountValidityDays(Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which the account is no longer usable.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AdminCreateUserConfigType |
withAllowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)
Set to
True if only the administrator is allowed to create user profiles. |
AdminCreateUserConfigType |
withInviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
|
AdminCreateUserConfigType |
withUnusedAccountValidityDays(Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which the account is no longer usable.
|
public void setAllowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)
Set to True
if only the administrator is allowed to create user profiles. Set to False
if users can sign themselves up via an app.
allowAdminCreateUserOnly
- Set to True
if only the administrator is allowed to create user profiles. Set to
False
if users can sign themselves up via an app.public Boolean getAllowAdminCreateUserOnly()
Set to True
if only the administrator is allowed to create user profiles. Set to False
if users can sign themselves up via an app.
True
if only the administrator is allowed to create user profiles. Set to
False
if users can sign themselves up via an app.public AdminCreateUserConfigType withAllowAdminCreateUserOnly(Boolean allowAdminCreateUserOnly)
Set to True
if only the administrator is allowed to create user profiles. Set to False
if users can sign themselves up via an app.
allowAdminCreateUserOnly
- Set to True
if only the administrator is allowed to create user profiles. Set to
False
if users can sign themselves up via an app.public Boolean isAllowAdminCreateUserOnly()
Set to True
if only the administrator is allowed to create user profiles. Set to False
if users can sign themselves up via an app.
True
if only the administrator is allowed to create user profiles. Set to
False
if users can sign themselves up via an app.public void setUnusedAccountValidityDays(Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which the account is no longer usable. To reset the account
after that time limit, you must call AdminCreateUser
again, specifying "RESEND"
for the
MessageAction
parameter. The default value for this parameter is 7.
unusedAccountValidityDays
- The user account expiration limit, in days, after which the account is no longer usable. To reset the
account after that time limit, you must call AdminCreateUser
again, specifying
"RESEND"
for the MessageAction
parameter. The default value for this parameter
is 7.public Integer getUnusedAccountValidityDays()
The user account expiration limit, in days, after which the account is no longer usable. To reset the account
after that time limit, you must call AdminCreateUser
again, specifying "RESEND"
for the
MessageAction
parameter. The default value for this parameter is 7.
AdminCreateUser
again, specifying
"RESEND"
for the MessageAction
parameter. The default value for this parameter
is 7.public AdminCreateUserConfigType withUnusedAccountValidityDays(Integer unusedAccountValidityDays)
The user account expiration limit, in days, after which the account is no longer usable. To reset the account
after that time limit, you must call AdminCreateUser
again, specifying "RESEND"
for the
MessageAction
parameter. The default value for this parameter is 7.
unusedAccountValidityDays
- The user account expiration limit, in days, after which the account is no longer usable. To reset the
account after that time limit, you must call AdminCreateUser
again, specifying
"RESEND"
for the MessageAction
parameter. The default value for this parameter
is 7.public void setInviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
inviteMessageTemplate
- The message template to be used for the welcome message to new users.public MessageTemplateType getInviteMessageTemplate()
The message template to be used for the welcome message to new users.
public AdminCreateUserConfigType withInviteMessageTemplate(MessageTemplateType inviteMessageTemplate)
The message template to be used for the welcome message to new users.
inviteMessageTemplate
- The message template to be used for the welcome message to new users.public String toString()
toString
in class Object
Object.toString()
public AdminCreateUserConfigType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.