@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KxUser extends Object implements Serializable, Cloneable, StructuredPojo
A structure that stores metadata for a kdb user.
Constructor and Description |
---|
KxUser() |
Modifier and Type | Method and Description |
---|---|
KxUser |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTimestamp()
The timestamp at which the kdb user was created.
|
String |
getIamRole()
The IAM role ARN that is associated with the user.
|
Date |
getUpdateTimestamp()
The timestamp at which the kdb user was updated.
|
String |
getUserArn()
The Amazon Resource Name (ARN) that identifies the user.
|
String |
getUserName()
A unique identifier for the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTimestamp(Date createTimestamp)
The timestamp at which the kdb user was created.
|
void |
setIamRole(String iamRole)
The IAM role ARN that is associated with the user.
|
void |
setUpdateTimestamp(Date updateTimestamp)
The timestamp at which the kdb user was updated.
|
void |
setUserArn(String userArn)
The Amazon Resource Name (ARN) that identifies the user.
|
void |
setUserName(String userName)
A unique identifier for the user.
|
String |
toString()
Returns a string representation of this object.
|
KxUser |
withCreateTimestamp(Date createTimestamp)
The timestamp at which the kdb user was created.
|
KxUser |
withIamRole(String iamRole)
The IAM role ARN that is associated with the user.
|
KxUser |
withUpdateTimestamp(Date updateTimestamp)
The timestamp at which the kdb user was updated.
|
KxUser |
withUserArn(String userArn)
The Amazon Resource Name (ARN) that identifies the user.
|
KxUser |
withUserName(String userName)
A unique identifier for the user.
|
public void setUserArn(String userArn)
The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
userArn
- The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use
ARNs in policies, see IAM Identifiers in
the IAM User Guide.public String getUserArn()
The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
public KxUser withUserArn(String userArn)
The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
userArn
- The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use
ARNs in policies, see IAM Identifiers in
the IAM User Guide.public void setUserName(String userName)
A unique identifier for the user.
userName
- A unique identifier for the user.public String getUserName()
A unique identifier for the user.
public KxUser withUserName(String userName)
A unique identifier for the user.
userName
- A unique identifier for the user.public void setIamRole(String iamRole)
The IAM role ARN that is associated with the user.
iamRole
- The IAM role ARN that is associated with the user.public String getIamRole()
The IAM role ARN that is associated with the user.
public KxUser withIamRole(String iamRole)
The IAM role ARN that is associated with the user.
iamRole
- The IAM role ARN that is associated with the user.public void setCreateTimestamp(Date createTimestamp)
The timestamp at which the kdb user was created.
createTimestamp
- The timestamp at which the kdb user was created.public Date getCreateTimestamp()
The timestamp at which the kdb user was created.
public KxUser withCreateTimestamp(Date createTimestamp)
The timestamp at which the kdb user was created.
createTimestamp
- The timestamp at which the kdb user was created.public void setUpdateTimestamp(Date updateTimestamp)
The timestamp at which the kdb user was updated.
updateTimestamp
- The timestamp at which the kdb user was updated.public Date getUpdateTimestamp()
The timestamp at which the kdb user was updated.
public KxUser withUpdateTimestamp(Date updateTimestamp)
The timestamp at which the kdb user was updated.
updateTimestamp
- The timestamp at which the kdb user was updated.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.