public static final class PolicyAntreaIPPoolIPRange.Builder
extends java.lang.Object
PolicyAntreaIPPoolIPRange
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PolicyAntreaIPPoolIPRange . |
Modifier and Type | Method and Description |
---|---|
PolicyAntreaIPPoolIPRange |
build() |
PolicyAntreaIPPoolIPRange.Builder |
setCidr(java.lang.String cidr)
The cidr representation of ip address of antrea ippool resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyAntreaIPPoolIPRange.Builder |
setEnd(java.lang.String end)
The end ip address of antrea ippool resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyAntreaIPPoolIPRange.Builder |
setGateway(java.lang.String gateway)
The gateway ipaddress of antrea ippool resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyAntreaIPPoolIPRange.Builder |
setPrefixLength(java.lang.Long prefixLength)
The prefix length of antrea ippool resource format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyAntreaIPPoolIPRange.Builder |
setStart(java.lang.String start)
The start ip address of antrea ippool resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyAntreaIPPoolIPRange.Builder |
setVlan(java.lang.Long vlan)
The vlan of antrea ippool resource format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
public Builder()
PolicyAntreaIPPoolIPRange
.public PolicyAntreaIPPoolIPRange.Builder setCidr(java.lang.String cidr)
cidr
- New value for the property.public PolicyAntreaIPPoolIPRange.Builder setEnd(java.lang.String end)
end
- New value for the property.public PolicyAntreaIPPoolIPRange.Builder setGateway(java.lang.String gateway)
gateway
- New value for the property.public PolicyAntreaIPPoolIPRange.Builder setPrefixLength(java.lang.Long prefixLength)
prefixLength
- New value for the property.public PolicyAntreaIPPoolIPRange.Builder setStart(java.lang.String start)
start
- New value for the property.public PolicyAntreaIPPoolIPRange.Builder setVlan(java.lang.Long vlan)
vlan
- New value for the property.public PolicyAntreaIPPoolIPRange build()