Interface GetServersResponse.Builder

    • Method Detail

      • lastModifiedOn

        GetServersResponse.Builder lastModifiedOn​(Instant lastModifiedOn)

        The time when the server was last modified.

        Parameters:
        lastModifiedOn - The time when the server was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverList

        GetServersResponse.Builder serverList​(Collection<Server> serverList)

        Information about the servers.

        Parameters:
        serverList - Information about the servers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverList

        GetServersResponse.Builder serverList​(Server... serverList)

        Information about the servers.

        Parameters:
        serverList - Information about the servers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverList

        GetServersResponse.Builder serverList​(Consumer<Server.Builder>... serverList)

        Information about the servers.

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

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

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

        GetServersResponse.Builder nextToken​(String nextToken)

        The token required to retrieve the next set of results. This value is null when there are no more results to return.

        Parameters:
        nextToken - The token required to retrieve the next set of results. This value is null when there are no more results to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.