Package com.vmware.nsx_policy.model
Class PolicyAntreaIPPoolIPRange.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.PolicyAntreaIPPoolIPRange.Builder
-
- Enclosing class:
- PolicyAntreaIPPoolIPRange
public static final class PolicyAntreaIPPoolIPRange.Builder extends java.lang.ObjectBuilder class forPolicyAntreaIPPoolIPRange.
-
-
Constructor Summary
Constructors Constructor Description Builder()Constructor with parameters for the required properties ofPolicyAntreaIPPoolIPRange.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyAntreaIPPoolIPRangebuild()PolicyAntreaIPPoolIPRange.BuildersetCidr(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.BuildersetEnd(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.BuildersetGateway(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.BuildersetPrefixLength(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.BuildersetStart(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.BuildersetVlan(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.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofPolicyAntreaIPPoolIPRange.
-
-
Method Detail
-
setCidr
public 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.- Parameters:
cidr- New value for the property.
-
setEnd
public 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.- Parameters:
end- New value for the property.
-
setGateway
public 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.- Parameters:
gateway- New value for the property.
-
setPrefixLength
public 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.- Parameters:
prefixLength- New value for the property.
-
setStart
public 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.- Parameters:
start- New value for the property.
-
setVlan
public 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.- Parameters:
vlan- New value for the property.
-
build
public PolicyAntreaIPPoolIPRange build()
-
-