Interface DescribeLayersResponse.Builder

    • Method Detail

      • layers

        DescribeLayersResponse.Builder layers​(Collection<Layer> layers)

        An array of Layer objects that describe the layers.

        Parameters:
        layers - An array of Layer objects that describe the layers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • layers

        DescribeLayersResponse.Builder layers​(Layer... layers)

        An array of Layer objects that describe the layers.

        Parameters:
        layers - An array of Layer objects that describe the layers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • layers

        DescribeLayersResponse.Builder layers​(Consumer<Layer.Builder>... layers)

        An array of Layer objects that describe the layers.

        This is a convenience method that creates an instance of the Layer.Builder avoiding the need to create one manually via Layer.builder().

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

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