Interface PolicyFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PolicyFilter.Builder,PolicyFilter>, SdkBuilder<PolicyFilter.Builder,PolicyFilter>, SdkPojo
Enclosing class:
PolicyFilter

public static interface PolicyFilter.Builder extends SdkPojo, CopyableBuilder<PolicyFilter.Builder,PolicyFilter>
  • Method Details

    • principal

      PolicyFilter.Builder principal(EntityReference principal)

      Filters the output to only policies that reference the specified principal.

      Parameters:
      principal - Filters the output to only policies that reference the specified principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principal

      default PolicyFilter.Builder principal(Consumer<EntityReference.Builder> principal)

      Filters the output to only policies that reference the specified principal.

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

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

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

      Filters the output to only policies that reference the specified resource.

      Parameters:
      resource - Filters the output to only policies that reference the specified resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resource

      Filters the output to only policies that reference the specified resource.

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

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

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

      PolicyFilter.Builder policyType(String policyType)

      Filters the output to only policies of the specified type.

      Parameters:
      policyType - Filters the output to only policies of the specified type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policyType

      PolicyFilter.Builder policyType(PolicyType policyType)

      Filters the output to only policies of the specified type.

      Parameters:
      policyType - Filters the output to only policies of the specified type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • policyTemplateId

      PolicyFilter.Builder policyTemplateId(String policyTemplateId)

      Filters the output to only template-linked policies that were instantiated from the specified policy template.

      Parameters:
      policyTemplateId - Filters the output to only template-linked policies that were instantiated from the specified policy template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.