Interface Exclusion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Exclusion.Builder,Exclusion>,SdkBuilder<Exclusion.Builder,Exclusion>,SdkPojo
- Enclosing class:
- Exclusion
public static interface Exclusion.Builder extends SdkPojo, CopyableBuilder<Exclusion.Builder,Exclusion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Exclusion.Builderarn(String arn)The ARN that specifies the exclusion.Exclusion.Builderattributes(Collection<Attribute> attributes)The system-defined attributes for the exclusion.Exclusion.Builderattributes(Consumer<Attribute.Builder>... attributes)The system-defined attributes for the exclusion.Exclusion.Builderattributes(Attribute... attributes)The system-defined attributes for the exclusion.Exclusion.Builderdescription(String description)The description of the exclusion.Exclusion.Builderrecommendation(String recommendation)The recommendation for the exclusion.Exclusion.Builderscopes(Collection<Scope> scopes)The AWS resources for which the exclusion pertains.Exclusion.Builderscopes(Consumer<Scope.Builder>... scopes)The AWS resources for which the exclusion pertains.Exclusion.Builderscopes(Scope... scopes)The AWS resources for which the exclusion pertains.Exclusion.Buildertitle(String title)The name of the exclusion.-
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
-
arn
Exclusion.Builder arn(String arn)
The ARN that specifies the exclusion.
- Parameters:
arn- The ARN that specifies the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Exclusion.Builder title(String title)
The name of the exclusion.
- Parameters:
title- The name of the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Exclusion.Builder description(String description)
The description of the exclusion.
- Parameters:
description- The description of the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
Exclusion.Builder recommendation(String recommendation)
The recommendation for the exclusion.
- Parameters:
recommendation- The recommendation for the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
Exclusion.Builder scopes(Collection<Scope> scopes)
The AWS resources for which the exclusion pertains.
- Parameters:
scopes- The AWS resources for which the exclusion pertains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
Exclusion.Builder scopes(Scope... scopes)
The AWS resources for which the exclusion pertains.
- Parameters:
scopes- The AWS resources for which the exclusion pertains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
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.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
Exclusion.Builder attributes(Collection<Attribute> attributes)
The system-defined attributes for the exclusion.
- Parameters:
attributes- The system-defined attributes for the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Exclusion.Builder attributes(Attribute... attributes)
The system-defined attributes for the exclusion.
- Parameters:
attributes- The system-defined attributes for the exclusion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
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.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)
-
-