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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExclusion.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 method that creates an instance of theScope.Builder avoiding the need to create one
manually via Scope.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #scopes(List.
scopes - a consumer that will call methods on
Scope.Builder#scopes(java.util.Collection) 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 method that creates an instance of theAttribute.Builder avoiding the need to create one
manually via Attribute.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #attributes(List.
attributes - a consumer that will call methods on
Attribute.Builder#attributes(java.util.Collection) Copyright © 2023. All rights reserved.