@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
. See Facets for
more information.
Constructor and Description |
---|
Facet() |
Modifier and Type | Method and Description |
---|---|
Facet |
clone() |
boolean |
equals(Object obj) |
String |
getFacetStyle()
There are two different styles that you can define on any given facet,
Static and
Dynamic . |
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 |
setFacetStyle(FacetStyle facetStyle)
There are two different styles that you can define on any given facet,
Static and
Dynamic . |
void |
setFacetStyle(String facetStyle)
There are two different styles that you can define on any given facet,
Static and
Dynamic . |
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.
|
Facet |
withFacetStyle(FacetStyle facetStyle)
There are two different styles that you can define on any given facet,
Static and
Dynamic . |
Facet |
withFacetStyle(String facetStyle)
There are two different styles that you can define on any given facet,
Static and
Dynamic . |
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.ObjectType
public String getObjectType()
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
ObjectType
public 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.ObjectType
public 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.ObjectType
public 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.ObjectType
public void setFacetStyle(String facetStyle)
There are two different styles that you can define on any given facet, Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.
facetStyle
- There are two different styles that you can define on any given facet, Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.FacetStyle
public String getFacetStyle()
There are two different styles that you can define on any given facet, Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.
Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic
facets, attributes can be defined during data plane operations.FacetStyle
public Facet withFacetStyle(String facetStyle)
There are two different styles that you can define on any given facet, Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.
facetStyle
- There are two different styles that you can define on any given facet, Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.FacetStyle
public void setFacetStyle(FacetStyle facetStyle)
There are two different styles that you can define on any given facet, Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.
facetStyle
- There are two different styles that you can define on any given facet, Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.FacetStyle
public Facet withFacetStyle(FacetStyle facetStyle)
There are two different styles that you can define on any given facet, Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.
facetStyle
- There are two different styles that you can define on any given facet, Static
and
Dynamic
. For static facets, all attributes must be defined in the schema. For dynamic facets,
attributes can be defined during data plane operations.FacetStyle
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.