@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SessionIssuer extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the source and type of temporary security credentials that were issued to an entity.
Constructor and Description |
---|
SessionIssuer() |
Modifier and Type | Method and Description |
---|---|
SessionIssuer |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the
credentials.
|
String |
getArn()
The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role that was
used to get the credentials.
|
String |
getPrincipalId()
The unique identifier for the entity that was used to get the credentials.
|
String |
getType()
The source of the temporary security credentials, such as Root, IAMUser, or Role.
|
String |
getUserName()
The name or alias of the user or role that issued the session.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the
credentials.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role that was
used to get the credentials.
|
void |
setPrincipalId(String principalId)
The unique identifier for the entity that was used to get the credentials.
|
void |
setType(String type)
The source of the temporary security credentials, such as Root, IAMUser, or Role.
|
void |
setUserName(String userName)
The name or alias of the user or role that issued the session.
|
String |
toString()
Returns a string representation of this object.
|
SessionIssuer |
withAccountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the
credentials.
|
SessionIssuer |
withArn(String arn)
The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role that was
used to get the credentials.
|
SessionIssuer |
withPrincipalId(String principalId)
The unique identifier for the entity that was used to get the credentials.
|
SessionIssuer |
withType(String type)
The source of the temporary security credentials, such as Root, IAMUser, or Role.
|
SessionIssuer |
withUserName(String userName)
The name or alias of the user or role that issued the session.
|
public void setAccountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.
accountId
- The unique identifier for the Amazon Web Services account that owns the entity that was used to get the
credentials.public String getAccountId()
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.
public SessionIssuer withAccountId(String accountId)
The unique identifier for the Amazon Web Services account that owns the entity that was used to get the credentials.
accountId
- The unique identifier for the Amazon Web Services account that owns the entity that was used to get the
credentials.public void setArn(String arn)
The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role that was used to get the credentials.
arn
- The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role
that was used to get the credentials.public String getArn()
The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role that was used to get the credentials.
public SessionIssuer withArn(String arn)
The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role that was used to get the credentials.
arn
- The Amazon Resource Name (ARN) of the source account, Identity and Access Management (IAM) user, or role
that was used to get the credentials.public void setPrincipalId(String principalId)
The unique identifier for the entity that was used to get the credentials.
principalId
- The unique identifier for the entity that was used to get the credentials.public String getPrincipalId()
The unique identifier for the entity that was used to get the credentials.
public SessionIssuer withPrincipalId(String principalId)
The unique identifier for the entity that was used to get the credentials.
principalId
- The unique identifier for the entity that was used to get the credentials.public void setType(String type)
The source of the temporary security credentials, such as Root, IAMUser, or Role.
type
- The source of the temporary security credentials, such as Root, IAMUser, or Role.public String getType()
The source of the temporary security credentials, such as Root, IAMUser, or Role.
public SessionIssuer withType(String type)
The source of the temporary security credentials, such as Root, IAMUser, or Role.
type
- The source of the temporary security credentials, such as Root, IAMUser, or Role.public void setUserName(String userName)
The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.
userName
- The name or alias of the user or role that issued the session. This value is null if the credentials were
obtained from a root account that doesn't have an alias.public String getUserName()
The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.
public SessionIssuer withUserName(String userName)
The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.
userName
- The name or alias of the user or role that issued the session. This value is null if the credentials were
obtained from a root account that doesn't have an alias.public String toString()
toString
in class Object
Object.toString()
public SessionIssuer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.