Interface PutOrganizationConfigRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConfigRequest.Builder
,CopyableBuilder<PutOrganizationConfigRuleRequest.Builder,
,PutOrganizationConfigRuleRequest> SdkBuilder<PutOrganizationConfigRuleRequest.Builder,
,PutOrganizationConfigRuleRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutOrganizationConfigRuleRequest
-
Method Summary
Modifier and TypeMethodDescriptionexcludedAccounts
(String... excludedAccounts) A comma-separated list of accounts that you want to exclude from an organization Config rule.excludedAccounts
(Collection<String> excludedAccounts) A comma-separated list of accounts that you want to exclude from an organization Config rule.organizationConfigRuleName
(String organizationConfigRuleName) The name that you assign to an organization Config rule.organizationCustomPolicyRuleMetadata
(Consumer<OrganizationCustomPolicyRuleMetadata.Builder> organizationCustomPolicyRuleMetadata) AnOrganizationCustomPolicyRuleMetadata
object.organizationCustomPolicyRuleMetadata
(OrganizationCustomPolicyRuleMetadata organizationCustomPolicyRuleMetadata) AnOrganizationCustomPolicyRuleMetadata
object.organizationCustomRuleMetadata
(Consumer<OrganizationCustomRuleMetadata.Builder> organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadata
object.organizationCustomRuleMetadata
(OrganizationCustomRuleMetadata organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadata
object.organizationManagedRuleMetadata
(Consumer<OrganizationManagedRuleMetadata.Builder> organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadata
object.organizationManagedRuleMetadata
(OrganizationManagedRuleMetadata organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadata
object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
- AnOrganizationManagedRuleMetadata
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
This is a convenience method that creates an instance of theOrganizationManagedRuleMetadata
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.OrganizationManagedRuleMetadata.Builder
avoiding the need to create one manually viaOrganizationManagedRuleMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganizationManagedRuleMetadata(OrganizationManagedRuleMetadata)
.- Parameters:
organizationManagedRuleMetadata
- a consumer that will call methods onOrganizationManagedRuleMetadata.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
- AnOrganizationCustomRuleMetadata
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
This is a convenience method that creates an instance of theOrganizationCustomRuleMetadata
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.OrganizationCustomRuleMetadata.Builder
avoiding the need to create one manually viaOrganizationCustomRuleMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganizationCustomRuleMetadata(OrganizationCustomRuleMetadata)
.- Parameters:
organizationCustomRuleMetadata
- a consumer that will call methods onOrganizationCustomRuleMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
- AnOrganizationCustomPolicyRuleMetadata
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
This is a convenience method that creates an instance of theOrganizationCustomPolicyRuleMetadata
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.OrganizationCustomPolicyRuleMetadata.Builder
avoiding the need to create one manually viaOrganizationCustomPolicyRuleMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadata)
.- Parameters:
organizationCustomPolicyRuleMetadata
- a consumer that will call methods onOrganizationCustomPolicyRuleMetadata.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutOrganizationConfigRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-