Class CreateUserProfileRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.opsworks.model.OpsWorksRequest
-
- software.amazon.awssdk.services.opsworks.model.CreateUserProfileRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateUserProfileRequest.Builder,CreateUserProfileRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateUserProfileRequest extends OpsWorksRequest implements ToCopyableBuilder<CreateUserProfileRequest.Builder,CreateUserProfileRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateUserProfileRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowSelfManagement()Whether users can specify their own SSH public key through the My Settings page.static CreateUserProfileRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamUserArn()The user's IAM ARN; this can also be a federated user's ARN.List<SdkField<?>>sdkFields()static Class<? extends CreateUserProfileRequest.Builder>serializableBuilderClass()StringsshPublicKey()The user's public SSH key.StringsshUsername()The user's SSH user name.CreateUserProfileRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
iamUserArn
public final String iamUserArn()
The user's IAM ARN; this can also be a federated user's ARN.
- Returns:
- The user's IAM ARN; this can also be a federated user's ARN.
-
sshUsername
public final 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.namewill be changed tomyname. If you do not specify an SSH user name, AWS OpsWorks Stacks 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 Stacks removes them. For example,
my.namewill be changed tomyname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.
-
sshPublicKey
public final String sshPublicKey()
The user's public SSH key.
- Returns:
- The user's public SSH key.
-
allowSelfManagement
public final 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.
- 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.
-
toBuilder
public CreateUserProfileRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateUserProfileRequest.Builder,CreateUserProfileRequest>- Specified by:
toBuilderin classOpsWorksRequest
-
builder
public static CreateUserProfileRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateUserProfileRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-