Class Field
- java.lang.Object
-
- software.amazon.awssdk.services.resiliencehub.model.Field
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Field.Builder,Field>
@Generated("software.amazon.awssdk:codegen") public final class Field extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Field.Builder,Field>
Indicates the field or attribute of a resource or data structure on which a condition is being applied or evaluated.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceField.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldAggregationTypeaggregation()(Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.StringaggregationAsString()(Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.static Field.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()Name of the field.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Field.Builder>serializableBuilderClass()Field.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
-
aggregation
public final FieldAggregationType aggregation()
(Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.
If the service returns an enum value that is not available in the current SDK version,
aggregationwill returnFieldAggregationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationAsString().- Returns:
- (Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.
- See Also:
FieldAggregationType
-
aggregationAsString
public final String aggregationAsString()
(Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.
If the service returns an enum value that is not available in the current SDK version,
aggregationwill returnFieldAggregationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationAsString().- Returns:
- (Optional) Indicates the type of aggregation or summary operation (such as Sum, Average, and so on) to be performed on a particular field or set of data.
- See Also:
FieldAggregationType
-
name
public final String name()
Name of the field.
- Returns:
- Name of the field.
-
toBuilder
public Field.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Field.Builder,Field>
-
builder
public static Field.Builder builder()
-
serializableBuilderClass
public static Class<? extends Field.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-