public static interface Exclusion.Builder extends SdkPojo, CopyableBuilder<Exclusion.Builder,Exclusion>
Modifier and Type | Method and Description |
---|---|
Exclusion.Builder |
arn(String arn)
The ARN that specifies the exclusion.
|
Exclusion.Builder |
attributes(Attribute... attributes)
The system-defined attributes for the exclusion.
|
Exclusion.Builder |
attributes(Collection<Attribute> attributes)
The system-defined attributes for the exclusion.
|
Exclusion.Builder |
attributes(Consumer<Attribute.Builder>... attributes)
The system-defined attributes for the exclusion.
|
Exclusion.Builder |
description(String description)
The description of the exclusion.
|
Exclusion.Builder |
recommendation(String recommendation)
The recommendation for the exclusion.
|
Exclusion.Builder |
scopes(Collection<Scope> scopes)
The AWS resources for which the exclusion pertains.
|
Exclusion.Builder |
scopes(Consumer<Scope.Builder>... scopes)
The AWS resources for which the exclusion pertains.
|
Exclusion.Builder |
scopes(Scope... scopes)
The AWS resources for which the exclusion pertains.
|
Exclusion.Builder |
title(String title)
The name of the exclusion.
|
copy
applyMutation, build
Exclusion.Builder arn(String arn)
The ARN that specifies the exclusion.
arn
- The ARN that specifies the exclusion.Exclusion.Builder title(String title)
The name of the exclusion.
title
- The name of the exclusion.Exclusion.Builder description(String description)
The description of the exclusion.
description
- The description of the exclusion.Exclusion.Builder recommendation(String recommendation)
The recommendation for the exclusion.
recommendation
- The recommendation for the exclusion.Exclusion.Builder scopes(Collection<Scope> scopes)
The AWS resources for which the exclusion pertains.
scopes
- The AWS resources for which the exclusion pertains.Exclusion.Builder scopes(Scope... scopes)
The AWS resources for which the exclusion pertains.
scopes
- The AWS resources for which the exclusion pertains.Exclusion.Builder scopes(Consumer<Scope.Builder>... scopes)
The AWS resources for which the exclusion pertains.
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 #scopes(List)
.scopes
- a consumer that will call methods on List.Builder
#scopes(List)
Exclusion.Builder attributes(Collection<Attribute> attributes)
The system-defined attributes for the exclusion.
attributes
- The system-defined attributes for the exclusion.Exclusion.Builder attributes(Attribute... attributes)
The system-defined attributes for the exclusion.
attributes
- The system-defined attributes for the exclusion.Exclusion.Builder attributes(Consumer<Attribute.Builder>... attributes)
The system-defined attributes for the exclusion.
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 #attributes(List)
.attributes
- a consumer that will call methods on List.Builder
#attributes(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.