|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.securitytoken.model.GetFederationTokenResult
public class GetFederationTokenResult
Contains the result of a successful call to the GetFederationToken action, including temporary AWS credentials that can be used to make AWS requests.
Constructor Summary | |
---|---|
GetFederationTokenResult()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetFederationTokenResult()
Method Detail |
---|
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-based policies, such as 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-based policies, such as 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-based policies, such as 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-based policies, such as 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-based policies, such as 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-based policies, such as 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
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |