Interface GetAppResponse.Builder

    • Method Detail

      • appSummary

        GetAppResponse.Builder appSummary​(AppSummary appSummary)

        Information about the application.

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

        GetAppResponse.Builder serverGroups​(Collection<ServerGroup> serverGroups)

        The server groups that belong to the application.

        Parameters:
        serverGroups - The server groups that belong to the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverGroups

        GetAppResponse.Builder serverGroups​(ServerGroup... serverGroups)

        The server groups that belong to the application.

        Parameters:
        serverGroups - The server groups that belong to the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetAppResponse.Builder tags​(Collection<Tag> tags)

        The tags associated with the application.

        Parameters:
        tags - The tags associated with the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetAppResponse.Builder tags​(Tag... tags)

        The tags associated with the application.

        Parameters:
        tags - The tags associated with the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetAppResponse.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags associated with the application.

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

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

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