@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourcePathComponent extends Object implements Serializable, Cloneable, StructuredPojo
Describes the resource path.
Constructor and Description |
---|
ResourcePathComponent() |
Modifier and Type | Method and Description |
---|---|
ResourcePathComponent |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the resource path.
|
String |
getName()
The name of the resource path.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The ID of the resource path.
|
void |
setName(String name)
The name of the resource path.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ResourcePathComponent |
withId(String id)
The ID of the resource path.
|
ResourcePathComponent |
withName(String name)
The name of the resource path.
|
public void setId(String id)
The ID of the resource path.
id
- The ID of the resource path.public String getId()
The ID of the resource path.
public ResourcePathComponent withId(String id)
The ID of the resource path.
id
- The ID of the resource path.public void setName(String name)
The name of the resource path.
name
- The name of the resource path.public String getName()
The name of the resource path.
public ResourcePathComponent withName(String name)
The name of the resource path.
name
- The name of the resource path.public String toString()
toString
in class Object
Object.toString()
public ResourcePathComponent clone()
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.