Interface ResourceSet.Builder

  • Method Details

    • allResourcesInRegion

      ResourceSet.Builder allResourcesInRegion(Unit allResourcesInRegion)

      Authorizes the support operator to act on all resources in the Region.

      Parameters:
      allResourcesInRegion - Authorizes the support operator to act on all resources in the Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allResourcesInRegion

      default ResourceSet.Builder allResourcesInRegion(Consumer<Unit.Builder> allResourcesInRegion)

      Authorizes the support operator to act on all resources in the Region.

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

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

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

      ResourceSet.Builder resources(Collection<String> resources)

      A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.

      Parameters:
      resources - A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      ResourceSet.Builder resources(String... resources)

      A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.

      Parameters:
      resources - A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.