Interface ListEulasResponse.Builder

    • Method Detail

      • eulas

        ListEulasResponse.Builder eulas​(Collection<Eula> eulas)

        A collection of EULA resources.

        Parameters:
        eulas - A collection of EULA resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eulas

        ListEulasResponse.Builder eulas​(Eula... eulas)

        A collection of EULA resources.

        Parameters:
        eulas - A collection of EULA resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eulas

        ListEulasResponse.Builder eulas​(Consumer<Eula.Builder>... eulas)

        A collection of EULA resources.

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

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

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

        ListEulasResponse.Builder nextToken​(String nextToken)

        The token for the next set of results, or null if there are no more results.

        Parameters:
        nextToken - The token for the next set of results, or null if there are no more results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.