Interface ControlScope.Builder

    • Method Detail

      • 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

        ControlScope.Builder tags​(Map<String,​String> 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.