@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final 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 final 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()
toBuilder in interface ToCopyableBuilder<Facet.Builder,Facet>public static Facet.Builder builder()
public static Class<? extends Facet.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.