Interface PutOrganizationConfigRuleRequest.Builder

  • Method Details

    • organizationConfigRuleName

      PutOrganizationConfigRuleRequest.Builder organizationConfigRuleName(String organizationConfigRuleName)

      The name that you assign to an organization Config rule.

      Parameters:
      organizationConfigRuleName - The name that you assign to an organization Config rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationManagedRuleMetadata

      PutOrganizationConfigRuleRequest.Builder organizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata)

      An OrganizationManagedRuleMetadata object. This object specifies organization managed rule metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.

      Parameters:
      organizationManagedRuleMetadata - An OrganizationManagedRuleMetadata object. This object specifies organization managed rule metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationManagedRuleMetadata

      default PutOrganizationConfigRuleRequest.Builder organizationManagedRuleMetadata(Consumer<OrganizationManagedRuleMetadata.Builder> organizationManagedRuleMetadata)

      An OrganizationManagedRuleMetadata object. This object specifies organization managed rule metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.

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

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

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

      PutOrganizationConfigRuleRequest.Builder organizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata)

      An OrganizationCustomRuleMetadata object. This object specifies organization custom rule metadata such as resource type, resource ID of Amazon Web Services resource, Lambda function ARN, and organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.

      Parameters:
      organizationCustomRuleMetadata - An OrganizationCustomRuleMetadata object. This object specifies organization custom rule metadata such as resource type, resource ID of Amazon Web Services resource, Lambda function ARN, and organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationCustomRuleMetadata

      default PutOrganizationConfigRuleRequest.Builder organizationCustomRuleMetadata(Consumer<OrganizationCustomRuleMetadata.Builder> organizationCustomRuleMetadata)

      An OrganizationCustomRuleMetadata object. This object specifies organization custom rule metadata such as resource type, resource ID of Amazon Web Services resource, Lambda function ARN, and organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.

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

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

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

      PutOrganizationConfigRuleRequest.Builder excludedAccounts(Collection<String> excludedAccounts)

      A comma-separated list of accounts that you want to exclude from an organization Config rule.

      Parameters:
      excludedAccounts - A comma-separated list of accounts that you want to exclude from an organization Config rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • excludedAccounts

      PutOrganizationConfigRuleRequest.Builder excludedAccounts(String... excludedAccounts)

      A comma-separated list of accounts that you want to exclude from an organization Config rule.

      Parameters:
      excludedAccounts - A comma-separated list of accounts that you want to exclude from an organization Config rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationCustomPolicyRuleMetadata

      PutOrganizationConfigRuleRequest.Builder organizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadata organizationCustomPolicyRuleMetadata)

      An OrganizationCustomPolicyRuleMetadata object. This object specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.

      Parameters:
      organizationCustomPolicyRuleMetadata - An OrganizationCustomPolicyRuleMetadata object. This object specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationCustomPolicyRuleMetadata

      default PutOrganizationConfigRuleRequest.Builder organizationCustomPolicyRuleMetadata(Consumer<OrganizationCustomPolicyRuleMetadata.Builder> organizationCustomPolicyRuleMetadata)

      An OrganizationCustomPolicyRuleMetadata object. This object specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.

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

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

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

      PutOrganizationConfigRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.