Class AnalysisRulePolicyV1
- java.lang.Object
-
- software.amazon.awssdk.services.cleanrooms.model.AnalysisRulePolicyV1
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AnalysisRulePolicyV1.Builder,AnalysisRulePolicyV1>
@Generated("software.amazon.awssdk:codegen") public final class AnalysisRulePolicyV1 extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalysisRulePolicyV1.Builder,AnalysisRulePolicyV1>
Controls on the query specifications that can be run on configured table.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAnalysisRulePolicyV1.Builderstatic classAnalysisRulePolicyV1.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 AnalysisRulePolicyV1.Builderbuilder()AnalysisRuleCustomcustom()Analysis rule type that enables custom SQL queries on a configured table.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static AnalysisRulePolicyV1fromAggregation(Consumer<AnalysisRuleAggregation.Builder> aggregation)Create an instance of this class withaggregation()initialized to the given value.static AnalysisRulePolicyV1fromAggregation(AnalysisRuleAggregation aggregation)Create an instance of this class withaggregation()initialized to the given value.static AnalysisRulePolicyV1fromCustom(Consumer<AnalysisRuleCustom.Builder> custom)Create an instance of this class withcustom()initialized to the given value.static AnalysisRulePolicyV1fromCustom(AnalysisRuleCustom custom)Create an instance of this class withcustom()initialized to the given value.static AnalysisRulePolicyV1fromList(Consumer<AnalysisRuleList.Builder> list)Create an instance of this class withlist()initialized to the given value.static AnalysisRulePolicyV1fromList(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 AnalysisRulePolicyV1.Builder>serializableBuilderClass()AnalysisRulePolicyV1.BuildertoBuilder()StringtoString()Returns a string representation of this object.AnalysisRulePolicyV1.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()
Analysis rule type that enables custom SQL queries on a configured table.
- Returns:
- Analysis rule type that enables custom SQL queries on a configured table.
-
toBuilder
public AnalysisRulePolicyV1.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnalysisRulePolicyV1.Builder,AnalysisRulePolicyV1>
-
builder
public static AnalysisRulePolicyV1.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnalysisRulePolicyV1.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 AnalysisRulePolicyV1 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 AnalysisRulePolicyV1 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 AnalysisRulePolicyV1 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 AnalysisRulePolicyV1 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 AnalysisRulePolicyV1 fromCustom(AnalysisRuleCustom custom)
Create an instance of this class withcustom()initialized to the given value.Analysis rule type that enables custom SQL queries on a configured table.
- Parameters:
custom- Analysis rule type that enables custom SQL queries on a configured table.
-
fromCustom
public static AnalysisRulePolicyV1 fromCustom(Consumer<AnalysisRuleCustom.Builder> custom)
Create an instance of this class withcustom()initialized to the given value.Analysis rule type that enables custom SQL queries on a configured table.
- Parameters:
custom- Analysis rule type that enables custom SQL queries on a configured table.
-
type
public AnalysisRulePolicyV1.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 beAnalysisRulePolicyV1.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 beAnalysisRulePolicyV1.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-