Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
NicInfo . |
Modifier and Type | Method and Description |
---|---|
NicInfo |
build() |
NicInfo.Builder |
setGatewayAddress(java.lang.String gatewayAddress)
Gateway address associated with the NIC metadata.
|
NicInfo.Builder |
setIpAddress(java.lang.String ipAddress)
IP address associated with the NIC metadata.
|
NicInfo.Builder |
setIpAllocationType(java.lang.String ipAllocationType)
Possible values are:
NicInfo.IP_ALLOCATION_TYPE_STATIC NicInfo.IP_ALLOCATION_TYPE_DHCP NicInfo.IP_ALLOCATION_TYPE_NONE IP allocation
type with values STATIC, DHCP, or NONE indicating that IP address is not
required. |
NicInfo.Builder |
setIpPoolId(java.lang.String ipPoolId)
If the nic should get IP using a static IP pool then IP pool id should be
provided here.
|
NicInfo.Builder |
setNetworkId(java.lang.String networkId)
Network Id associated with the NIC metadata.
|
NicInfo.Builder |
setNicMetadata(NicMetadata nicMetadata) |
NicInfo.Builder |
setSubnetMask(java.lang.String subnetMask)
Subnet mask associated with the NIC metadata.
|
public Builder()
NicInfo
.public NicInfo.Builder setGatewayAddress(java.lang.String gatewayAddress)
gatewayAddress
- New value for the property.public NicInfo.Builder setIpAddress(java.lang.String ipAddress)
ipAddress
- New value for the property.public NicInfo.Builder setIpAllocationType(java.lang.String ipAllocationType)
ipAllocationType
- New value for the property.public NicInfo.Builder setIpPoolId(java.lang.String ipPoolId)
ipPoolId
- New value for the property.public NicInfo.Builder setNetworkId(java.lang.String networkId)
networkId
- New value for the property.public NicInfo.Builder setNicMetadata(NicMetadata nicMetadata)
nicMetadata
- New value for the property.public NicInfo.Builder setSubnetMask(java.lang.String subnetMask)
subnetMask
- New value for the property.public NicInfo build()