Interface Scope.Builder

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

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

    • complianceResourceTypes

      Scope.Builder complianceResourceTypes(Collection<String> complianceResourceTypes)

      The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId.

      Parameters:
      complianceResourceTypes - The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • complianceResourceTypes

      Scope.Builder complianceResourceTypes(String... complianceResourceTypes)

      The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId.

      Parameters:
      complianceResourceTypes - The resource types of only those Amazon Web Services resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagKey

      Scope.Builder tagKey(String tagKey)

      The tag key that is applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule.

      Parameters:
      tagKey - The tag key that is applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagValue

      Scope.Builder tagValue(String tagValue)

      The tag value applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule. If you specify a value for TagValue, you must also specify a value for TagKey.

      Parameters:
      tagValue - The tag value applied to only those Amazon Web Services resources that you want to trigger an evaluation for the rule. If you specify a value for TagValue, you must also specify a value for TagKey.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • complianceResourceId

      Scope.Builder complianceResourceId(String complianceResourceId)

      The ID of the only Amazon Web Services resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes.

      Parameters:
      complianceResourceId - The ID of the only Amazon Web Services resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.