@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Facet extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains Name, ARN, Attributes, Rules, and
ObjectTypes.
| Constructor and Description |
|---|
Facet() |
| Modifier and Type | Method and Description |
|---|---|
Facet |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the Facet.
|
String |
getObjectType()
The object type that is associated with the facet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the Facet.
|
void |
setObjectType(ObjectType objectType)
The object type that is associated with the facet.
|
void |
setObjectType(String objectType)
The object type that is associated with the facet.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Facet |
withName(String name)
The name of the Facet.
|
Facet |
withObjectType(ObjectType objectType)
The object type that is associated with the facet.
|
Facet |
withObjectType(String objectType)
The object type that is associated with the facet.
|
public void setName(String name)
The name of the Facet.
name - The name of the Facet.public Facet withName(String name)
The name of the Facet.
name - The name of the Facet.public void setObjectType(String objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType - The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more
details.ObjectTypepublic String getObjectType()
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
ObjectTypepublic Facet withObjectType(String objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType - The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more
details.ObjectTypepublic void setObjectType(ObjectType objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType - The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more
details.ObjectTypepublic Facet withObjectType(ObjectType objectType)
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType - The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more
details.ObjectTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.