@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Facet extends Object implements Serializable, Cloneable
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()
Object type associated with the facet.
|
int |
hashCode() |
void |
setName(String name)
The name of the Facet.
|
void |
setObjectType(ObjectType objectType)
Object type associated with the facet.
|
void |
setObjectType(String objectType)
Object type 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)
Object type associated with the facet.
|
Facet |
withObjectType(String objectType)
Object type 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)
Object type associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType - Object type associated with the facet. See CreateFacetRequest$ObjectType for more details.ObjectTypepublic String getObjectType()
Object type associated with the facet. See CreateFacetRequest$ObjectType for more details.
ObjectTypepublic Facet withObjectType(String objectType)
Object type associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType - Object type associated with the facet. See CreateFacetRequest$ObjectType for more details.ObjectTypepublic void setObjectType(ObjectType objectType)
Object type associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType - Object type associated with the facet. See CreateFacetRequest$ObjectType for more details.ObjectTypepublic Facet withObjectType(ObjectType objectType)
Object type associated with the facet. See CreateFacetRequest$ObjectType for more details.
objectType - Object type associated with the facet. See CreateFacetRequest$ObjectType for more details.ObjectTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.