Class Facet
- java.lang.Object
-
- software.amazon.awssdk.services.clouddirectory.model.Facet
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Facet.Builder,Facet>
@Generated("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, andObjectTypes. See Facets for more information.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFacet.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Facet.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FacetStylefacetStyle()There are two different styles that you can define on any given facet,StaticandDynamic.StringfacetStyleAsString()There are two different styles that you can define on any given facet,StaticandDynamic.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the Facet.ObjectTypeobjectType()The object type that is associated with the facet.StringobjectTypeAsString()The object type that is associated with the facet.List<SdkField<?>>sdkFields()static Class<? extends Facet.Builder>serializableBuilderClass()Facet.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
objectType
public 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,
objectTypewill returnObjectType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromobjectTypeAsString().- Returns:
- The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
- See Also:
ObjectType
-
objectTypeAsString
public 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,
objectTypewill returnObjectType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromobjectTypeAsString().- Returns:
- The object type that is associated with the facet. See CreateFacetRequest$ObjectType for more details.
- See Also:
ObjectType
-
facetStyle
public final FacetStyle facetStyle()
There are two different styles that you can define on any given facet,
StaticandDynamic. 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,
facetStylewill returnFacetStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfacetStyleAsString().- Returns:
- There are two different styles that you can define on any given facet,
StaticandDynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations. - See Also:
FacetStyle
-
facetStyleAsString
public final String facetStyleAsString()
There are two different styles that you can define on any given facet,
StaticandDynamic. 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,
facetStylewill returnFacetStyle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfacetStyleAsString().- Returns:
- There are two different styles that you can define on any given facet,
StaticandDynamic. For static facets, all attributes must be defined in the schema. For dynamic facets, attributes can be defined during data plane operations. - See Also:
FacetStyle
-
toBuilder
public Facet.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Facet.Builder,Facet>
-
builder
public static Facet.Builder builder()
-
serializableBuilderClass
public static Class<? extends Facet.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-