Interface Probe.Builder

    • Method Detail

      • probeId

        Probe.Builder probeId​(String probeId)

        The ID of the probe.

        Parameters:
        probeId - The ID of the probe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • probeArn

        Probe.Builder probeArn​(String probeArn)

        The ARN of the probe.

        Parameters:
        probeArn - The ARN of the probe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceArn

        Probe.Builder sourceArn​(String sourceArn)

        The ARN of the probe source subnet.

        Parameters:
        sourceArn - The ARN of the probe source subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destination

        Probe.Builder destination​(String destination)

        The destination for the probe. This should be either an IPV4 or IPV6.

        Parameters:
        destination - The destination for the probe. This should be either an IPV4 or IPV6.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationPort

        Probe.Builder destinationPort​(Integer destinationPort)

        The destination port for the probe. This is required only if the protocol is TCP and must be a number between 1 and 65536.

        Parameters:
        destinationPort - The destination port for the probe. This is required only if the protocol is TCP and must be a number between 1 and 65536.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        Probe.Builder protocol​(String protocol)

        The network protocol for the destination. This can be either TCP or ICMP. If the protocol is TCP, then port is also required.

        Parameters:
        protocol - The network protocol for the destination. This can be either TCP or ICMP. If the protocol is TCP, then port is also required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Protocol, Protocol
      • protocol

        Probe.Builder protocol​(Protocol protocol)

        The network protocol for the destination. This can be either TCP or ICMP. If the protocol is TCP, then port is also required.

        Parameters:
        protocol - The network protocol for the destination. This can be either TCP or ICMP. If the protocol is TCP, then port is also required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Protocol, Protocol
      • packetSize

        Probe.Builder packetSize​(Integer packetSize)

        The size of the packets traveling between the source and destination. This must be a number between 56 and

        Parameters:
        packetSize - The size of the packets traveling between the source and destination. This must be a number between 56 and
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • addressFamily

        Probe.Builder addressFamily​(String addressFamily)

        The IPv4 or IPv6 address for the probe.

        Parameters:
        addressFamily - The IPv4 or IPv6 address for the probe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AddressFamily, AddressFamily
      • addressFamily

        Probe.Builder addressFamily​(AddressFamily addressFamily)

        The IPv4 or IPv6 address for the probe.

        Parameters:
        addressFamily - The IPv4 or IPv6 address for the probe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AddressFamily, AddressFamily
      • vpcId

        Probe.Builder vpcId​(String vpcId)

        The ID of the source VPC subnet.

        Parameters:
        vpcId - The ID of the source VPC subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        Probe.Builder state​(String state)

        The state of the probe.

        Parameters:
        state - The state of the probe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProbeState, ProbeState
      • state

        Probe.Builder state​(ProbeState state)

        The state of the probe.

        Parameters:
        state - The state of the probe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ProbeState, ProbeState
      • createdAt

        Probe.Builder createdAt​(Instant createdAt)

        The time and date the probe was created.

        Parameters:
        createdAt - The time and date the probe was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modifiedAt

        Probe.Builder modifiedAt​(Instant modifiedAt)

        The time and date that the probe was last modified.

        Parameters:
        modifiedAt - The time and date that the probe was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The list of key-value pairs created and assigned to the probe.

        Parameters:
        tags - The list of key-value pairs created and assigned to the probe.
        Returns:
        Returns a reference to this object so that method calls can be chained together.