Interface BatchGetControlResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetControlResponse.Builder,,BatchGetControlResponse> SdkBuilder<BatchGetControlResponse.Builder,,BatchGetControlResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetControlResponse
-
Method Summary
Modifier and TypeMethodDescriptioncontrols(Collection<Control> controls) The controls that were successfully retrieved.controls(Consumer<Control.Builder>... controls) The controls that were successfully retrieved.The controls that were successfully retrieved.errors(Collection<BatchGetControlError> errors) The entries for requested controls that the operation could not return.errors(Consumer<BatchGetControlError.Builder>... errors) The entries for requested controls that the operation could not return.errors(BatchGetControlError... errors) The entries for requested controls that the operation could not return.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
controls
The controls that were successfully retrieved.
- Parameters:
controls- The controls that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
The controls that were successfully retrieved.
- Parameters:
controls- The controls that were successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
controls
The controls that were successfully retrieved.
This is a convenience method that creates an instance of theControl.Builderavoiding the need to create one manually viaControl.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrols(List<Control>).- Parameters:
controls- a consumer that will call methods onControl.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
The entries for requested controls that the operation could not return. Empty when the operation returned all of them; a request in which every control failed still succeeds.
- Parameters:
errors- The entries for requested controls that the operation could not return. Empty when the operation returned all of them; a request in which every control failed still succeeds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The entries for requested controls that the operation could not return. Empty when the operation returned all of them; a request in which every control failed still succeeds.
- Parameters:
errors- The entries for requested controls that the operation could not return. Empty when the operation returned all of them; a request in which every control failed still succeeds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The entries for requested controls that the operation could not return. Empty when the operation returned all of them; a request in which every control failed still succeeds.
This is a convenience method that creates an instance of theBatchGetControlError.Builderavoiding the need to create one manually viaBatchGetControlError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetControlError>).- Parameters:
errors- a consumer that will call methods onBatchGetControlError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-