@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; useful for testing and debugging.
|
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 Object
Object.toString()
public ResourcePath 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.