@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessKeyDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the access keys.
Constructor and Description |
---|
AccessKeyDetails() |
Modifier and Type | Method and Description |
---|---|
AccessKeyDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAccessKeyId()
The access key ID of the user.
|
String |
getPrincipalId()
The principal ID of the user.
|
String |
getUserName()
The name of the user.
|
String |
getUserType()
The type of the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessKeyId(String accessKeyId)
The access key ID of the user.
|
void |
setPrincipalId(String principalId)
The principal ID of the user.
|
void |
setUserName(String userName)
The name of the user.
|
void |
setUserType(String userType)
The type of the user.
|
String |
toString()
Returns a string representation of this object.
|
AccessKeyDetails |
withAccessKeyId(String accessKeyId)
The access key ID of the user.
|
AccessKeyDetails |
withPrincipalId(String principalId)
The principal ID of the user.
|
AccessKeyDetails |
withUserName(String userName)
The name of the user.
|
AccessKeyDetails |
withUserType(String userType)
The type of the user.
|
public void setAccessKeyId(String accessKeyId)
The access key ID of the user.
accessKeyId
- The access key ID of the user.public String getAccessKeyId()
The access key ID of the user.
public AccessKeyDetails withAccessKeyId(String accessKeyId)
The access key ID of the user.
accessKeyId
- The access key ID of the user.public void setPrincipalId(String principalId)
The principal ID of the user.
principalId
- The principal ID of the user.public String getPrincipalId()
The principal ID of the user.
public AccessKeyDetails withPrincipalId(String principalId)
The principal ID of the user.
principalId
- The principal ID of the user.public void setUserName(String userName)
The name of the user.
userName
- The name of the user.public String getUserName()
The name of the user.
public AccessKeyDetails withUserName(String userName)
The name of the user.
userName
- The name of the user.public void setUserType(String userType)
The type of the user.
userType
- The type of the user.public String getUserType()
The type of the user.
public AccessKeyDetails withUserType(String userType)
The type of the user.
userType
- The type of the user.public String toString()
toString
in class Object
Object.toString()
public AccessKeyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.