@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. It supports differential privacy.
Constructor and Description |
---|
AnalysisRuleCustom() |
Modifier and Type | Method and Description |
---|---|
AnalysisRuleCustom |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedAnalyses()
The ARN of the analysis templates that are allowed by the custom analysis rule.
|
List<String> |
getAllowedAnalysisProviders()
The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule.
|
DifferentialPrivacyConfiguration |
getDifferentialPrivacy()
The differential privacy configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedAnalyses(Collection<String> allowedAnalyses)
The ARN of the analysis templates that are allowed by the custom analysis rule.
|
void |
setAllowedAnalysisProviders(Collection<String> allowedAnalysisProviders)
The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule.
|
void |
setDifferentialPrivacy(DifferentialPrivacyConfiguration differentialPrivacy)
The differential privacy configuration.
|
String |
toString()
Returns a string representation of this object.
|
AnalysisRuleCustom |
withAllowedAnalyses(Collection<String> allowedAnalyses)
The ARN of the analysis templates that are allowed by the custom analysis rule.
|
AnalysisRuleCustom |
withAllowedAnalyses(String... allowedAnalyses)
The ARN of the analysis templates that are allowed by the custom analysis rule.
|
AnalysisRuleCustom |
withAllowedAnalysisProviders(Collection<String> allowedAnalysisProviders)
The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule.
|
AnalysisRuleCustom |
withAllowedAnalysisProviders(String... allowedAnalysisProviders)
The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule.
|
AnalysisRuleCustom |
withDifferentialPrivacy(DifferentialPrivacyConfiguration differentialPrivacy)
The differential privacy configuration.
|
public List<String> getAllowedAnalyses()
The ARN of the analysis templates that are allowed by the custom analysis rule.
public void setAllowedAnalyses(Collection<String> allowedAnalyses)
The ARN of the analysis templates that are allowed by the custom analysis rule.
allowedAnalyses
- The ARN of the analysis templates that are allowed by the custom analysis rule.public AnalysisRuleCustom withAllowedAnalyses(String... allowedAnalyses)
The ARN of 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 ARN of the analysis templates that are allowed by the custom analysis rule.public AnalysisRuleCustom withAllowedAnalyses(Collection<String> allowedAnalyses)
The ARN of the analysis templates that are allowed by the custom analysis rule.
allowedAnalyses
- The ARN of the analysis templates that are allowed by the custom analysis rule.public List<String> getAllowedAnalysisProviders()
The IDs of 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 IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalyses
is ANY_QUERY
.
allowedAnalysisProviders
- The IDs of 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 IDs of 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 IDs of 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 IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalyses
is ANY_QUERY
.
allowedAnalysisProviders
- The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule.
Required when allowedAnalyses
is ANY_QUERY
.public void setDifferentialPrivacy(DifferentialPrivacyConfiguration differentialPrivacy)
The differential privacy configuration.
differentialPrivacy
- The differential privacy configuration.public DifferentialPrivacyConfiguration getDifferentialPrivacy()
The differential privacy configuration.
public AnalysisRuleCustom withDifferentialPrivacy(DifferentialPrivacyConfiguration differentialPrivacy)
The differential privacy configuration.
differentialPrivacy
- The differential privacy configuration.public String toString()
toString
in class Object
Object.toString()
public AnalysisRuleCustom clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.