Interface CreateGroupResponse.Builder

    • Method Detail

      • group

        CreateGroupResponse.Builder group​(Group group)

        The group that was created. Contains the name of the group that was created, the Amazon Resource Name (ARN) of the group that was generated based on the group name, the filter expression, and the insight configuration that was assigned to the group.

        Parameters:
        group - The group that was created. Contains the name of the group that was created, the Amazon Resource Name (ARN) of the group that was generated based on the group name, the filter expression, and the insight configuration that was assigned to the group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • group

        default CreateGroupResponse.Builder group​(Consumer<Group.Builder> group)

        The group that was created. Contains the name of the group that was created, the Amazon Resource Name (ARN) of the group that was generated based on the group name, the filter expression, and the insight configuration that was assigned to the group.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to group(Group).

        Parameters:
        group - a consumer that will call methods on Group.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        group(Group)