|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.securitytoken.model.AssumeRoleResult
public class AssumeRoleResult
Contains the result of a successful invocation of the AssumeRole action.
Constructor Summary | |
---|---|
AssumeRoleResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
AssumedRoleUser |
getAssumedRoleUser()
The Amazon Resource Name (ARN) and the assumed role ID for the temporary security credentials. |
Credentials |
getCredentials()
The temporary security credentials, which includes an Access Key ID, a Secret Access Key, and a security token. |
Integer |
getPackedPolicySize()
A percentage value that indicates the size of the policy in packed form. |
int |
hashCode()
|
void |
setAssumedRoleUser(AssumedRoleUser assumedRoleUser)
The Amazon Resource Name (ARN) and the assumed role ID for the temporary security credentials. |
void |
setCredentials(Credentials credentials)
The temporary security credentials, which includes an Access Key ID, a Secret Access Key, and a security token. |
void |
setPackedPolicySize(Integer packedPolicySize)
A percentage value that indicates the size of the policy in packed form. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AssumeRoleResult |
withAssumedRoleUser(AssumedRoleUser assumedRoleUser)
The Amazon Resource Name (ARN) and the assumed role ID for the temporary security credentials. |
AssumeRoleResult |
withCredentials(Credentials credentials)
The temporary security credentials, which includes an Access Key ID, a Secret Access Key, and a security token. |
AssumeRoleResult |
withPackedPolicySize(Integer packedPolicySize)
A percentage value that indicates the size of the policy in packed form. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssumeRoleResult()
Method Detail |
---|
public Credentials getCredentials()
public void setCredentials(Credentials credentials)
credentials
- The temporary security credentials, which includes an Access Key ID, a
Secret Access Key, and a security token.public AssumeRoleResult withCredentials(Credentials credentials)
Returns a reference to this object so that method calls can be chained together.
credentials
- The temporary security credentials, which includes an Access Key ID, a
Secret Access Key, and a security token.
public AssumedRoleUser getAssumedRoleUser()
AssumedRoleUser
ARN or role ID in
that policy.
AssumedRoleUser
ARN or role ID in
that policy.public void setAssumedRoleUser(AssumedRoleUser assumedRoleUser)
AssumedRoleUser
ARN or role ID in
that policy.
assumedRoleUser
- The Amazon Resource Name (ARN) and the assumed role ID for the
temporary security credentials. The ARN and the role ID are
identifiers for the temporary security credentials so that you can
refer to the temporary credentials in a policy. For example, if you
want to build a policy that applies to these temporary credentials,
you would specify the AssumedRoleUser
ARN or role ID in
that policy.public AssumeRoleResult withAssumedRoleUser(AssumedRoleUser assumedRoleUser)
AssumedRoleUser
ARN or role ID in
that policy.
Returns a reference to this object so that method calls can be chained together.
assumedRoleUser
- The Amazon Resource Name (ARN) and the assumed role ID for the
temporary security credentials. The ARN and the role ID are
identifiers for the temporary security credentials so that you can
refer to the temporary credentials in a policy. For example, if you
want to build a policy that applies to these temporary credentials,
you would specify the AssumedRoleUser
ARN or role ID in
that policy.
public Integer getPackedPolicySize()
Constraints:
Range: 0 -
public void setPackedPolicySize(Integer packedPolicySize)
Constraints:
Range: 0 -
packedPolicySize
- A percentage value that indicates the size of the policy in packed
form. The service rejects any policy with a packed size greater than
100 percent, which means the policy exceeded the allowed space.public AssumeRoleResult withPackedPolicySize(Integer packedPolicySize)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
packedPolicySize
- A percentage value that indicates the size of the policy in packed
form. The service rejects any policy with a packed size greater than
100 percent, which means the policy exceeded the allowed space.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |