Class CreateUserProfileRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Whether users can specify their own SSH public key through the My Settings page.The user's IAM ARN.The user's public SSH key.The user's SSH user name.int
hashCode()
Whether users can specify their own SSH public key through the My Settings page.void
setAllowSelfManagement
(Boolean allowSelfManagement) Whether users can specify their own SSH public key through the My Settings page.void
setIamUserArn
(String iamUserArn) The user's IAM ARN.void
setSshPublicKey
(String sshPublicKey) The user's public SSH key.void
setSshUsername
(String sshUsername) The user's SSH user name.toString()
Returns a string representation of this object; useful for testing and debugging.withAllowSelfManagement
(Boolean allowSelfManagement) Whether users can specify their own SSH public key through the My Settings page.withIamUserArn
(String iamUserArn) The user's IAM ARN.withSshPublicKey
(String sshPublicKey) The user's public SSH key.withSshUsername
(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
-
Constructor Details
-
CreateUserProfileRequest
public CreateUserProfileRequest()
-
-
Method Details
-
setIamUserArn
The user's IAM ARN.
- Parameters:
iamUserArn
- The user's IAM ARN.
-
getIamUserArn
The user's IAM ARN.
- Returns:
- The user's IAM ARN.
-
withIamUserArn
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
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.name
will 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.name
will be changed tomyname
. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.
-
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.name
will 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.name
will be changed tomyname
. If you do not specify an SSH user name, AWS OpsWorks generates one from the IAM user name.
-
withSshUsername
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.name
will 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.name
will 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
The user's public SSH key.
- Parameters:
sshPublicKey
- The user's public SSH key.
-
getSshPublicKey
The user's public SSH key.
- Returns:
- The user's public SSH key.
-
withSshPublicKey
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-