Interface OrganizationConfigRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OrganizationConfigRule.Builder,
,OrganizationConfigRule> SdkBuilder<OrganizationConfigRule.Builder,
,OrganizationConfigRule> SdkPojo
- Enclosing class:
OrganizationConfigRule
-
Method Summary
Modifier and TypeMethodDescriptionexcludedAccounts
(String... excludedAccounts) A comma-separated list of accounts excluded from organization Config rule.excludedAccounts
(Collection<String> excludedAccounts) A comma-separated list of accounts excluded from organization Config rule.lastUpdateTime
(Instant lastUpdateTime) The timestamp of the last update.organizationConfigRuleArn
(String organizationConfigRuleArn) Amazon Resource Name (ARN) of organization Config rule.organizationConfigRuleName
(String organizationConfigRuleName) The name that you assign to organization Config rule.default OrganizationConfigRule.Builder
organizationCustomPolicyRuleMetadata
(Consumer<OrganizationCustomPolicyRuleMetadataNoPolicy.Builder> organizationCustomPolicyRuleMetadata) An object that specifies metadata for your organization's Config Custom Policy rule.organizationCustomPolicyRuleMetadata
(OrganizationCustomPolicyRuleMetadataNoPolicy organizationCustomPolicyRuleMetadata) An object that specifies metadata for your organization's Config Custom Policy rule.default OrganizationConfigRule.Builder
organizationCustomRuleMetadata
(Consumer<OrganizationCustomRuleMetadata.Builder> organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadata
object.organizationCustomRuleMetadata
(OrganizationCustomRuleMetadata organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadata
object.default OrganizationConfigRule.Builder
organizationManagedRuleMetadata
(Consumer<OrganizationManagedRuleMetadata.Builder> organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadata
object.organizationManagedRuleMetadata
(OrganizationManagedRuleMetadata organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadata
object.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
The name that you assign to organization Config rule.
- Parameters:
organizationConfigRuleName
- The name that you assign to organization Config rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationConfigRuleArn
Amazon Resource Name (ARN) of organization Config rule.
- Parameters:
organizationConfigRuleArn
- Amazon Resource Name (ARN) of organization Config rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationManagedRuleMetadata
OrganizationConfigRule.Builder organizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata) An
OrganizationManagedRuleMetadata
object.- Parameters:
organizationManagedRuleMetadata
- AnOrganizationManagedRuleMetadata
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationManagedRuleMetadata
default OrganizationConfigRule.Builder organizationManagedRuleMetadata(Consumer<OrganizationManagedRuleMetadata.Builder> organizationManagedRuleMetadata) An
This is a convenience method that creates an instance of theOrganizationManagedRuleMetadata
object.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
OrganizationConfigRule.Builder organizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata) An
OrganizationCustomRuleMetadata
object.- Parameters:
organizationCustomRuleMetadata
- AnOrganizationCustomRuleMetadata
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationCustomRuleMetadata
default OrganizationConfigRule.Builder organizationCustomRuleMetadata(Consumer<OrganizationCustomRuleMetadata.Builder> organizationCustomRuleMetadata) An
This is a convenience method that creates an instance of theOrganizationCustomRuleMetadata
object.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 excluded from organization Config rule.
- Parameters:
excludedAccounts
- A comma-separated list of accounts excluded from 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 excluded from organization Config rule.
- Parameters:
excludedAccounts
- A comma-separated list of accounts excluded from organization Config rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
The timestamp of the last update.
- Parameters:
lastUpdateTime
- The timestamp of the last update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationCustomPolicyRuleMetadata
OrganizationConfigRule.Builder organizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy organizationCustomPolicyRuleMetadata) An object that 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 object that 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 OrganizationConfigRule.Builder organizationCustomPolicyRuleMetadata(Consumer<OrganizationCustomPolicyRuleMetadataNoPolicy.Builder> organizationCustomPolicyRuleMetadata) An object that 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 theOrganizationCustomPolicyRuleMetadataNoPolicy.Builder
avoiding the need to create one manually viaOrganizationCustomPolicyRuleMetadataNoPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy)
.- Parameters:
organizationCustomPolicyRuleMetadata
- a consumer that will call methods onOrganizationCustomPolicyRuleMetadataNoPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-