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)
Simple key-value pair that is applied without any predefined name, type or scope.
|
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 |
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.
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.
Example: {"foo-namespace": {"bar-key": "value"}}
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)
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: {"bar-key": "value"}
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, bminstance-1
in FQDN bminstance-1.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: bminstance-1
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.
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 subnetId(String subnetId)
The OCID of the subnet the VNIC is in.
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.
vnicId
- the value to setpublic PrivateIp build()
public PrivateIp.Builder copy(PrivateIp model)
Copyright © 2016–2023. All rights reserved.