Interface BatchCreateVariableResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchCreateVariableResponse.Builder,,BatchCreateVariableResponse> FraudDetectorResponse.Builder,SdkBuilder<BatchCreateVariableResponse.Builder,,BatchCreateVariableResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchCreateVariableResponse
public static interface BatchCreateVariableResponse.Builder
extends FraudDetectorResponse.Builder, SdkPojo, CopyableBuilder<BatchCreateVariableResponse.Builder,BatchCreateVariableResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchCreateVariableError> errors) Provides the errors for theBatchCreateVariablerequest.errors(Consumer<BatchCreateVariableError.Builder>... errors) Provides the errors for theBatchCreateVariablerequest.errors(BatchCreateVariableError... errors) Provides the errors for theBatchCreateVariablerequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
errors
Provides the errors for the
BatchCreateVariablerequest.- Parameters:
errors- Provides the errors for theBatchCreateVariablerequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Provides the errors for the
BatchCreateVariablerequest.- Parameters:
errors- Provides the errors for theBatchCreateVariablerequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Provides the errors for the
This is a convenience method that creates an instance of theBatchCreateVariablerequest.BatchCreateVariableError.Builderavoiding the need to create one manually viaBatchCreateVariableError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchCreateVariableError>).- Parameters:
errors- a consumer that will call methods onBatchCreateVariableError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-