@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalysisTemplateValidationStatusDetail extends Object implements Serializable, Cloneable, StructuredPojo
The status details of the analysis template validation. Clean Rooms Differential Privacy uses a general-purpose query structure to support complex SQL queries and validates whether an analysis template fits that general-purpose query structure. Validation is performed when analysis templates are created and fetched. Because analysis templates are immutable by design, we recommend that you create analysis templates after you associate the configured tables with their analysis rule to your collaboration.
For more information, see https://docs.aws.amazon.com/clean-rooms/latest/userguide/analysis-rules-custom.html#custom-diff-privacy.
Constructor and Description |
---|
AnalysisTemplateValidationStatusDetail() |
Modifier and Type | Method and Description |
---|---|
AnalysisTemplateValidationStatusDetail |
clone() |
boolean |
equals(Object obj) |
List<AnalysisTemplateValidationStatusReason> |
getReasons()
The reasons for the validation results.
|
String |
getStatus()
The status of the validation.
|
String |
getType()
The type of validation that was performed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReasons(Collection<AnalysisTemplateValidationStatusReason> reasons)
The reasons for the validation results.
|
void |
setStatus(String status)
The status of the validation.
|
void |
setType(String type)
The type of validation that was performed.
|
String |
toString()
Returns a string representation of this object.
|
AnalysisTemplateValidationStatusDetail |
withReasons(AnalysisTemplateValidationStatusReason... reasons)
The reasons for the validation results.
|
AnalysisTemplateValidationStatusDetail |
withReasons(Collection<AnalysisTemplateValidationStatusReason> reasons)
The reasons for the validation results.
|
AnalysisTemplateValidationStatusDetail |
withStatus(AnalysisTemplateValidationStatus status)
The status of the validation.
|
AnalysisTemplateValidationStatusDetail |
withStatus(String status)
The status of the validation.
|
AnalysisTemplateValidationStatusDetail |
withType(AnalysisTemplateValidationType type)
The type of validation that was performed.
|
AnalysisTemplateValidationStatusDetail |
withType(String type)
The type of validation that was performed.
|
public AnalysisTemplateValidationStatusDetail()
public void setType(String type)
The type of validation that was performed.
type
- The type of validation that was performed.AnalysisTemplateValidationType
public String getType()
The type of validation that was performed.
AnalysisTemplateValidationType
public AnalysisTemplateValidationStatusDetail withType(String type)
The type of validation that was performed.
type
- The type of validation that was performed.AnalysisTemplateValidationType
public AnalysisTemplateValidationStatusDetail withType(AnalysisTemplateValidationType type)
The type of validation that was performed.
type
- The type of validation that was performed.AnalysisTemplateValidationType
public void setStatus(String status)
The status of the validation.
status
- The status of the validation.AnalysisTemplateValidationStatus
public String getStatus()
The status of the validation.
AnalysisTemplateValidationStatus
public AnalysisTemplateValidationStatusDetail withStatus(String status)
The status of the validation.
status
- The status of the validation.AnalysisTemplateValidationStatus
public AnalysisTemplateValidationStatusDetail withStatus(AnalysisTemplateValidationStatus status)
The status of the validation.
status
- The status of the validation.AnalysisTemplateValidationStatus
public List<AnalysisTemplateValidationStatusReason> getReasons()
The reasons for the validation results.
public void setReasons(Collection<AnalysisTemplateValidationStatusReason> reasons)
The reasons for the validation results.
reasons
- The reasons for the validation results.public AnalysisTemplateValidationStatusDetail withReasons(AnalysisTemplateValidationStatusReason... reasons)
The reasons for the validation results.
NOTE: This method appends the values to the existing list (if any). Use
setReasons(java.util.Collection)
or withReasons(java.util.Collection)
if you want to override
the existing values.
reasons
- The reasons for the validation results.public AnalysisTemplateValidationStatusDetail withReasons(Collection<AnalysisTemplateValidationStatusReason> reasons)
The reasons for the validation results.
reasons
- The reasons for the validation results.public String toString()
toString
in class Object
Object.toString()
public AnalysisTemplateValidationStatusDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.