Interface ModifyManagedPrefixListRequest.Builder

    • Method Detail

      • dryRun

        ModifyManagedPrefixListRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • prefixListId

        ModifyManagedPrefixListRequest.Builder prefixListId​(String prefixListId)

        The ID of the prefix list.

        Parameters:
        prefixListId - The ID of the prefix list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentVersion

        ModifyManagedPrefixListRequest.Builder currentVersion​(Long currentVersion)

        The current version of the prefix list.

        Parameters:
        currentVersion - The current version of the prefix list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • prefixListName

        ModifyManagedPrefixListRequest.Builder prefixListName​(String prefixListName)

        A name for the prefix list.

        Parameters:
        prefixListName - A name for the prefix list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addEntries

        ModifyManagedPrefixListRequest.Builder addEntries​(AddPrefixListEntry... addEntries)

        One or more entries to add to the prefix list.

        Parameters:
        addEntries - One or more entries to add to the prefix list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeEntries

        ModifyManagedPrefixListRequest.Builder removeEntries​(RemovePrefixListEntry... removeEntries)

        One or more entries to remove from the prefix list.

        Parameters:
        removeEntries - One or more entries to remove from the prefix list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxEntries

        ModifyManagedPrefixListRequest.Builder maxEntries​(Integer maxEntries)

        The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.

        If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.

        Parameters:
        maxEntries - The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.

        If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.

        Returns:
        Returns a reference to this object so that method calls can be chained together.