Modifier and Type | Method and Description |
---|---|
Denied.Builder |
addAllPorts(List<String> ports)
An optional list of ports to which this rule applies.
|
Denied.Builder |
addPorts(String ports)
An optional list of ports to which this rule applies.
|
Denied |
build() |
Denied.Builder |
clone() |
String |
getIPProtocol()
The IP protocol to which this rule applies.
|
List<String> |
getPortsList()
An optional list of ports to which this rule applies.
|
Denied.Builder |
mergeFrom(Denied other) |
Denied.Builder |
setIPProtocol(String iPProtocol)
The IP protocol to which this rule applies.
|
public Denied.Builder mergeFrom(Denied other)
public String getIPProtocol()
public Denied.Builder setIPProtocol(String iPProtocol)
public List<String> getPortsList()
Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
public Denied.Builder addAllPorts(List<String> ports)
Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
public Denied.Builder addPorts(String ports)
Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
public Denied build()
public Denied.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.