Interface GetProbeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetProbeResponse.Builder,GetProbeResponse>,NetworkMonitorResponse.Builder,SdkBuilder<GetProbeResponse.Builder,GetProbeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetProbeResponse
public static interface GetProbeResponse.Builder extends NetworkMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetProbeResponse.Builder,GetProbeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetProbeResponse.BuilderaddressFamily(String addressFamily)Indicates whether the IP address isIPV4orIPV6.GetProbeResponse.BuilderaddressFamily(AddressFamily addressFamily)Indicates whether the IP address isIPV4orIPV6.GetProbeResponse.BuildercreatedAt(Instant createdAt)The time and date that the probe was created.GetProbeResponse.Builderdestination(String destination)The destination IP address for the monitor.GetProbeResponse.BuilderdestinationPort(Integer destinationPort)The port associated with thedestination.GetProbeResponse.BuildermodifiedAt(Instant modifiedAt)The time and date that the probe was last modified.GetProbeResponse.BuilderpacketSize(Integer packetSize)The size of the packets sent between the source and destination.GetProbeResponse.BuilderprobeArn(String probeArn)The ARN of the probe.GetProbeResponse.BuilderprobeId(String probeId)The ID of the probe for which details are returned.GetProbeResponse.Builderprotocol(String protocol)The protocol used for the network traffic between thesourceanddestination.GetProbeResponse.Builderprotocol(Protocol protocol)The protocol used for the network traffic between thesourceanddestination.GetProbeResponse.BuildersourceArn(String sourceArn)The ARN of the probe.GetProbeResponse.Builderstate(String state)The state of the probe.GetProbeResponse.Builderstate(ProbeState state)The state of the probe.GetProbeResponse.Buildertags(Map<String,String> tags)The list of key-value pairs assigned to the probe.GetProbeResponse.BuildervpcId(String vpcId)The ID of the source VPC or subnet.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmonitor.model.NetworkMonitorResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
probeId
GetProbeResponse.Builder probeId(String probeId)
The ID of the probe for which details are returned.
- Parameters:
probeId- The ID of the probe for which details are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
probeArn
GetProbeResponse.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
GetProbeResponse.Builder sourceArn(String sourceArn)
The ARN of the probe.
- Parameters:
sourceArn- The ARN of the probe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
GetProbeResponse.Builder destination(String destination)
The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.
- Parameters:
destination- The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPort
GetProbeResponse.Builder destinationPort(Integer destinationPort)
The port associated with the
destination. This is required only if theprotocolisTCPand must be a number between1and65536.- Parameters:
destinationPort- The port associated with thedestination. This is required only if theprotocolisTCPand must be a number between1and65536.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
GetProbeResponse.Builder protocol(String protocol)
The protocol used for the network traffic between the
sourceanddestination. This must be eitherTCPorICMP.
-
protocol
GetProbeResponse.Builder protocol(Protocol protocol)
The protocol used for the network traffic between the
sourceanddestination. This must be eitherTCPorICMP.
-
packetSize
GetProbeResponse.Builder packetSize(Integer packetSize)
The size of the packets sent between the source and destination. This must be a number between
56and8500.- Parameters:
packetSize- The size of the packets sent between the source and destination. This must be a number between56and8500.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressFamily
GetProbeResponse.Builder addressFamily(String addressFamily)
Indicates whether the IP address is
IPV4orIPV6.- Parameters:
addressFamily- Indicates whether the IP address isIPV4orIPV6.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AddressFamily,AddressFamily
-
addressFamily
GetProbeResponse.Builder addressFamily(AddressFamily addressFamily)
Indicates whether the IP address is
IPV4orIPV6.- Parameters:
addressFamily- Indicates whether the IP address isIPV4orIPV6.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AddressFamily,AddressFamily
-
vpcId
GetProbeResponse.Builder vpcId(String vpcId)
The ID of the source VPC or subnet.
- Parameters:
vpcId- The ID of the source VPC or subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
GetProbeResponse.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
GetProbeResponse.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
GetProbeResponse.Builder createdAt(Instant createdAt)
The time and date that the probe was created.
- Parameters:
createdAt- The time and date that the probe was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
GetProbeResponse.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
GetProbeResponse.Builder tags(Map<String,String> tags)
The list of key-value pairs assigned to the probe.
- Parameters:
tags- The list of key-value pairs assigned to the probe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-