Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PrivateIp.Builder |
availabilityDomain(String availabilityDomain)
The private IP’s availability domain.
|
PrivateIp |
build() |
PrivateIp.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment containing the private IP.
|
PrivateIp.Builder |
copy(PrivateIp model) |
PrivateIp.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
PrivateIp.Builder |
displayName(String displayName)
A user-friendly name.
|
PrivateIp.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
PrivateIp.Builder |
hostnameLabel(String hostnameLabel)
The hostname for the private IP.
|
PrivateIp.Builder |
id(String id)
The private IP’s Oracle ID
(OCID).
|
PrivateIp.Builder |
ipAddress(String ipAddress)
The private IP address of the
privateIp object. |
PrivateIp.Builder |
isPrimary(Boolean isPrimary)
Whether this private IP is the primary one on the VNIC.
|
PrivateIp.Builder |
subnetId(String subnetId)
The OCID
of the subnet the VNIC is in.
|
PrivateIp.Builder |
timeCreated(Date timeCreated)
The date and time the private IP was created, in the format defined by
RFC3339.
|
PrivateIp.Builder |
vlanId(String vlanId)
Applicable only if the
PrivateIp object is being used with a VLAN as part of the
Oracle Cloud VMware Solution. |
PrivateIp.Builder |
vnicId(String vnicId)
The OCID
of the VNIC the private IP is assigned to.
|
public PrivateIp.Builder availabilityDomain(String availabilityDomain)
The private IP’s availability domain. This attribute will be null if this is a secondary private IP assigned to a VNIC that is in a regional subnet.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic PrivateIp.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the private IP.
compartmentId
- the value to setpublic PrivateIp.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic PrivateIp.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic PrivateIp.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic PrivateIp.Builder hostnameLabel(String hostnameLabel)
The hostname for the private IP. Used for DNS. The value is the hostname portion of the
private IP’s fully qualified domain name (FQDN) (for example, bminstance1
in FQDN
bminstance1.subnet123.vcn1.oraclevcn.com
). Must be unique across all VNICs in the
subnet and comply with RFC 952 and RFC
1123.
For more information, see [DNS in Your Virtual Cloud Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm).
Example: bminstance1
hostnameLabel
- the value to setpublic PrivateIp.Builder id(String id)
The private IP’s Oracle ID (OCID).
id
- the value to setpublic PrivateIp.Builder ipAddress(String ipAddress)
The private IP address of the privateIp
object. The address is within the CIDR of
the VNIC’s subnet.
However, if the PrivateIp
object is being used with a VLAN as part of the
Oracle Cloud VMware Solution, the address is from the range specified by the cidrBlock
attribute for the VLAN. See Vlan
.
Example: 10.0.3.3
ipAddress
- the value to setpublic PrivateIp.Builder isPrimary(Boolean isPrimary)
Whether this private IP is the primary one on the VNIC. Primary private IPs are unassigned and deleted automatically when the VNIC is terminated.
Example: true
isPrimary
- the value to setpublic PrivateIp.Builder vlanId(String vlanId)
Applicable only if the PrivateIp
object is being used with a VLAN as part of the
Oracle Cloud VMware Solution. The vlanId
is the
OCID of
the VLAN. See Vlan
.
vlanId
- the value to setpublic PrivateIp.Builder subnetId(String subnetId)
The OCID of the subnet the VNIC is in.
However, if the PrivateIp
object is being used with a VLAN as part of the
Oracle Cloud VMware Solution, the subnetId
is null.
subnetId
- the value to setpublic PrivateIp.Builder timeCreated(Date timeCreated)
The date and time the private IP was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic PrivateIp.Builder vnicId(String vnicId)
The OCID
of the VNIC the private IP is assigned to. The VNIC and private IP must be in the same
subnet. However, if the PrivateIp
object is being used with a VLAN as part of the
Oracle Cloud VMware Solution, the vnicId
is null.
vnicId
- the value to setpublic PrivateIp build()
public PrivateIp.Builder copy(PrivateIp model)
Copyright © 2016–2024. All rights reserved.