@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalysisRuleCustom extends Object implements Serializable, Cloneable, StructuredPojo
A type of analysis rule that enables the table owner to approve custom SQL queries on their configured tables.
| Constructor and Description |
|---|
AnalysisRuleCustom() |
| Modifier and Type | Method and Description |
|---|---|
AnalysisRuleCustom |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedAnalyses()
The analysis templates that are allowed by the custom analysis rule.
|
List<String> |
getAllowedAnalysisProviders()
The Amazon Web Services accounts that are allowed to query by the custom analysis rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAllowedAnalyses(Collection<String> allowedAnalyses)
The analysis templates that are allowed by the custom analysis rule.
|
void |
setAllowedAnalysisProviders(Collection<String> allowedAnalysisProviders)
The Amazon Web Services accounts that are allowed to query by the custom analysis rule.
|
String |
toString()
Returns a string representation of this object.
|
AnalysisRuleCustom |
withAllowedAnalyses(Collection<String> allowedAnalyses)
The analysis templates that are allowed by the custom analysis rule.
|
AnalysisRuleCustom |
withAllowedAnalyses(String... allowedAnalyses)
The analysis templates that are allowed by the custom analysis rule.
|
AnalysisRuleCustom |
withAllowedAnalysisProviders(Collection<String> allowedAnalysisProviders)
The Amazon Web Services accounts that are allowed to query by the custom analysis rule.
|
AnalysisRuleCustom |
withAllowedAnalysisProviders(String... allowedAnalysisProviders)
The Amazon Web Services accounts that are allowed to query by the custom analysis rule.
|
public List<String> getAllowedAnalyses()
The analysis templates that are allowed by the custom analysis rule.
public void setAllowedAnalyses(Collection<String> allowedAnalyses)
The analysis templates that are allowed by the custom analysis rule.
allowedAnalyses - The analysis templates that are allowed by the custom analysis rule.public AnalysisRuleCustom withAllowedAnalyses(String... allowedAnalyses)
The analysis templates that are allowed by the custom analysis rule.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedAnalyses(java.util.Collection) or withAllowedAnalyses(java.util.Collection) if you
want to override the existing values.
allowedAnalyses - The analysis templates that are allowed by the custom analysis rule.public AnalysisRuleCustom withAllowedAnalyses(Collection<String> allowedAnalyses)
The analysis templates that are allowed by the custom analysis rule.
allowedAnalyses - The analysis templates that are allowed by the custom analysis rule.public List<String> getAllowedAnalysisProviders()
The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalyses is ANY_QUERY.
allowedAnalyses is ANY_QUERY.public void setAllowedAnalysisProviders(Collection<String> allowedAnalysisProviders)
The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalyses is ANY_QUERY.
allowedAnalysisProviders - The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalyses is ANY_QUERY.public AnalysisRuleCustom withAllowedAnalysisProviders(String... allowedAnalysisProviders)
The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalyses is ANY_QUERY.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedAnalysisProviders(java.util.Collection) or
withAllowedAnalysisProviders(java.util.Collection) if you want to override the existing values.
allowedAnalysisProviders - The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalyses is ANY_QUERY.public AnalysisRuleCustom withAllowedAnalysisProviders(Collection<String> allowedAnalysisProviders)
The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalyses is ANY_QUERY.
allowedAnalysisProviders - The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalyses is ANY_QUERY.public String toString()
toString in class ObjectObject.toString()public AnalysisRuleCustom clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.