Interface BatchGetViewResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetViewResponse.Builder,BatchGetViewResponse>,ResourceExplorer2Response.Builder,SdkBuilder<BatchGetViewResponse.Builder,BatchGetViewResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetViewResponse
public static interface BatchGetViewResponse.Builder extends ResourceExplorer2Response.Builder, SdkPojo, CopyableBuilder<BatchGetViewResponse.Builder,BatchGetViewResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetViewResponse.Buildererrors(Collection<BatchGetViewError> errors)If any of the specified ARNs result in an error, then this structure describes the error.BatchGetViewResponse.Buildererrors(Consumer<BatchGetViewError.Builder>... errors)If any of the specified ARNs result in an error, then this structure describes the error.BatchGetViewResponse.Buildererrors(BatchGetViewError... errors)If any of the specified ARNs result in an error, then this structure describes the error.BatchGetViewResponse.Builderviews(Collection<View> views)A structure with a list of objects with details for each of the specified views.BatchGetViewResponse.Builderviews(Consumer<View.Builder>... views)A structure with a list of objects with details for each of the specified views.BatchGetViewResponse.Builderviews(View... 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
copy
-
Methods inherited from interface software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Response.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
BatchGetViewResponse.Builder errors(Collection<BatchGetViewError> 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
BatchGetViewResponse.Builder errors(BatchGetViewError... 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
BatchGetViewResponse.Builder errors(Consumer<BatchGetViewError.Builder>... 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 to#errors(List.) - 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:
#errors(java.util.Collection)
-
views
BatchGetViewResponse.Builder views(Collection<View> 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
BatchGetViewResponse.Builder views(View... 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
BatchGetViewResponse.Builder views(Consumer<View.Builder>... 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 to#views(List.) - 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:
#views(java.util.Collection)
-
-