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 interface
UserContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserContext.Builder
builder()
String
domainId()
The domain associated with the user.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
IamIdentity
iamIdentity()
The IAM Identity details associated with the user.List<SdkField<?>>
sdkFields()
static Class<? extends UserContext.Builder>
serializableBuilderClass()
UserContext.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
userProfileArn()
The Amazon Resource Name (ARN) of the user's profile.String
userProfileName()
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-