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