Interface CreateIpSetRequest.Builder

    • Method Detail

      • detectorId

        CreateIpSetRequest.Builder detectorId​(String detectorId)

        The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.

        To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

        Parameters:
        detectorId - The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.

        To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

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

        CreateIpSetRequest.Builder name​(String name)

        The user-friendly name to identify the IPSet.

        Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).

        Parameters:
        name - The user-friendly name to identify the IPSet.

        Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).

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

        CreateIpSetRequest.Builder format​(String format)

        The format of the file that contains the IPSet.

        Parameters:
        format - The format of the file that contains the IPSet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpSetFormat, IpSetFormat
      • format

        CreateIpSetRequest.Builder format​(IpSetFormat format)

        The format of the file that contains the IPSet.

        Parameters:
        format - The format of the file that contains the IPSet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpSetFormat, IpSetFormat
      • location

        CreateIpSetRequest.Builder location​(String location)

        The URI of the file that contains the IPSet.

        Parameters:
        location - The URI of the file that contains the IPSet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • activate

        CreateIpSetRequest.Builder activate​(Boolean activate)

        A Boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.

        Parameters:
        activate - A Boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateIpSetRequest.Builder clientToken​(String clientToken)

        The idempotency token for the create request.

        Parameters:
        clientToken - The idempotency token for the create request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateIpSetRequest.Builder tags​(Map<String,​String> tags)

        The tags to be added to a new IP set resource.

        Parameters:
        tags - The tags to be added to a new IP set resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.