Interface BatchGetModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetModelResponse.Builder,,BatchGetModelResponse> SdkBuilder<BatchGetModelResponse.Builder,,BatchGetModelResponse> SdkPojo,SdkResponse.Builder,WorkSpacesResponse.Builder
- Enclosing class:
BatchGetModelResponse
@Mutable
@NotThreadSafe
public static interface BatchGetModelResponse.Builder
extends WorkSpacesResponse.Builder, SdkPojo, CopyableBuilder<BatchGetModelResponse.Builder,BatchGetModelResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<ModelError> errors) The identifiers that the service couldn't return, with the reason for each.errors(Consumer<ModelError.Builder>... errors) The identifiers that the service couldn't return, with the reason for each.errors(ModelError... errors) The identifiers that the service couldn't return, with the reason for each.models(Collection<Model> models) The models.models(Consumer<Model.Builder>... models) The models.The models.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspaces.model.WorkSpacesResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
models
The models.
- Parameters:
models- The models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
The models.
- Parameters:
models- The models.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
The models.
This is a convenience method that creates an instance of theModel.Builderavoiding the need to create one manually viaModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodels(List<Model>).- Parameters:
models- a consumer that will call methods onModel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
The identifiers that the service couldn't return, with the reason for each.
- Parameters:
errors- The identifiers that the service couldn't return, with the reason for each.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The identifiers that the service couldn't return, with the reason for each.
- Parameters:
errors- The identifiers that the service couldn't return, with the reason for each.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The identifiers that the service couldn't return, with the reason for each.
This is a convenience method that creates an instance of theModelError.Builderavoiding the need to create one manually viaModelError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<ModelError>).- Parameters:
errors- a consumer that will call methods onModelError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-