@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImpersonationRole extends Object implements Serializable, Cloneable, StructuredPojo
An impersonation role for the given WorkMail organization.
Constructor and Description |
---|
ImpersonationRole() |
Modifier and Type | Method and Description |
---|---|
ImpersonationRole |
clone() |
boolean |
equals(Object obj) |
Date |
getDateCreated()
The date when the impersonation role was created.
|
Date |
getDateModified()
The date when the impersonation role was last modified.
|
String |
getImpersonationRoleId()
The identifier of the impersonation role.
|
String |
getName()
The impersonation role name.
|
String |
getType()
The impersonation role type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDateCreated(Date dateCreated)
The date when the impersonation role was created.
|
void |
setDateModified(Date dateModified)
The date when the impersonation role was last modified.
|
void |
setImpersonationRoleId(String impersonationRoleId)
The identifier of the impersonation role.
|
void |
setName(String name)
The impersonation role name.
|
void |
setType(String type)
The impersonation role type.
|
String |
toString()
Returns a string representation of this object.
|
ImpersonationRole |
withDateCreated(Date dateCreated)
The date when the impersonation role was created.
|
ImpersonationRole |
withDateModified(Date dateModified)
The date when the impersonation role was last modified.
|
ImpersonationRole |
withImpersonationRoleId(String impersonationRoleId)
The identifier of the impersonation role.
|
ImpersonationRole |
withName(String name)
The impersonation role name.
|
ImpersonationRole |
withType(ImpersonationRoleType type)
The impersonation role type.
|
ImpersonationRole |
withType(String type)
The impersonation role type.
|
public void setImpersonationRoleId(String impersonationRoleId)
The identifier of the impersonation role.
impersonationRoleId
- The identifier of the impersonation role.public String getImpersonationRoleId()
The identifier of the impersonation role.
public ImpersonationRole withImpersonationRoleId(String impersonationRoleId)
The identifier of the impersonation role.
impersonationRoleId
- The identifier of the impersonation role.public void setName(String name)
The impersonation role name.
name
- The impersonation role name.public String getName()
The impersonation role name.
public ImpersonationRole withName(String name)
The impersonation role name.
name
- The impersonation role name.public void setType(String type)
The impersonation role type.
type
- The impersonation role type.ImpersonationRoleType
public String getType()
The impersonation role type.
ImpersonationRoleType
public ImpersonationRole withType(String type)
The impersonation role type.
type
- The impersonation role type.ImpersonationRoleType
public ImpersonationRole withType(ImpersonationRoleType type)
The impersonation role type.
type
- The impersonation role type.ImpersonationRoleType
public void setDateCreated(Date dateCreated)
The date when the impersonation role was created.
dateCreated
- The date when the impersonation role was created.public Date getDateCreated()
The date when the impersonation role was created.
public ImpersonationRole withDateCreated(Date dateCreated)
The date when the impersonation role was created.
dateCreated
- The date when the impersonation role was created.public void setDateModified(Date dateModified)
The date when the impersonation role was last modified.
dateModified
- The date when the impersonation role was last modified.public Date getDateModified()
The date when the impersonation role was last modified.
public ImpersonationRole withDateModified(Date dateModified)
The date when the impersonation role was last modified.
dateModified
- The date when the impersonation role was last modified.public String toString()
toString
in class Object
Object.toString()
public ImpersonationRole clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.