Class UserContext
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.UserContext
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UserContext.Builder,UserContext>
@Generated("software.amazon.awssdk:codegen") public final class UserContext extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserContext.Builder,UserContext>
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUserContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserContext.Builderbuilder()StringdomainId()The domain associated with the user.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IamIdentityiamIdentity()The IAM Identity details associated with the user.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UserContext.Builder>serializableBuilderClass()UserContext.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserProfileArn()The Amazon Resource Name (ARN) of the user's profile.StringuserProfileName()The name of the user's profile.-
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
-
userProfileArn
public final String userProfileArn()
The Amazon Resource Name (ARN) of the user's profile.
- Returns:
- The Amazon Resource Name (ARN) of the user's profile.
-
userProfileName
public final String userProfileName()
The name of the user's profile.
- Returns:
- The name of the user's profile.
-
domainId
public final String domainId()
The domain associated with the user.
- Returns:
- The domain associated with the user.
-
iamIdentity
public final IamIdentity iamIdentity()
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
- Returns:
- The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
-
toBuilder
public UserContext.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UserContext.Builder,UserContext>
-
builder
public static UserContext.Builder builder()
-
serializableBuilderClass
public static Class<? extends UserContext.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-