@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Role extends Object implements Serializable, Cloneable, StructuredPojo
The role used to invoke external model endpoints.
| Constructor and Description |
|---|
Role() |
| Modifier and Type | Method and Description |
|---|---|
Role |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The role ARN.
|
String |
getName()
The role name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The role ARN.
|
void |
setName(String name)
The role name.
|
String |
toString()
Returns a string representation of this object.
|
Role |
withArn(String arn)
The role ARN.
|
Role |
withName(String name)
The role name.
|
public void setArn(String arn)
The role ARN.
arn - The role ARN.public String getArn()
The role ARN.
public Role withArn(String arn)
The role ARN.
arn - The role ARN.public void setName(String name)
The role name.
name - The role name.public String getName()
The role name.
public Role withName(String name)
The role name.
name - The role name.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.