Interface Flow.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Flow.Builder,
,Flow> SdkBuilder<Flow.Builder,
,Flow> SdkPojo
- Enclosing class:
Flow
-
Method Summary
Modifier and TypeMethodDescriptionReturned as info about age of the flows identified by the flow operation.Returns the number of bytes received or transmitted in a specific flow.default Flow.Builder
destinationAddress
(Consumer<Address.Builder> destinationAddress) Sets the value of the DestinationAddress property for this object.destinationAddress
(Address destinationAddress) Sets the value of the DestinationAddress property for this object.destinationPort
(String destinationPort) The destination port to inspect for.packetCount
(Integer packetCount) Returns the total number of data packets received or transmitted in a flow.The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol.default Flow.Builder
sourceAddress
(Consumer<Address.Builder> sourceAddress) Sets the value of the SourceAddress property for this object.sourceAddress
(Address sourceAddress) Sets the value of the SourceAddress property for this object.sourcePort
(String sourcePort) The source port to inspect for.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sourceAddress
Sets the value of the SourceAddress property for this object.- Parameters:
sourceAddress
- The new value for the SourceAddress property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAddress
Sets the value of the SourceAddress property for this object. This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceAddress(Address)
.- Parameters:
sourceAddress
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationAddress
Sets the value of the DestinationAddress property for this object.- Parameters:
destinationAddress
- The new value for the DestinationAddress property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationAddress
Sets the value of the DestinationAddress property for this object. This is a convenience method that creates an instance of theAddress.Builder
avoiding the need to create one manually viaAddress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationAddress(Address)
.- Parameters:
destinationAddress
- a consumer that will call methods onAddress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourcePort
The source port to inspect for. You can specify an individual port, for example
1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.- Parameters:
sourcePort
- The source port to inspect for. You can specify an individual port, for example1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPort
The destination port to inspect for. You can specify an individual port, for example
1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.- Parameters:
destinationPort
- The destination port to inspect for. You can specify an individual port, for example1994
and you can specify a port range, for example1990:1994
. To match with any port, specifyANY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.
- Parameters:
protocol
- The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
age
Returned as info about age of the flows identified by the flow operation.
- Parameters:
age
- Returned as info about age of the flows identified by the flow operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packetCount
Returns the total number of data packets received or transmitted in a flow.
- Parameters:
packetCount
- Returns the total number of data packets received or transmitted in a flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byteCount
Returns the number of bytes received or transmitted in a specific flow.
- Parameters:
byteCount
- Returns the number of bytes received or transmitted in a specific flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-