public static final class FirewallService.Builder
extends java.lang.Object
FirewallService
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
FirewallService . |
Modifier and Type | Method and Description |
---|---|
FirewallService |
build() |
FirewallService.Builder |
setPorts(java.util.List<java.lang.String> ports)
a list of port numbers and port ranges, such as {80, 91-95, 99}.
|
FirewallService.Builder |
setProtocol(java.lang.String protocol)
protocol name, such as 'tcp', 'udp' etc.
|
public Builder()
FirewallService
.public FirewallService.Builder setProtocol(java.lang.String protocol)
protocol
- New value for the property.public FirewallService.Builder setPorts(java.util.List<java.lang.String> ports)
ports
- New value for the property.public FirewallService build()