Interface ControlScope.Builder

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

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

    • complianceResourceIds

      ControlScope.Builder complianceResourceIds(Collection<String> complianceResourceIds)

      The ID of the only Amazon Web Services resource that you want your control scope to contain.

      Parameters:
      complianceResourceIds - The ID of the only Amazon Web Services resource that you want your control scope to contain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • complianceResourceIds

      ControlScope.Builder complianceResourceIds(String... complianceResourceIds)

      The ID of the only Amazon Web Services resource that you want your control scope to contain.

      Parameters:
      complianceResourceIds - The ID of the only Amazon Web Services resource that you want your control scope to contain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • complianceResourceTypes

      ControlScope.Builder complianceResourceTypes(Collection<String> complianceResourceTypes)

      Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

      Parameters:
      complianceResourceTypes - Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • complianceResourceTypes

      ControlScope.Builder complianceResourceTypes(String... complianceResourceTypes)

      Describes whether the control scope includes one or more types of resources, such as EFS or RDS.

      Parameters:
      complianceResourceTypes - Describes whether the control scope includes one or more types of resources, such as EFS or RDS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty string. The structure to assign a tag is: [{"Key":"string","Value":"string"}].

      Parameters:
      tags - The tag key-value pair applied to those Amazon Web Services resources that you want to trigger an evaluation for a rule. A maximum of one key-value pair can be provided. The tag value is optional, but it cannot be an empty string. The structure to assign a tag is: [{"Key":"string","Value":"string"}].
      Returns:
      Returns a reference to this object so that method calls can be chained together.