Class PortProbeDetail
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.PortProbeDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PortProbeDetail.Builder,PortProbeDetail>
@Generated("software.amazon.awssdk:codegen") public final class PortProbeDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PortProbeDetail.Builder,PortProbeDetail>
A port scan that was part of the port probe. For each scan, PortProbeDetails provides information about the local IP address and port that were scanned, and the remote IP address that the scan originated from.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePortProbeDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PortProbeDetail.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ActionLocalIpDetailslocalIpDetails()Provides information about the IP address where the scanned port is located.ActionLocalPortDetailslocalPortDetails()Provides information about the port that was scanned.ActionRemoteIpDetailsremoteIpDetails()Provides information about the remote IP address that performed the scan.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PortProbeDetail.Builder>serializableBuilderClass()PortProbeDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
localPortDetails
public final ActionLocalPortDetails localPortDetails()
Provides information about the port that was scanned.
- Returns:
- Provides information about the port that was scanned.
-
localIpDetails
public final ActionLocalIpDetails localIpDetails()
Provides information about the IP address where the scanned port is located.
- Returns:
- Provides information about the IP address where the scanned port is located.
-
remoteIpDetails
public final ActionRemoteIpDetails remoteIpDetails()
Provides information about the remote IP address that performed the scan.
- Returns:
- Provides information about the remote IP address that performed the scan.
-
toBuilder
public PortProbeDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PortProbeDetail.Builder,PortProbeDetail>
-
builder
public static PortProbeDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends PortProbeDetail.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-