Interface GroupingResource.Builder

  • Method Details

    • logicalResourceId

      GroupingResource.Builder logicalResourceId(LogicalResourceId logicalResourceId)

      Indicates the logical identifier of the resource.

      Parameters:
      logicalResourceId - Indicates the logical identifier of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logicalResourceId

      default GroupingResource.Builder logicalResourceId(Consumer<LogicalResourceId.Builder> logicalResourceId)

      Indicates the logical identifier of the resource.

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

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

      Parameters:
      logicalResourceId - a consumer that will call methods on LogicalResourceId.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • physicalResourceId

      GroupingResource.Builder physicalResourceId(PhysicalResourceId physicalResourceId)

      Indicates the physical identifier of the resource.

      Parameters:
      physicalResourceId - Indicates the physical identifier of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • physicalResourceId

      default GroupingResource.Builder physicalResourceId(Consumer<PhysicalResourceId.Builder> physicalResourceId)

      Indicates the physical identifier of the resource.

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

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

      Parameters:
      physicalResourceId - a consumer that will call methods on PhysicalResourceId.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceName

      GroupingResource.Builder resourceName(String resourceName)

      Indicates the resource name.

      Parameters:
      resourceName - Indicates the resource name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      GroupingResource.Builder resourceType(String resourceType)

      Indicates the resource type.

      Parameters:
      resourceType - Indicates the resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceAppComponentIds

      GroupingResource.Builder sourceAppComponentIds(Collection<String> sourceAppComponentIds)

      Indicates the identifier of the source AppComponents in which the resources were previously grouped into.

      Parameters:
      sourceAppComponentIds - Indicates the identifier of the source AppComponents in which the resources were previously grouped into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceAppComponentIds

      GroupingResource.Builder sourceAppComponentIds(String... sourceAppComponentIds)

      Indicates the identifier of the source AppComponents in which the resources were previously grouped into.

      Parameters:
      sourceAppComponentIds - Indicates the identifier of the source AppComponents in which the resources were previously grouped into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.