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) AnOrganizationCustomPolicyRuleMetadataobject.organizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadata organizationCustomPolicyRuleMetadata) AnOrganizationCustomPolicyRuleMetadataobject.organizationCustomRuleMetadata(Consumer<OrganizationCustomRuleMetadata.Builder> organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadataobject.organizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadataobject.organizationManagedRuleMetadata(Consumer<OrganizationManagedRuleMetadata.Builder> organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadataobject.organizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadataobject.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.config.model.ConfigRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
OrganizationManagedRuleMetadataobject. 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- AnOrganizationManagedRuleMetadataobject. 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 theOrganizationManagedRuleMetadataobject. 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.Builderavoiding the need to create one manually viaOrganizationManagedRuleMetadata.builder().When the
Consumercompletes,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
OrganizationCustomRuleMetadataobject. 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- AnOrganizationCustomRuleMetadataobject. 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 theOrganizationCustomRuleMetadataobject. 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.Builderavoiding the need to create one manually viaOrganizationCustomRuleMetadata.builder().When the
Consumercompletes,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
OrganizationCustomPolicyRuleMetadataobject. 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- AnOrganizationCustomPolicyRuleMetadataobject. 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 theOrganizationCustomPolicyRuleMetadataobject. 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.Builderavoiding the need to create one manually viaOrganizationCustomPolicyRuleMetadata.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-