Interface Exclusion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Exclusion.Builder,,Exclusion> SdkBuilder<Exclusion.Builder,,Exclusion> SdkPojo
- Enclosing class:
Exclusion
@Mutable
@NotThreadSafe
public static interface Exclusion.Builder
extends SdkPojo, CopyableBuilder<Exclusion.Builder,Exclusion>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN that specifies the exclusion.attributes(Collection<Attribute> attributes) The system-defined attributes for the exclusion.attributes(Consumer<Attribute.Builder>... attributes) The system-defined attributes for the exclusion.attributes(Attribute... attributes) The system-defined attributes for the exclusion.description(String description) The description of the exclusion.recommendation(String recommendation) The recommendation for the exclusion.scopes(Collection<Scope> scopes) The AWS resources for which the exclusion pertains.scopes(Consumer<Scope.Builder>... scopes) The AWS resources for which the exclusion pertains.The AWS resources for which the exclusion pertains.The name of the exclusion.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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 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.
- 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
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
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 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:
-