@Generated(value="software.amazon.awssdk:codegen") public final class Facet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Facet.Builder,Facet>
A structure that contains Name, ARN, Attributes, Rules,
and ObjectTypes. See Facets for
more information.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Facet.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Facet.Builder |
builder() |
boolean |
equals(Object obj) |
FacetStyle |
facetStyle()
There are two different styles that you can define on any given facet,
Static and
Dynamic. |
String |
facetStyleAsString()
There are two different styles that you can define on any given facet,
Static and
Dynamic. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the Facet.
|
ObjectType |
objectType()
The object type that is associated with the facet.
|
String |
objectTypeAsString()
The object type that is associated with the facet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Facet.Builder> |
serializableBuilderClass() |
Facet.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic ObjectType objectType()
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
If the service returns an enum value that is not available in the current SDK version, objectType will
return ObjectType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
objectTypeAsString().
ObjectTypepublic String objectTypeAsString()
The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
If the service returns an enum value that is not available in the current SDK version, objectType will
return ObjectType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
objectTypeAsString().
ObjectTypepublic 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.
If the service returns an enum value that is not available in the current SDK version, facetStyle will
return FacetStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
facetStyleAsString().
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.FacetStylepublic String facetStyleAsString()
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.
If the service returns an enum value that is not available in the current SDK version, facetStyle will
return FacetStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
facetStyleAsString().
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.FacetStylepublic Facet.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Facet.Builder,Facet>public static Facet.Builder builder()
public static Class<? extends Facet.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.