Class CreateUserProfileRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.opsworks.model.CreateUserProfileRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateUserProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateUserProfileRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateUserProfileRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)BooleangetAllowSelfManagement()Whether users can specify their own SSH public key through the My Settings page.StringgetIamUserArn()The user's IAM ARN.StringgetSshPublicKey()The user's public SSH key.StringgetSshUsername()The user's SSH user name.inthashCode()BooleanisAllowSelfManagement()Whether users can specify their own SSH public key through the My Settings page.voidsetAllowSelfManagement(Boolean allowSelfManagement)Whether users can specify their own SSH public key through the My Settings page.voidsetIamUserArn(String iamUserArn)The user's IAM ARN.voidsetSshPublicKey(String sshPublicKey)The user's public SSH key.voidsetSshUsername(String sshUsername)The user's SSH user name.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateUserProfileRequestwithAllowSelfManagement(Boolean allowSelfManagement)Whether users can specify their own SSH public key through the My Settings page.CreateUserProfileRequestwithIamUserArn(String iamUserArn)The user's IAM ARN.CreateUserProfileRequestwithSshPublicKey(String sshPublicKey)The user's public SSH key.CreateUserProfileRequestwithSshUsername(String sshUsername)The user's SSH user name.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setIamUserArn
public void setIamUserArn(String iamUserArn)
The user's IAM ARN.
- Parameters:
iamUserArn- The user's IAM ARN.
-
getIamUserArn
public String getIamUserArn()
The user's IAM ARN.
- Returns:
- The user's IAM ARN.
-
withIamUserArn
public CreateUserProfileRequest withIamUserArn(String iamUserArn)
The user's IAM ARN.
- Parameters:
iamUserArn- The user's IAM ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSshUsername
public void setSshUsername(String sshUsername)
The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks removes them. For example,
my.namewill be changed tomyname. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.- Parameters:
sshUsername- The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks removes them. For example,my.namewill be changed tomyname. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.
-
getSshUsername
public String getSshUsername()
The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks removes them. For example,
my.namewill be changed tomyname. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.- Returns:
- The user's SSH user name. The allowable characters are [a-z],
[A-Z], [0-9], '-', and '_'. If the specified name includes other
punctuation marks, AWS OpsWorks removes them. For example,
my.namewill be changed tomyname. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.
-
withSshUsername
public CreateUserProfileRequest withSshUsername(String sshUsername)
The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks removes them. For example,
my.namewill be changed tomyname. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.- Parameters:
sshUsername- The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks removes them. For example,my.namewill be changed tomyname. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSshPublicKey
public void setSshPublicKey(String sshPublicKey)
The user's public SSH key.
- Parameters:
sshPublicKey- The user's public SSH key.
-
getSshPublicKey
public String getSshPublicKey()
The user's public SSH key.
- Returns:
- The user's public SSH key.
-
withSshPublicKey
public CreateUserProfileRequest withSshPublicKey(String sshPublicKey)
The user's public SSH key.
- Parameters:
sshPublicKey- The user's public SSH key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllowSelfManagement
public void setAllowSelfManagement(Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
- Parameters:
allowSelfManagement- Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
-
getAllowSelfManagement
public Boolean getAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
- Returns:
- Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
-
withAllowSelfManagement
public CreateUserProfileRequest withAllowSelfManagement(Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
- Parameters:
allowSelfManagement- Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAllowSelfManagement
public Boolean isAllowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
- Returns:
- Whether users can specify their own SSH public key through the My Settings page. For more information, see Setting an IAM User's Public SSH Key.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateUserProfileRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-