Interface Exclusion.Builder

    • 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 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).

        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:
        #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 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).

        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:
        #attributes(java.util.Collection)