Class AnalysisTemplateValidationStatusDetail
- java.lang.Object
-
- software.amazon.awssdk.services.cleanrooms.model.AnalysisTemplateValidationStatusDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AnalysisTemplateValidationStatusDetail.Builder,AnalysisTemplateValidationStatusDetail>
@Generated("software.amazon.awssdk:codegen") public final class AnalysisTemplateValidationStatusDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalysisTemplateValidationStatusDetail.Builder,AnalysisTemplateValidationStatusDetail>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAnalysisTemplateValidationStatusDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnalysisTemplateValidationStatusDetail.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasReasons()For responses, this returns true if the service returned a value for the Reasons property.List<AnalysisTemplateValidationStatusReason>reasons()The reasons for the validation results.List<SdkField<?>>sdkFields()static Class<? extends AnalysisTemplateValidationStatusDetail.Builder>serializableBuilderClass()AnalysisTemplateValidationStatusstatus()The status of the validation.StringstatusAsString()The status of the validation.AnalysisTemplateValidationStatusDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.AnalysisTemplateValidationTypetype()The type of validation that was performed.StringtypeAsString()The type of validation that was performed.-
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
-
type
public final AnalysisTemplateValidationType type()
The type of validation that was performed.
If the service returns an enum value that is not available in the current SDK version,
typewill returnAnalysisTemplateValidationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of validation that was performed.
- See Also:
AnalysisTemplateValidationType
-
typeAsString
public final String typeAsString()
The type of validation that was performed.
If the service returns an enum value that is not available in the current SDK version,
typewill returnAnalysisTemplateValidationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of validation that was performed.
- See Also:
AnalysisTemplateValidationType
-
status
public final AnalysisTemplateValidationStatus status()
The status of the validation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAnalysisTemplateValidationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the validation.
- See Also:
AnalysisTemplateValidationStatus
-
statusAsString
public final String statusAsString()
The status of the validation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnAnalysisTemplateValidationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the validation.
- See Also:
AnalysisTemplateValidationStatus
-
hasReasons
public final boolean hasReasons()
For responses, this returns true if the service returned a value for the Reasons property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
reasons
public final List<AnalysisTemplateValidationStatusReason> reasons()
The reasons for the validation results.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasReasons()method.- Returns:
- The reasons for the validation results.
-
toBuilder
public AnalysisTemplateValidationStatusDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnalysisTemplateValidationStatusDetail.Builder,AnalysisTemplateValidationStatusDetail>
-
builder
public static AnalysisTemplateValidationStatusDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnalysisTemplateValidationStatusDetail.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.
-
-