@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) | 
| 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 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 ObjectObject.toString()public TaskCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.