Class UserProfile
- java.lang.Object
-
- software.amazon.awssdk.services.opsworks.model.UserProfile
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserProfile.Builder,UserProfile>
@Generated("software.amazon.awssdk:codegen") public final class UserProfile extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserProfile.Builder,UserProfile>
Describes a user's SSH information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUserProfile.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 UserProfile.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamUserArn()The user's IAM ARN.Stringname()The user's name.List<SdkField<?>>sdkFields()static Class<? extends UserProfile.Builder>serializableBuilderClass()StringsshPublicKey()The user's SSH public key.StringsshUsername()The user's SSH user name.UserProfile.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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.
- Returns:
- The user's IAM ARN.
-
name
public final String name()
The user's name.
- Returns:
- The user's name.
-
sshUsername
public final String sshUsername()
The user's SSH user name.
- Returns:
- The user's SSH user name.
-
sshPublicKey
public final String sshPublicKey()
The user's SSH public key.
- Returns:
- The user's SSH public key.
-
allowSelfManagement
public final Boolean allowSelfManagement()
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
- Returns:
- Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
-
toBuilder
public UserProfile.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UserProfile.Builder,UserProfile>
-
builder
public static UserProfile.Builder builder()
-
serializableBuilderClass
public static Class<? extends UserProfile.Builder> serializableBuilderClass()
-
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.
-
-