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 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

      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

      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

      The AWS resources for which the exclusion pertains.

      This is a convenience method that creates an instance of the Scope.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<Scope>).

      Parameters:
      scopes - a consumer that will call methods on Scope.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the Attribute.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<Attribute>).

      Parameters:
      attributes - a consumer that will call methods on Attribute.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: