@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetCompositeModelPathSegment extends Object implements Serializable, Cloneable, StructuredPojo
Represents one level between a composite model and the root of the asset.
Constructor and Description |
---|
AssetCompositeModelPathSegment() |
Modifier and Type | Method and Description |
---|---|
AssetCompositeModelPathSegment |
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.
|
AssetCompositeModelPathSegment |
withId(String id)
The ID of the path segment.
|
AssetCompositeModelPathSegment |
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 AssetCompositeModelPathSegment 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 AssetCompositeModelPathSegment withName(String name)
The name of the path segment.
name
- The name of the path segment.public String toString()
toString
in class Object
Object.toString()
public AssetCompositeModelPathSegment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.