@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserIdentity extends Object implements Serializable, Cloneable, StructuredPojo
The name and type of entity who performed the action on the affected resource.
Constructor and Description |
---|
UserIdentity() |
public void setAssumedRole(AssumedRole assumedRole)
assumedRole
- public AssumedRole getAssumedRole()
public UserIdentity withAssumedRole(AssumedRole assumedRole)
assumedRole
- public void setAwsAccount(AwsAccount awsAccount)
awsAccount
- public AwsAccount getAwsAccount()
public UserIdentity withAwsAccount(AwsAccount awsAccount)
awsAccount
- public void setAwsService(AwsService awsService)
awsService
- public AwsService getAwsService()
public UserIdentity withAwsService(AwsService awsService)
awsService
- public void setFederatedUser(FederatedUser federatedUser)
federatedUser
- public FederatedUser getFederatedUser()
public UserIdentity withFederatedUser(FederatedUser federatedUser)
federatedUser
- public void setIamUser(IamUser iamUser)
iamUser
- public IamUser getIamUser()
public UserIdentity withIamUser(IamUser iamUser)
iamUser
- public void setRoot(UserIdentityRoot root)
root
- public UserIdentityRoot getRoot()
public UserIdentity withRoot(UserIdentityRoot root)
root
- public void setType(String type)
type
- UserIdentityType
public String getType()
UserIdentityType
public UserIdentity withType(String type)
type
- UserIdentityType
public UserIdentity withType(UserIdentityType type)
type
- UserIdentityType
public String toString()
toString
in class Object
Object.toString()
public UserIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.