@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RoutedResource extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the routed resource.
Constructor and Description |
---|
RoutedResource() |
Modifier and Type | Method and Description |
---|---|
RoutedResource |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the routed resource.
|
String |
getName()
The name of the routed resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the routed resource.
|
void |
setName(String name)
The name of the routed resource.
|
String |
toString()
Returns a string representation of this object.
|
RoutedResource |
withArn(String arn)
The ARN of the routed resource.
|
RoutedResource |
withName(String name)
The name of the routed resource.
|
public void setName(String name)
The name of the routed resource.
name
- The name of the routed resource.public String getName()
The name of the routed resource.
public RoutedResource withName(String name)
The name of the routed resource.
name
- The name of the routed resource.public void setArn(String arn)
The ARN of the routed resource. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
arn
- The ARN of the routed resource. For more information, see Amazon Resource Names
(ARNs) in the AWS General Reference.public String getArn()
The ARN of the routed resource. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
public RoutedResource withArn(String arn)
The ARN of the routed resource. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.
arn
- The ARN of the routed resource. For more information, see Amazon Resource Names
(ARNs) in the AWS General Reference.public String toString()
toString
in class Object
Object.toString()
public RoutedResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.