@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.