Interface ExclusionPreview.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExclusionPreview.Builder,
,ExclusionPreview> SdkBuilder<ExclusionPreview.Builder,
,ExclusionPreview> SdkPojo
- Enclosing class:
ExclusionPreview
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<Attribute> attributes) The system-defined attributes for the exclusion preview.attributes
(Consumer<Attribute.Builder>... attributes) The system-defined attributes for the exclusion preview.attributes
(Attribute... attributes) The system-defined attributes for the exclusion preview.description
(String description) The description of the exclusion preview.recommendation
(String recommendation) The recommendation for the exclusion preview.scopes
(Collection<Scope> scopes) The AWS resources for which the exclusion preview pertains.scopes
(Consumer<Scope.Builder>... scopes) The AWS resources for which the exclusion preview pertains.The AWS resources for which the exclusion preview pertains.The name of the exclusion preview.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
title
The name of the exclusion preview.
- Parameters:
title
- The name of the exclusion preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the exclusion preview.
- Parameters:
description
- The description of the exclusion preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
The recommendation for the exclusion preview.
- Parameters:
recommendation
- The recommendation for the exclusion preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The AWS resources for which the exclusion preview pertains.
- Parameters:
scopes
- The AWS resources for which the exclusion preview pertains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The AWS resources for which the exclusion preview pertains.
- Parameters:
scopes
- The AWS resources for which the exclusion preview pertains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The AWS resources for which the exclusion preview pertains.
This is a convenience method that creates an instance of theScope.Builder
avoiding the need to create one manually viaScope.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscopes(List<Scope>)
.- Parameters:
scopes
- a consumer that will call methods onScope.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
The system-defined attributes for the exclusion preview.
- Parameters:
attributes
- The system-defined attributes for the exclusion preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The system-defined attributes for the exclusion preview.
- Parameters:
attributes
- The system-defined attributes for the exclusion preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The system-defined attributes for the exclusion preview.
This is a convenience method that creates an instance of theAttribute.Builder
avoiding the need to create one manually viaAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<Attribute>)
.- Parameters:
attributes
- a consumer that will call methods onAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-