@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssumeQueueRoleForWorkerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AssumeQueueRoleForWorkerResult() |
Modifier and Type | Method and Description |
---|---|
AssumeQueueRoleForWorkerResult |
clone() |
boolean |
equals(Object obj) |
AwsCredentials |
getCredentials()
The Amazon Web Services credentials for the role that the worker is assuming.
|
int |
hashCode() |
void |
setCredentials(AwsCredentials credentials)
The Amazon Web Services credentials for the role that the worker is assuming.
|
String |
toString()
Returns a string representation of this object.
|
AssumeQueueRoleForWorkerResult |
withCredentials(AwsCredentials credentials)
The Amazon Web Services credentials for the role that the worker is assuming.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCredentials(AwsCredentials credentials)
The Amazon Web Services credentials for the role that the worker is assuming.
credentials
- The Amazon Web Services credentials for the role that the worker is assuming.public AwsCredentials getCredentials()
The Amazon Web Services credentials for the role that the worker is assuming.
public AssumeQueueRoleForWorkerResult withCredentials(AwsCredentials credentials)
The Amazon Web Services credentials for the role that the worker is assuming.
credentials
- The Amazon Web Services credentials for the role that the worker is assuming.public String toString()
toString
in class Object
Object.toString()
public AssumeQueueRoleForWorkerResult clone()