public static final class PolicyAntreaIPPool.Builder
extends java.lang.Object
PolicyAntreaIPPool
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PolicyAntreaIPPool . |
Modifier and Type | Method and Description |
---|---|
PolicyAntreaIPPool |
build() |
PolicyAntreaIPPool.Builder |
setDisplayName(java.lang.String displayName)
The name of kubernetes 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.
|
PolicyAntreaIPPool.Builder |
setExternalId(java.lang.String externalId)
The id of kubernetes 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.
|
PolicyAntreaIPPool.Builder |
setIpRanges(java.util.List<PolicyAntreaIPPoolIPRange> ipRanges)
The ip_ranges of antrea ippool resource
|
public Builder()
PolicyAntreaIPPool
.public PolicyAntreaIPPool.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public PolicyAntreaIPPool.Builder setExternalId(java.lang.String externalId)
externalId
- New value for the property.public PolicyAntreaIPPool.Builder setIpRanges(java.util.List<PolicyAntreaIPPoolIPRange> ipRanges)
ipRanges
- New value for the property.public PolicyAntreaIPPool build()