@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourcePath extends Object implements Serializable, Cloneable, StructuredPojo
Describes the path information of a resource.
| Constructor and Description |
|---|
ResourcePath() |
| Modifier and Type | Method and Description |
|---|---|
ResourcePath |
clone() |
boolean |
equals(Object obj) |
List<ResourcePathComponent> |
getComponents()
The components of the resource path.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComponents(Collection<ResourcePathComponent> components)
The components of the resource path.
|
String |
toString()
Returns a string representation of this object.
|
ResourcePath |
withComponents(Collection<ResourcePathComponent> components)
The components of the resource path.
|
ResourcePath |
withComponents(ResourcePathComponent... components)
The components of the resource path.
|
public List<ResourcePathComponent> getComponents()
The components of the resource path.
public void setComponents(Collection<ResourcePathComponent> components)
The components of the resource path.
components - The components of the resource path.public ResourcePath withComponents(ResourcePathComponent... components)
The components of the resource path.
NOTE: This method appends the values to the existing list (if any). Use
setComponents(java.util.Collection) or withComponents(java.util.Collection) if you want to
override the existing values.
components - The components of the resource path.public ResourcePath withComponents(Collection<ResourcePathComponent> components)
The components of the resource path.
components - The components of the resource path.public String toString()
toString in class ObjectObject.toString()public ResourcePath clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.