Interface UpdateAppRequest.Builder

    • Method Detail

      • appId

        UpdateAppRequest.Builder appId​(String appId)

        The ID of the application.

        Parameters:
        appId - The ID of the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateAppRequest.Builder name​(String name)

        The new name of the application.

        Parameters:
        name - The new name of the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateAppRequest.Builder description​(String description)

        The new description of the application.

        Parameters:
        description - The new description of the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleName

        UpdateAppRequest.Builder roleName​(String roleName)

        The name of the service role in the customer's account used by Server Migration Service.

        Parameters:
        roleName - The name of the service role in the customer's account used by Server Migration Service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serverGroups

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

        The server groups in the application to update.

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

        UpdateAppRequest.Builder serverGroups​(ServerGroup... serverGroups)

        The server groups in the application to update.

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

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

        The tags to associate with the application.

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

        UpdateAppRequest.Builder tags​(Tag... tags)

        The tags to associate with the application.

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

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

        The tags to associate 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)