Class UpdateProbeRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.networkmonitor.model.NetworkMonitorRequest
-
- software.amazon.awssdk.services.networkmonitor.model.UpdateProbeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateProbeRequest.Builder,UpdateProbeRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateProbeRequest extends NetworkMonitorRequest implements ToCopyableBuilder<UpdateProbeRequest.Builder,UpdateProbeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateProbeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateProbeRequest.Builderbuilder()Stringdestination()The updated IP address for the probe destination.IntegerdestinationPort()The updated port for the probe destination.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmonitorName()The name of the monitor that the probe was updated for.IntegerpacketSize()he updated packets size for network traffic between the source and destination.StringprobeId()The ID of the probe to update.Protocolprotocol()The updated network protocol for the destination.StringprotocolAsString()The updated network protocol for the destination.List<SdkField<?>>sdkFields()static Class<? extends UpdateProbeRequest.Builder>serializableBuilderClass()ProbeStatestate()The state of the probe update.StringstateAsString()The state of the probe update.UpdateProbeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
monitorName
public final String monitorName()
The name of the monitor that the probe was updated for.
- Returns:
- The name of the monitor that the probe was updated for.
-
probeId
public final String probeId()
The ID of the probe to update.
- Returns:
- The ID of the probe to update.
-
state
public final ProbeState state()
The state of the probe update.
If the service returns an enum value that is not available in the current SDK version,
statewill returnProbeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the probe update.
- See Also:
ProbeState
-
stateAsString
public final String stateAsString()
The state of the probe update.
If the service returns an enum value that is not available in the current SDK version,
statewill returnProbeState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the probe update.
- See Also:
ProbeState
-
destination
public final String destination()
The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.
- Returns:
- The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.
-
destinationPort
public final Integer destinationPort()
The updated port for the probe destination. This is required only if the
protocolisTCPand must be a number between1and65536.- Returns:
- The updated port for the probe destination. This is required only if the
protocolisTCPand must be a number between1and65536.
-
protocol
public final Protocol protocol()
The updated network protocol for the destination. This can be either
TCPorICMP. If the protocol isTCP, thenportis also required.If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The updated network protocol for the destination. This can be either
TCPorICMP. If the protocol isTCP, thenportis also required. - See Also:
Protocol
-
protocolAsString
public final String protocolAsString()
The updated network protocol for the destination. This can be either
TCPorICMP. If the protocol isTCP, thenportis also required.If the service returns an enum value that is not available in the current SDK version,
protocolwill returnProtocol.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprotocolAsString().- Returns:
- The updated network protocol for the destination. This can be either
TCPorICMP. If the protocol isTCP, thenportis also required. - See Also:
Protocol
-
packetSize
public final Integer packetSize()
he updated packets size for network traffic between the source and destination. This must be a number between
56and8500.- Returns:
- he updated packets size for network traffic between the source and destination. This must be a number
between
56and8500.
-
toBuilder
public UpdateProbeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateProbeRequest.Builder,UpdateProbeRequest>- Specified by:
toBuilderin classNetworkMonitorRequest
-
builder
public static UpdateProbeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateProbeRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-