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.BuilderorganizationCustomPolicyRuleMetadata(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.BuilderorganizationCustomRuleMetadata(Consumer<OrganizationCustomRuleMetadata.Builder> organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadataobject.organizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata) AnOrganizationCustomRuleMetadataobject.default OrganizationConfigRule.BuilderorganizationManagedRuleMetadata(Consumer<OrganizationManagedRuleMetadata.Builder> organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadataobject.organizationManagedRuleMetadata(OrganizationManagedRuleMetadata organizationManagedRuleMetadata) AnOrganizationManagedRuleMetadataobject.Methods 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, sdkFieldNameToField, 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
OrganizationManagedRuleMetadataobject.- Parameters:
organizationManagedRuleMetadata- AnOrganizationManagedRuleMetadataobject.- 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 theOrganizationManagedRuleMetadataobject.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
OrganizationConfigRule.Builder organizationCustomRuleMetadata(OrganizationCustomRuleMetadata organizationCustomRuleMetadata) An
OrganizationCustomRuleMetadataobject.- Parameters:
organizationCustomRuleMetadata- AnOrganizationCustomRuleMetadataobject.- 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 theOrganizationCustomRuleMetadataobject.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 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.Builderavoiding the need to create one manually viaOrganizationCustomPolicyRuleMetadataNoPolicy.builder().When the
Consumercompletes,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:
-