Interface BatchGetViewResponse.Builder

    • 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.
      • 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 the View.Builder avoiding the need to create one manually via View.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #views(List).

        Parameters:
        views - a consumer that will call methods on View.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #views(java.util.Collection)