Class ConfiguredTableAnalysisRulePolicyV1
- java.lang.Object
-
- software.amazon.awssdk.services.cleanrooms.model.ConfiguredTableAnalysisRulePolicyV1
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfiguredTableAnalysisRulePolicyV1.Builder,ConfiguredTableAnalysisRulePolicyV1>
@Generated("software.amazon.awssdk:codegen") public final class ConfiguredTableAnalysisRulePolicyV1 extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfiguredTableAnalysisRulePolicyV1.Builder,ConfiguredTableAnalysisRulePolicyV1>
Controls on the query specifications that can be run on a configured table.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfiguredTableAnalysisRulePolicyV1.Builderstatic classConfiguredTableAnalysisRulePolicyV1.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalysisRuleAggregationaggregation()Analysis rule type that enables only aggregation queries on a configured table.static ConfiguredTableAnalysisRulePolicyV1.Builderbuilder()AnalysisRuleCustomcustom()Returns the value of the Custom property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static ConfiguredTableAnalysisRulePolicyV1fromAggregation(Consumer<AnalysisRuleAggregation.Builder> aggregation)Create an instance of this class withaggregation()initialized to the given value.static ConfiguredTableAnalysisRulePolicyV1fromAggregation(AnalysisRuleAggregation aggregation)Create an instance of this class withaggregation()initialized to the given value.static ConfiguredTableAnalysisRulePolicyV1fromCustom(Consumer<AnalysisRuleCustom.Builder> custom)Create an instance of this class withcustom()initialized to the given value.static ConfiguredTableAnalysisRulePolicyV1fromCustom(AnalysisRuleCustom custom)Create an instance of this class withcustom()initialized to the given value.static ConfiguredTableAnalysisRulePolicyV1fromList(Consumer<AnalysisRuleList.Builder> list)Create an instance of this class withlist()initialized to the given value.static ConfiguredTableAnalysisRulePolicyV1fromList(AnalysisRuleList list)Create an instance of this class withlist()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()AnalysisRuleListlist()Analysis rule type that enables only list queries on a configured table.List<SdkField<?>>sdkFields()static Class<? extends ConfiguredTableAnalysisRulePolicyV1.Builder>serializableBuilderClass()ConfiguredTableAnalysisRulePolicyV1.BuildertoBuilder()StringtoString()Returns a string representation of this object.ConfiguredTableAnalysisRulePolicyV1.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
list
public final AnalysisRuleList list()
Analysis rule type that enables only list queries on a configured table.
- Returns:
- Analysis rule type that enables only list queries on a configured table.
-
aggregation
public final AnalysisRuleAggregation aggregation()
Analysis rule type that enables only aggregation queries on a configured table.
- Returns:
- Analysis rule type that enables only aggregation queries on a configured table.
-
custom
public final AnalysisRuleCustom custom()
Returns the value of the Custom property for this object.- Returns:
- The value of the Custom property for this object.
-
toBuilder
public ConfiguredTableAnalysisRulePolicyV1.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfiguredTableAnalysisRulePolicyV1.Builder,ConfiguredTableAnalysisRulePolicyV1>
-
builder
public static ConfiguredTableAnalysisRulePolicyV1.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfiguredTableAnalysisRulePolicyV1.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.
-
fromList
public static ConfiguredTableAnalysisRulePolicyV1 fromList(AnalysisRuleList list)
Create an instance of this class withlist()initialized to the given value.Analysis rule type that enables only list queries on a configured table.
- Parameters:
list- Analysis rule type that enables only list queries on a configured table.
-
fromList
public static ConfiguredTableAnalysisRulePolicyV1 fromList(Consumer<AnalysisRuleList.Builder> list)
Create an instance of this class withlist()initialized to the given value.Analysis rule type that enables only list queries on a configured table.
- Parameters:
list- Analysis rule type that enables only list queries on a configured table.
-
fromAggregation
public static ConfiguredTableAnalysisRulePolicyV1 fromAggregation(AnalysisRuleAggregation aggregation)
Create an instance of this class withaggregation()initialized to the given value.Analysis rule type that enables only aggregation queries on a configured table.
- Parameters:
aggregation- Analysis rule type that enables only aggregation queries on a configured table.
-
fromAggregation
public static ConfiguredTableAnalysisRulePolicyV1 fromAggregation(Consumer<AnalysisRuleAggregation.Builder> aggregation)
Create an instance of this class withaggregation()initialized to the given value.Analysis rule type that enables only aggregation queries on a configured table.
- Parameters:
aggregation- Analysis rule type that enables only aggregation queries on a configured table.
-
fromCustom
public static ConfiguredTableAnalysisRulePolicyV1 fromCustom(AnalysisRuleCustom custom)
Create an instance of this class withcustom()initialized to the given value. Sets the value of the Custom property for this object.- Parameters:
custom- The new value for the Custom property for this object.
-
fromCustom
public static ConfiguredTableAnalysisRulePolicyV1 fromCustom(Consumer<AnalysisRuleCustom.Builder> custom)
Create an instance of this class withcustom()initialized to the given value. Sets the value of the Custom property for this object.- Parameters:
custom- The new value for the Custom property for this object.
-
type
public ConfiguredTableAnalysisRulePolicyV1.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beConfiguredTableAnalysisRulePolicyV1.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beConfiguredTableAnalysisRulePolicyV1.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-