Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
EniInfo . |
Modifier and Type | Method and Description |
---|---|
EniInfo |
build() |
EniInfo.Builder |
setAssociationId(java.lang.String associationId)
Id of the association for branch ENI, it is used to disassociate branch eni from
trunk eni.
|
EniInfo.Builder |
setAttachmentId(java.lang.String attachmentId)
Id of the attachment, it is used to detach eni from instance.
|
EniInfo.Builder |
setDeviceIndex(java.lang.Long deviceIndex)
index of eni device..
|
EniInfo.Builder |
setId(java.lang.String id)
Interface ID.
|
EniInfo.Builder |
setInstanceId(java.lang.String instanceId)
Id of the instance to be attached.
|
EniInfo.Builder |
setMacAddress(java.lang.String macAddress)
Mac address of nic.
|
EniInfo.Builder |
setPortgroup(java.lang.String portgroup)
The portgroup name or null if the ENI does not mapped to a portgroup.
|
EniInfo.Builder |
setPrivateIp(java.lang.String privateIp)
Private ip of eni.
|
EniInfo.Builder |
setPublicIps(java.util.List<java.lang.String> publicIps)
public ips to be associated with the secondary private ips.
|
EniInfo.Builder |
setSecondaryIps(java.util.List<java.lang.String> secondaryIps)
secondary private ips to be assigned.
|
EniInfo.Builder |
setSecurityGroupId(java.lang.String securityGroupId)
Security Group of Eni.
|
EniInfo.Builder |
setSourceDestCheckFalse(java.lang.Boolean sourceDestCheckFalse)
Whether to set sourceDestCheck as false..
|
EniInfo.Builder |
setSubnetId(java.lang.String subnetId)
Subnet it belongs to.
|
EniInfo.Builder |
setVmkId(java.lang.String vmkId)
The vmknic id or null if the ENI does not mapped to a vmknic.
|
public Builder()
EniInfo
.public EniInfo.Builder setSecondaryIps(java.util.List<java.lang.String> secondaryIps)
secondaryIps
- New value for the property.public EniInfo.Builder setAttachmentId(java.lang.String attachmentId)
attachmentId
- New value for the property.public EniInfo.Builder setAssociationId(java.lang.String associationId)
associationId
- New value for the property.public EniInfo.Builder setVmkId(java.lang.String vmkId)
vmkId
- New value for the property.public EniInfo.Builder setDeviceIndex(java.lang.Long deviceIndex)
deviceIndex
- New value for the property.public EniInfo.Builder setSecurityGroupId(java.lang.String securityGroupId)
securityGroupId
- New value for the property.public EniInfo.Builder setInstanceId(java.lang.String instanceId)
instanceId
- New value for the property.public EniInfo.Builder setSubnetId(java.lang.String subnetId)
subnetId
- New value for the property.public EniInfo.Builder setPublicIps(java.util.List<java.lang.String> publicIps)
publicIps
- New value for the property.public EniInfo.Builder setPrivateIp(java.lang.String privateIp)
privateIp
- New value for the property.public EniInfo.Builder setMacAddress(java.lang.String macAddress)
macAddress
- New value for the property.public EniInfo.Builder setSourceDestCheckFalse(java.lang.Boolean sourceDestCheckFalse)
sourceDestCheckFalse
- New value for the property.public EniInfo.Builder setPortgroup(java.lang.String portgroup)
portgroup
- New value for the property.public EniInfo.Builder setId(java.lang.String id)
id
- New value for the property.public EniInfo build()