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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchCreateVariableResponse.Buildererrors(Collection<BatchCreateVariableError> errors)Provides the errors for theBatchCreateVariablerequest.BatchCreateVariableResponse.Buildererrors(Consumer<BatchCreateVariableError.Builder>... errors)Provides the errors for theBatchCreateVariablerequest.BatchCreateVariableResponse.Buildererrors(BatchCreateVariableError... errors)Provides the errors for theBatchCreateVariablerequest.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
errors
BatchCreateVariableResponse.Builder errors(Collection<BatchCreateVariableError> 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
BatchCreateVariableResponse.Builder errors(BatchCreateVariableError... 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
BatchCreateVariableResponse.Builder errors(Consumer<BatchCreateVariableError.Builder>... 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 to#errors(List.) - 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:
#errors(java.util.Collection)
-
-