Interface ExclusionPreview.Builder

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

        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.