Interface BatchGetSchemaAnalysisRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CleanRoomsResponse.Builder,CopyableBuilder<BatchGetSchemaAnalysisRuleResponse.Builder,,BatchGetSchemaAnalysisRuleResponse> SdkBuilder<BatchGetSchemaAnalysisRuleResponse.Builder,,BatchGetSchemaAnalysisRuleResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetSchemaAnalysisRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptionanalysisRules(Collection<AnalysisRule> analysisRules) The retrieved list of analysis rules.analysisRules(Consumer<AnalysisRule.Builder>... analysisRules) The retrieved list of analysis rules.analysisRules(AnalysisRule... analysisRules) The retrieved list of analysis rules.Error reasons for schemas that could not be retrieved.errors(Consumer<BatchGetSchemaAnalysisRuleError.Builder>... errors) Error reasons for schemas that could not be retrieved.errors(BatchGetSchemaAnalysisRuleError... errors) Error reasons for schemas that could not be retrieved.Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
analysisRules
The retrieved list of analysis rules.
- Parameters:
analysisRules- The retrieved list of analysis rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisRules
The retrieved list of analysis rules.
- Parameters:
analysisRules- The retrieved list of analysis rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisRules
BatchGetSchemaAnalysisRuleResponse.Builder analysisRules(Consumer<AnalysisRule.Builder>... analysisRules) The retrieved list of analysis rules.
This is a convenience method that creates an instance of theAnalysisRule.Builderavoiding the need to create one manually viaAnalysisRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanalysisRules(List<AnalysisRule>).- Parameters:
analysisRules- a consumer that will call methods onAnalysisRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
BatchGetSchemaAnalysisRuleResponse.Builder errors(Collection<BatchGetSchemaAnalysisRuleError> errors) Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.
- Parameters:
errors- Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.
- Parameters:
errors- Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetSchemaAnalysisRuleResponse.Builder errors(Consumer<BatchGetSchemaAnalysisRuleError.Builder>... errors) Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.
This is a convenience method that creates an instance of theBatchGetSchemaAnalysisRuleError.Builderavoiding the need to create one manually viaBatchGetSchemaAnalysisRuleError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetSchemaAnalysisRuleError>).- Parameters:
errors- a consumer that will call methods onBatchGetSchemaAnalysisRuleError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-