@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserContext extends Object implements Serializable, Cloneable, StructuredPojo
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
Constructor and Description |
---|
UserContext() |
Modifier and Type | Method and Description |
---|---|
UserContext |
clone() |
boolean |
equals(Object obj) |
String |
getDomainId()
The domain associated with the user.
|
IamIdentity |
getIamIdentity()
The IAM Identity details associated with the user.
|
String |
getUserProfileArn()
The Amazon Resource Name (ARN) of the user's profile.
|
String |
getUserProfileName()
The name of the user's profile.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDomainId(String domainId)
The domain associated with the user.
|
void |
setIamIdentity(IamIdentity iamIdentity)
The IAM Identity details associated with the user.
|
void |
setUserProfileArn(String userProfileArn)
The Amazon Resource Name (ARN) of the user's profile.
|
void |
setUserProfileName(String userProfileName)
The name of the user's profile.
|
String |
toString()
Returns a string representation of this object.
|
UserContext |
withDomainId(String domainId)
The domain associated with the user.
|
UserContext |
withIamIdentity(IamIdentity iamIdentity)
The IAM Identity details associated with the user.
|
UserContext |
withUserProfileArn(String userProfileArn)
The Amazon Resource Name (ARN) of the user's profile.
|
UserContext |
withUserProfileName(String userProfileName)
The name of the user's profile.
|
public void setUserProfileArn(String userProfileArn)
The Amazon Resource Name (ARN) of the user's profile.
userProfileArn
- The Amazon Resource Name (ARN) of the user's profile.public String getUserProfileArn()
The Amazon Resource Name (ARN) of the user's profile.
public UserContext withUserProfileArn(String userProfileArn)
The Amazon Resource Name (ARN) of the user's profile.
userProfileArn
- The Amazon Resource Name (ARN) of the user's profile.public void setUserProfileName(String userProfileName)
The name of the user's profile.
userProfileName
- The name of the user's profile.public String getUserProfileName()
The name of the user's profile.
public UserContext withUserProfileName(String userProfileName)
The name of the user's profile.
userProfileName
- The name of the user's profile.public void setDomainId(String domainId)
The domain associated with the user.
domainId
- The domain associated with the user.public String getDomainId()
The domain associated with the user.
public UserContext withDomainId(String domainId)
The domain associated with the user.
domainId
- The domain associated with the user.public void setIamIdentity(IamIdentity iamIdentity)
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
iamIdentity
- The IAM Identity details associated with the user. These details are associated with model package groups,
model packages, and project entities only.public IamIdentity getIamIdentity()
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
public UserContext withIamIdentity(IamIdentity iamIdentity)
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
iamIdentity
- The IAM Identity details associated with the user. These details are associated with model package groups,
model packages, and project entities only.public String toString()
toString
in class Object
Object.toString()
public UserContext clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.