public static interface Source.Builder extends CopyableBuilder<Source.Builder,Source>
Modifier and Type | Method and Description |
---|---|
Source.Builder |
owner(Owner owner)
Indicates whether AWS or the customer owns and manages the AWS Config rule.
|
Source.Builder |
owner(String owner)
Indicates whether AWS or the customer owns and manages the AWS Config rule.
|
Source.Builder |
sourceDetails(Collection<SourceDetail> sourceDetails)
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
|
Source.Builder |
sourceDetails(Consumer<SourceDetail.Builder>... sourceDetails)
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
|
Source.Builder |
sourceDetails(SourceDetail... sourceDetails)
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
|
Source.Builder |
sourceIdentifier(String sourceIdentifier)
For AWS Config managed rules, a predefined identifier from a list.
|
copy
applyMutation, build
Source.Builder owner(String owner)
Indicates whether AWS or the customer owns and manages the AWS Config rule.
Source.Builder owner(Owner owner)
Indicates whether AWS or the customer owns and manages the AWS Config rule.
Source.Builder sourceIdentifier(String sourceIdentifier)
For AWS Config managed rules, a predefined identifier from a list. For example,
IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using
AWS Managed Config Rules.
For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function, such as
arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name
.
sourceIdentifier
- For AWS Config managed rules, a predefined identifier from a list. For example,
IAM_PASSWORD_POLICY
is a managed rule. To reference a managed rule, see Using AWS Managed Config Rules.
For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's AWS Lambda function,
such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name
.
Source.Builder sourceDetails(Collection<SourceDetail> sourceDetails)
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
sourceDetails
- Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.Source.Builder sourceDetails(SourceDetail... sourceDetails)
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
sourceDetails
- Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.Source.Builder sourceDetails(Consumer<SourceDetail.Builder>... sourceDetails)
Provides the source and type of the event that causes AWS Config to evaluate your AWS resources.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #sourceDetails(List)
.sourceDetails
- a consumer that will call methods on List.Builder
#sourceDetails(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.