Class UserProfileDetails
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.UserProfileDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserProfileDetails.Builder,UserProfileDetails>
@Generated("software.amazon.awssdk:codegen") public final class UserProfileDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserProfileDetails.Builder,UserProfileDetails>
The details of the user profile in Amazon DataZone.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUserProfileDetails.Builderstatic classUserProfileDetails.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserProfileDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static UserProfileDetailsfromIam(Consumer<IamUserProfileDetails.Builder> iam)Create an instance of this class withiam()initialized to the given value.static UserProfileDetailsfromIam(IamUserProfileDetails iam)Create an instance of this class withiam()initialized to the given value.static UserProfileDetailsfromSso(Consumer<SsoUserProfileDetails.Builder> sso)Create an instance of this class withsso()initialized to the given value.static UserProfileDetailsfromSso(SsoUserProfileDetails sso)Create an instance of this class withsso()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IamUserProfileDetailsiam()The IAM details included in the user profile details.List<SdkField<?>>sdkFields()static Class<? extends UserProfileDetails.Builder>serializableBuilderClass()SsoUserProfileDetailssso()The single sign-on details included in the user profile details.UserProfileDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.UserProfileDetails.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
iam
public final IamUserProfileDetails iam()
The IAM details included in the user profile details.
- Returns:
- The IAM details included in the user profile details.
-
sso
public final SsoUserProfileDetails sso()
The single sign-on details included in the user profile details.
- Returns:
- The single sign-on details included in the user profile details.
-
toBuilder
public UserProfileDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UserProfileDetails.Builder,UserProfileDetails>
-
builder
public static UserProfileDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends UserProfileDetails.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.
-
fromIam
public static UserProfileDetails fromIam(IamUserProfileDetails iam)
Create an instance of this class withiam()initialized to the given value.The IAM details included in the user profile details.
- Parameters:
iam- The IAM details included in the user profile details.
-
fromIam
public static UserProfileDetails fromIam(Consumer<IamUserProfileDetails.Builder> iam)
Create an instance of this class withiam()initialized to the given value.The IAM details included in the user profile details.
- Parameters:
iam- The IAM details included in the user profile details.
-
fromSso
public static UserProfileDetails fromSso(SsoUserProfileDetails sso)
Create an instance of this class withsso()initialized to the given value.The single sign-on details included in the user profile details.
- Parameters:
sso- The single sign-on details included in the user profile details.
-
fromSso
public static UserProfileDetails fromSso(Consumer<SsoUserProfileDetails.Builder> sso)
Create an instance of this class withsso()initialized to the given value.The single sign-on details included in the user profile details.
- Parameters:
sso- The single sign-on details included in the user profile details.
-
type
public UserProfileDetails.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beUserProfileDetails.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beUserProfileDetails.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-