Interface BatchGetViewResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetViewResponse.Builder,,BatchGetViewResponse> ResourceExplorer2Response.Builder,SdkBuilder<BatchGetViewResponse.Builder,,BatchGetViewResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetViewResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchGetViewError> errors) If any of the specified ARNs result in an error, then this structure describes the error.errors(Consumer<BatchGetViewError.Builder>... errors) If any of the specified ARNs result in an error, then this structure describes the error.errors(BatchGetViewError... errors) If any of the specified ARNs result in an error, then this structure describes the error.views(Collection<View> views) A structure with a list of objects with details for each of the specified views.views(Consumer<View.Builder>... views) A structure with a list of objects with details for each of the specified views.A structure with a list of objects with details for each of the specified views.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
If any of the specified ARNs result in an error, then this structure describes the error.
- Parameters:
errors- If any of the specified ARNs result in an error, then this structure describes the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
If any of the specified ARNs result in an error, then this structure describes the error.
- Parameters:
errors- If any of the specified ARNs result in an error, then this structure describes the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
If any of the specified ARNs result in an error, then this structure describes the error.
This is a convenience method that creates an instance of theBatchGetViewError.Builderavoiding the need to create one manually viaBatchGetViewError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetViewError>).- Parameters:
errors- a consumer that will call methods onBatchGetViewError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
views
A structure with a list of objects with details for each of the specified views.
- Parameters:
views- A structure with a list of objects with details for each of the specified views.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
views
A structure with a list of objects with details for each of the specified views.
- Parameters:
views- A structure with a list of objects with details for each of the specified views.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
views
A structure with a list of objects with details for each of the specified views.
This is a convenience method that creates an instance of theView.Builderavoiding the need to create one manually viaView.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toviews(List<View>).- Parameters:
views- a consumer that will call methods onView.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-