Interface BatchCreateVariableResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchCreateVariableResponse.Builder,
,BatchCreateVariableResponse> FraudDetectorResponse.Builder
,SdkBuilder<BatchCreateVariableResponse.Builder,
,BatchCreateVariableResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchCreateVariableResponse
@Mutable
@NotThreadSafe
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 theBatchCreateVariable
request.errors
(Consumer<BatchCreateVariableError.Builder>... errors) Provides the errors for theBatchCreateVariable
request.errors
(BatchCreateVariableError... errors) Provides the errors for theBatchCreateVariable
request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
Provides the errors for the
BatchCreateVariable
request.- Parameters:
errors
- Provides the errors for theBatchCreateVariable
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Provides the errors for the
BatchCreateVariable
request.- Parameters:
errors
- Provides the errors for theBatchCreateVariable
request.- 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 theBatchCreateVariable
request.BatchCreateVariableError.Builder
avoiding the need to create one manually viaBatchCreateVariableError.builder()
.When the
Consumer
completes,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:
-