Interface ExclusionPreview.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExclusionPreview.Builder,ExclusionPreview>,SdkBuilder<ExclusionPreview.Builder,ExclusionPreview>,SdkPojo
- Enclosing class:
- ExclusionPreview
public static interface ExclusionPreview.Builder extends SdkPojo, CopyableBuilder<ExclusionPreview.Builder,ExclusionPreview>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExclusionPreview.Builderattributes(Collection<Attribute> attributes)The system-defined attributes for the exclusion preview.ExclusionPreview.Builderattributes(Consumer<Attribute.Builder>... attributes)The system-defined attributes for the exclusion preview.ExclusionPreview.Builderattributes(Attribute... attributes)The system-defined attributes for the exclusion preview.ExclusionPreview.Builderdescription(String description)The description of the exclusion preview.ExclusionPreview.Builderrecommendation(String recommendation)The recommendation for the exclusion preview.ExclusionPreview.Builderscopes(Collection<Scope> scopes)The AWS resources for which the exclusion preview pertains.ExclusionPreview.Builderscopes(Consumer<Scope.Builder>... scopes)The AWS resources for which the exclusion preview pertains.ExclusionPreview.Builderscopes(Scope... scopes)The AWS resources for which the exclusion preview pertains.ExclusionPreview.Buildertitle(String title)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 Detail
-
title
ExclusionPreview.Builder title(String 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
ExclusionPreview.Builder description(String 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
ExclusionPreview.Builder recommendation(String 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
ExclusionPreview.Builder scopes(Collection<Scope> 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
ExclusionPreview.Builder scopes(Scope... 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
ExclusionPreview.Builder scopes(Consumer<Scope.Builder>... scopes)
The AWS resources for which the exclusion preview pertains.
This is a convenience method that creates an instance of theScope.Builderavoiding the need to create one manually viaScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scopes(List.) - 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:
#scopes(java.util.Collection)
-
attributes
ExclusionPreview.Builder attributes(Collection<Attribute> 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
ExclusionPreview.Builder attributes(Attribute... 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
ExclusionPreview.Builder attributes(Consumer<Attribute.Builder>... attributes)
The system-defined attributes for the exclusion preview.
This is a convenience method that creates an instance of theAttribute.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-