public class GetFederationTokenResult
extends java.lang.Object
implements java.io.Serializable
Contains the result of a successful invocation of the GetFederationToken action.
| コンストラクタと説明 |
|---|
GetFederationTokenResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
Credentials |
getCredentials()
Credentials for the service API authentication.
|
FederatedUser |
getFederatedUser()
Identifiers for the federated user associated with the credentials
(such as
arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob). |
java.lang.Integer |
getPackedPolicySize()
A percentage value indicating the size of the policy in packed form.
|
int |
hashCode() |
void |
setCredentials(Credentials credentials)
Credentials for the service API authentication.
|
void |
setFederatedUser(FederatedUser federatedUser)
Identifiers for the federated user associated with the credentials
(such as
arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob). |
void |
setPackedPolicySize(java.lang.Integer packedPolicySize)
A percentage value indicating the size of the policy in packed form.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetFederationTokenResult |
withCredentials(Credentials credentials)
Credentials for the service API authentication.
|
GetFederationTokenResult |
withFederatedUser(FederatedUser federatedUser)
Identifiers for the federated user associated with the credentials
(such as
arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob). |
GetFederationTokenResult |
withPackedPolicySize(java.lang.Integer packedPolicySize)
A percentage value indicating the size of the policy in packed form.
|
public Credentials getCredentials()
public void setCredentials(Credentials credentials)
credentials - Credentials for the service API authentication.public GetFederationTokenResult withCredentials(Credentials credentials)
Returns a reference to this object so that method calls can be chained together.
credentials - Credentials for the service API authentication.public FederatedUser getFederatedUser()
arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.public void setFederatedUser(FederatedUser federatedUser)
arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.federatedUser - Identifiers for the federated user associated with the credentials
(such as arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.public GetFederationTokenResult withFederatedUser(FederatedUser federatedUser)
arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.
Returns a reference to this object so that method calls can be chained together.
federatedUser - Identifiers for the federated user associated with the credentials
(such as arn:aws:sts::123456789012:federated-user/Bob or
123456789012:Bob). You can use the federated user's ARN
in your resource policies like in an Amazon S3 bucket policy.public java.lang.Integer getPackedPolicySize()
Constraints:
Range: 0 -
public void setPackedPolicySize(java.lang.Integer packedPolicySize)
Constraints:
Range: 0 -
packedPolicySize - A percentage value indicating the size of the policy in packed form.
The service rejects policies for which the packed size is greater than
100 percent of the allowed value.public GetFederationTokenResult withPackedPolicySize(java.lang.Integer packedPolicySize)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
packedPolicySize - A percentage value indicating the size of the policy in packed form.
The service rejects policies for which the packed size is greater than
100 percent of the allowed value.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object