Class EdgeProperties
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EdgeProperties.Builder,EdgeProperties>
Edge attributes promoted out of the flat attribute map onto typed members. Which members are present depends entirely on what produced the edge, so most edges carry only a few of them.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Booleanblocked()Whether the observed network flow was denied.static EdgeProperties.Builderbuilder()final StringThe destination port of the observed traffic.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe error code returned when the call was attempted and refused.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe HTTP method observed on the request.final StringThe HTTP status code observed on the request.final Stringprotocol()The IANA protocol name for the observed network traffic, such as "tcp".static Class<? extends EdgeProperties.Builder> final BooleanWhether the caller was an AWS service principal rather than a user or role.final StringThe source port of the observed traffic.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final EdgeTrafficStatsTraffic counters accumulated over the edge's observation window.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
protocol
The IANA protocol name for the observed network traffic, such as "tcp".
- Returns:
- The IANA protocol name for the observed network traffic, such as "tcp".
-
sourcePort
The source port of the observed traffic. May be a placeholder when the port is unknown.
- Returns:
- The source port of the observed traffic. May be a placeholder when the port is unknown.
-
destinationPort
The destination port of the observed traffic. May be a placeholder when the port is unknown.
- Returns:
- The destination port of the observed traffic. May be a placeholder when the port is unknown.
-
blocked
Whether the observed network flow was denied. Absent means the edge was not derived from network flow data, which is not the same as allowed.
- Returns:
- Whether the observed network flow was denied. Absent means the edge was not derived from network flow data, which is not the same as allowed.
-
errorCode
The error code returned when the call was attempted and refused. Its presence means the edge exists but the dependency is failing.
- Returns:
- The error code returned when the call was attempted and refused. Its presence means the edge exists but the dependency is failing.
-
httpStatusCode
The HTTP status code observed on the request. Distinct from errorCode.
- Returns:
- The HTTP status code observed on the request. Distinct from errorCode.
-
httpMethod
The HTTP method observed on the request.
- Returns:
- The HTTP method observed on the request.
-
serviceInitiated
Whether the caller was an AWS service principal rather than a user or role. Absent means the edge was not derived from a source that reports it.
- Returns:
- Whether the caller was an AWS service principal rather than a user or role. Absent means the edge was not derived from a source that reports it.
-
trafficStats
Traffic counters accumulated over the edge's observation window.
- Returns:
- Traffic counters accumulated over the edge's observation window.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<EdgeProperties.Builder,EdgeProperties> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-