Interface EdgeProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EdgeProperties.Builder,,EdgeProperties> SdkBuilder<EdgeProperties.Builder,,EdgeProperties> SdkPojo
- Enclosing class:
EdgeProperties
-
Method Summary
Modifier and TypeMethodDescriptionWhether the observed network flow was denied.destinationPort(String destinationPort) The destination port of the observed traffic.The error code returned when the call was attempted and refused.httpMethod(String httpMethod) The HTTP method observed on the request.httpStatusCode(String httpStatusCode) The HTTP status code observed on the request.The IANA protocol name for the observed network traffic, such as "tcp".serviceInitiated(Boolean serviceInitiated) Whether the caller was an AWS service principal rather than a user or role.sourcePort(String sourcePort) The source port of the observed traffic.default EdgeProperties.BuildertrafficStats(Consumer<EdgeTrafficStats.Builder> trafficStats) Traffic counters accumulated over the edge's observation window.trafficStats(EdgeTrafficStats trafficStats) Traffic counters accumulated over the edge's observation window.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
protocol
The IANA protocol name for the observed network traffic, such as "tcp".
- Parameters:
protocol- The IANA protocol name for the observed network traffic, such as "tcp".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePort
The source port of the observed traffic. May be a placeholder when the port is unknown.
- Parameters:
sourcePort- The source port of the observed traffic. May be a placeholder when the port is unknown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPort
The destination port of the observed traffic. May be a placeholder when the port is unknown.
- Parameters:
destinationPort- The destination port of the observed traffic. May be a placeholder when the port is unknown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The error code returned when the call was attempted and refused. Its presence means the edge exists but the dependency is failing.
- Parameters:
errorCode- The error code returned when the call was attempted and refused. Its presence means the edge exists but the dependency is failing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpStatusCode
The HTTP status code observed on the request. Distinct from errorCode.
- Parameters:
httpStatusCode- The HTTP status code observed on the request. Distinct from errorCode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpMethod
The HTTP method observed on the request.
- Parameters:
httpMethod- The HTTP method observed on the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
trafficStats
Traffic counters accumulated over the edge's observation window.
- Parameters:
trafficStats- Traffic counters accumulated over the edge's observation window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trafficStats
Traffic counters accumulated over the edge's observation window.
This is a convenience method that creates an instance of theEdgeTrafficStats.Builderavoiding the need to create one manually viaEdgeTrafficStats.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrafficStats(EdgeTrafficStats).- Parameters:
trafficStats- a consumer that will call methods onEdgeTrafficStats.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-