@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskCredentials extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the credentials that Step Functions uses for a task.
| Constructor and Description |
|---|
TaskCredentials () |
| Modifier and Type | Method and Description |
|---|---|
TaskCredentials |
clone () |
boolean |
equals (Object obj) |
String |
getRoleArn ()
The ARN of an IAM role that Step Functions assumes for the task.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRoleArn (String roleArn)
The ARN of an IAM role that Step Functions assumes for the task.
|
String |
toString ()
Returns a string representation of this object.
|
TaskCredentials |
withRoleArn (String roleArn)
The ARN of an IAM role that Step Functions assumes for the task.
|
public TaskCredentials()
public void setRoleArn(String roleArn)
The ARN of an IAM role that Step Functions assumes for the task. The role can allow cross-account access to resources.
roleArn - The ARN of an IAM role that Step Functions assumes for the task. The role can allow cross-account access
to resources.public String getRoleArn()
The ARN of an IAM role that Step Functions assumes for the task. The role can allow cross-account access to resources.
public TaskCredentials withRoleArn(String roleArn)
The ARN of an IAM role that Step Functions assumes for the task. The role can allow cross-account access to resources.
roleArn - The ARN of an IAM role that Step Functions assumes for the task. The role can allow cross-account access
to resources.public String toString()
toString in class Object Object.toString() public TaskCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.