primaryIp
public CreateInstanceNetworkInterfaceOptions.Builder primaryIp(NetworkInterfaceIPPrototype primaryIp)
Set the primaryIp.
- Parameters:
primaryIp
- the primaryIp- Returns:
- the CreateInstanceNetworkInterfaceOptions builder
Builder()
Builder(String instanceId,
SubnetIdentity subnet)
addSecurityGroups(SecurityGroupIdentity securityGroups)
allowIpSpoofing(Boolean allowIpSpoofing)
build()
instanceId(String instanceId)
networkInterfacePrototype(NetworkInterfacePrototype networkInterfacePrototype)
primaryIp(NetworkInterfaceIPPrototype primaryIp)
securityGroups(List<SecurityGroupIdentity> securityGroups)
subnet(SubnetIdentity subnet)
instanceId
- the instanceIdsubnet
- the subnetsecurityGroups
- the new element to be addedinstanceId
- the instanceIdsubnet
- the subnetallowIpSpoofing
- the allowIpSpoofingname
- the nameprimaryIp
- the primaryIpsecurityGroups
- the securityGroupsnetworkInterfacePrototype
- the networkInterfacePrototype