public class CreateUserProfileRequest extends AmazonWebServiceRequest implements Serializable
CreateUserProfile operation
.
Creates a new user profile.
Required Permissions : To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
Constructor and Description |
---|
CreateUserProfileRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getAllowSelfManagement()
Whether users can specify their own SSH public key through the My
Settings page.
|
String |
getIamUserArn()
The user's IAM ARN.
|
String |
getSshPublicKey()
The user's public SSH key.
|
String |
getSshUsername()
The user's SSH user name.
|
int |
hashCode() |
Boolean |
isAllowSelfManagement()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateUserProfileRequest |
withAllowSelfManagement(Boolean allowSelfManagement)
Whether users can specify their own SSH public key through the My
Settings page.
|
CreateUserProfileRequest |
withIamUserArn(String iamUserArn)
The user's IAM ARN.
|
CreateUserProfileRequest |
withSshPublicKey(String sshPublicKey)
The user's public SSH key.
|
CreateUserProfileRequest |
withSshUsername(String sshUsername)
The user's SSH user name.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getIamUserArn()
public void setIamUserArn(String iamUserArn)
iamUserArn
- The user's IAM ARN.public CreateUserProfileRequest withIamUserArn(String iamUserArn)
Returns a reference to this object so that method calls can be chained together.
iamUserArn
- The user's IAM ARN.public String getSshUsername()
public void setSshUsername(String sshUsername)
sshUsername
- The user's SSH user name.public CreateUserProfileRequest withSshUsername(String sshUsername)
Returns a reference to this object so that method calls can be chained together.
sshUsername
- The user's SSH user name.public String getSshPublicKey()
public void setSshPublicKey(String sshPublicKey)
sshPublicKey
- The user's public SSH key.public CreateUserProfileRequest withSshPublicKey(String sshPublicKey)
Returns a reference to this object so that method calls can be chained together.
sshPublicKey
- The user's public SSH key.public Boolean isAllowSelfManagement()
public void setAllowSelfManagement(Boolean allowSelfManagement)
public CreateUserProfileRequest withAllowSelfManagement(Boolean allowSelfManagement)
public Boolean getAllowSelfManagement()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.