@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetPropertyPathSegment extends Object implements Serializable, Cloneable, StructuredPojo
Represents one level between a property and the root of the asset.
| Constructor and Description |
|---|
AssetPropertyPathSegment() |
| Modifier and Type | Method and Description |
|---|---|
AssetPropertyPathSegment |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the path segment.
|
String |
getName()
The name of the path segment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setId(String id)
The ID of the path segment.
|
void |
setName(String name)
The name of the path segment.
|
String |
toString()
Returns a string representation of this object.
|
AssetPropertyPathSegment |
withId(String id)
The ID of the path segment.
|
AssetPropertyPathSegment |
withName(String name)
The name of the path segment.
|
public void setId(String id)
The ID of the path segment.
id - The ID of the path segment.public String getId()
The ID of the path segment.
public AssetPropertyPathSegment withId(String id)
The ID of the path segment.
id - The ID of the path segment.public void setName(String name)
The name of the path segment.
name - The name of the path segment.public String getName()
The name of the path segment.
public AssetPropertyPathSegment withName(String name)
The name of the path segment.
name - The name of the path segment.public String toString()
toString in class ObjectObject.toString()public AssetPropertyPathSegment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.