public static interface Source.Builder extends SdkPojo, CopyableBuilder<Source.Builder,Source>
| Modifier and Type | Method and Description |
|---|---|
default Source.Builder |
customPolicyDetails(Consumer<CustomPolicyDetails.Builder> customPolicyDetails)
Provides the runtime system, policy definition, and whether debug logging is enabled.
|
Source.Builder |
customPolicyDetails(CustomPolicyDetails customPolicyDetails)
Provides the runtime system, policy definition, and whether debug logging is enabled.
|
Source.Builder |
owner(Owner owner)
Indicates whether Amazon Web Services or the customer owns and manages the Config rule.
|
Source.Builder |
owner(String owner)
Indicates whether Amazon Web Services or the customer owns and manages the Config rule.
|
Source.Builder |
sourceDetails(Collection<SourceDetail> sourceDetails)
Provides the source and the message types that cause Config to evaluate your Amazon Web Services resources
against a rule.
|
Source.Builder |
sourceDetails(Consumer<SourceDetail.Builder>... sourceDetails)
Provides the source and the message types that cause Config to evaluate your Amazon Web Services resources
against a rule.
|
Source.Builder |
sourceDetails(SourceDetail... sourceDetails)
Provides the source and the message types that cause Config to evaluate your Amazon Web Services resources
against a rule.
|
Source.Builder |
sourceIdentifier(String sourceIdentifier)
For Config Managed rules, a predefined identifier from a list.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSource.Builder owner(String owner)
Indicates whether Amazon Web Services or the customer owns and manages the Config rule.
Config Managed Rules are predefined rules owned by Amazon Web Services. For more information, see Config Managed Rules in the Config developer guide.
Config Custom Rules are rules that you can develop either with Guard (CUSTOM_POLICY) or Lambda (
CUSTOM_LAMBDA). For more information, see Config
Custom Rules in the Config developer guide.
owner - Indicates whether Amazon Web Services or the customer owns and manages the Config rule.
Config Managed Rules are predefined rules owned by Amazon Web Services. For more information, see Config Managed Rules in the Config developer guide.
Config Custom Rules are rules that you can develop either with Guard (CUSTOM_POLICY) or
Lambda (CUSTOM_LAMBDA). For more information, see Config Custom Rules in the Config developer guide.
Owner,
OwnerSource.Builder owner(Owner owner)
Indicates whether Amazon Web Services or the customer owns and manages the Config rule.
Config Managed Rules are predefined rules owned by Amazon Web Services. For more information, see Config Managed Rules in the Config developer guide.
Config Custom Rules are rules that you can develop either with Guard (CUSTOM_POLICY) or Lambda (
CUSTOM_LAMBDA). For more information, see Config
Custom Rules in the Config developer guide.
owner - Indicates whether Amazon Web Services or the customer owns and manages the Config rule.
Config Managed Rules are predefined rules owned by Amazon Web Services. For more information, see Config Managed Rules in the Config developer guide.
Config Custom Rules are rules that you can develop either with Guard (CUSTOM_POLICY) or
Lambda (CUSTOM_LAMBDA). For more information, see Config Custom Rules in the Config developer guide.
Owner,
OwnerSource.Builder sourceIdentifier(String sourceIdentifier)
For Config Managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see List of
Config Managed Rules.
For Config Custom Lambda rules, the identifier is the Amazon Resource Name (ARN) of the rule's Lambda
function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.
For Config Custom Policy rules, this field will be ignored.
sourceIdentifier - For Config Managed rules, a predefined identifier from a list. For example,
IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see List
of Config Managed Rules.
For Config Custom Lambda rules, the identifier is the Amazon Resource Name (ARN) of the rule's Lambda
function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.
For Config Custom Policy rules, this field will be ignored.
Source.Builder sourceDetails(Collection<SourceDetail> sourceDetails)
Provides the source and the message types that cause 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.
If the owner is set to CUSTOM_POLICY, the only acceptable values for the Config rule trigger
message type are ConfigurationItemChangeNotification and
OversizedConfigurationItemChangeNotification.
sourceDetails - Provides the source and the message types that cause 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.
If the owner is set to CUSTOM_POLICY, the only acceptable values for the Config rule
trigger message type are ConfigurationItemChangeNotification and
OversizedConfigurationItemChangeNotification.
Source.Builder sourceDetails(SourceDetail... sourceDetails)
Provides the source and the message types that cause 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.
If the owner is set to CUSTOM_POLICY, the only acceptable values for the Config rule trigger
message type are ConfigurationItemChangeNotification and
OversizedConfigurationItemChangeNotification.
sourceDetails - Provides the source and the message types that cause 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.
If the owner is set to CUSTOM_POLICY, the only acceptable values for the Config rule
trigger message type are ConfigurationItemChangeNotification and
OversizedConfigurationItemChangeNotification.
Source.Builder sourceDetails(Consumer<SourceDetail.Builder>... sourceDetails)
Provides the source and the message types that cause 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.
If the owner is set to CUSTOM_POLICY, the only acceptable values for the Config rule trigger
message type are ConfigurationItemChangeNotification and
OversizedConfigurationItemChangeNotification.
SourceDetail.Builder avoiding the need to create one
manually via SourceDetail.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #sourceDetails(List.
sourceDetails - a consumer that will call methods on
SourceDetail.Builder#sourceDetails(java.util.Collection) Source.Builder customPolicyDetails(CustomPolicyDetails customPolicyDetails)
Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is
set to CUSTOM_POLICY.
customPolicyDetails - Provides the runtime system, policy definition, and whether debug logging is enabled. Required when
owner is set to CUSTOM_POLICY.default Source.Builder customPolicyDetails(Consumer<CustomPolicyDetails.Builder> customPolicyDetails)
Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is
set to CUSTOM_POLICY.
CustomPolicyDetails.Builder avoiding the
need to create one manually via CustomPolicyDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to customPolicyDetails(CustomPolicyDetails).
customPolicyDetails - a consumer that will call methods on CustomPolicyDetails.BuildercustomPolicyDetails(CustomPolicyDetails)Copyright © 2023. All rights reserved.