Interface BatchGetVariableResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetVariableResponse.Builder,BatchGetVariableResponse>,FraudDetectorResponse.Builder,SdkBuilder<BatchGetVariableResponse.Builder,BatchGetVariableResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetVariableResponse
public static interface BatchGetVariableResponse.Builder extends FraudDetectorResponse.Builder, SdkPojo, CopyableBuilder<BatchGetVariableResponse.Builder,BatchGetVariableResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetVariableResponse.Buildererrors(Collection<BatchGetVariableError> errors)The errors from the request.BatchGetVariableResponse.Buildererrors(Consumer<BatchGetVariableError.Builder>... errors)The errors from the request.BatchGetVariableResponse.Buildererrors(BatchGetVariableError... errors)The errors from the request.BatchGetVariableResponse.Buildervariables(Collection<Variable> variables)The returned variables.BatchGetVariableResponse.Buildervariables(Consumer<Variable.Builder>... variables)The returned variables.BatchGetVariableResponse.Buildervariables(Variable... variables)The returned variables.-
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
-
variables
BatchGetVariableResponse.Builder variables(Collection<Variable> variables)
The returned variables.
- Parameters:
variables- The returned variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
BatchGetVariableResponse.Builder variables(Variable... variables)
The returned variables.
- Parameters:
variables- The returned variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
BatchGetVariableResponse.Builder variables(Consumer<Variable.Builder>... variables)
The returned variables.
This is a convenience method that creates an instance of theVariable.Builderavoiding the need to create one manually viaVariable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#variables(List.) - Parameters:
variables- a consumer that will call methods onVariable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#variables(java.util.Collection)
-
errors
BatchGetVariableResponse.Builder errors(Collection<BatchGetVariableError> errors)
The errors from the request.
- Parameters:
errors- The errors from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetVariableResponse.Builder errors(BatchGetVariableError... errors)
The errors from the request.
- Parameters:
errors- The errors from the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetVariableResponse.Builder errors(Consumer<BatchGetVariableError.Builder>... errors)
The errors from the request.
This is a convenience method that creates an instance of theBatchGetVariableError.Builderavoiding the need to create one manually viaBatchGetVariableError.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 onBatchGetVariableError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-