Class DescribeLayersResult

    • Constructor Detail

      • DescribeLayersResult

        public DescribeLayersResult()
    • Method Detail

      • getLayers

        public List<Layer> getLayers()

        An array of Layer objects that describe the layers.

        Returns:
        An array of Layer objects that describe the layers.
      • setLayers

        public void setLayers​(Collection<Layer> layers)

        An array of Layer objects that describe the layers.

        Parameters:
        layers - An array of Layer objects that describe the layers.
      • withLayers

        public DescribeLayersResult withLayers​(Layer... layers)

        An array of Layer objects that describe the layers.

        NOTE: This method appends the values to the existing list (if any). Use setLayers(java.util.Collection) or withLayers(java.util.Collection) if you want to override the existing values.

        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.
      • withLayers

        public DescribeLayersResult withLayers​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object