@Generated(value="software.amazon.awssdk:codegen") public class CreateUserProfileRequest extends OpsWorksRequest implements ToCopyableBuilder<CreateUserProfileRequest.Builder,CreateUserProfileRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateUserProfileRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
allowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page.
|
static CreateUserProfileRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
iamUserArn()
The user's IAM ARN; this can also be a federated user's ARN.
|
static Class<? extends CreateUserProfileRequest.Builder> |
serializableBuilderClass() |
String |
sshPublicKey()
The user's public SSH key.
|
String |
sshUsername()
The user's SSH user name.
|
CreateUserProfileRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String iamUserArn()
The user's IAM ARN; this can also be a federated user's ARN.
public 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 Stacks removes them. For example, my.name
will be
changed to myname
. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from
the IAM user name.
my.name
will be changed to myname
. If you do not specify an SSH user name, AWS
OpsWorks Stacks generates one from the IAM user name.public String sshPublicKey()
The user's public SSH key.
public 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.
public CreateUserProfileRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateUserProfileRequest.Builder,CreateUserProfileRequest>
toBuilder
in class OpsWorksRequest
public static CreateUserProfileRequest.Builder builder()
public static Class<? extends CreateUserProfileRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.