Class DhcpOptions.Builder
- java.lang.Object
-
- com.oracle.bmc.vnmonitoring.model.DhcpOptions.Builder
-
- Enclosing class:
- DhcpOptions
public static class DhcpOptions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DhcpOptions
build()
DhcpOptions.Builder
compartmentId(String compartmentId)
The OCID of the compartment containing the set of DHCP options.DhcpOptions.Builder
copy(DhcpOptions model)
DhcpOptions.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.DhcpOptions.Builder
displayName(String displayName)
A user-friendly name.DhcpOptions.Builder
domainNameType(DhcpOptions.DomainNameType domainNameType)
The search domain name type of DHCP optionsDhcpOptions.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.DhcpOptions.Builder
id(String id)
Oracle ID (OCID) for the set of DHCP options.DhcpOptions.Builder
lifecycleState(DhcpOptions.LifecycleState lifecycleState)
The current state of the set of DHCP options.DhcpOptions.Builder
options(List<DhcpOption> options)
The collection of individual DHCP options.DhcpOptions.Builder
timeCreated(Date timeCreated)
Date and time the set of DHCP options was created, in the format defined by RFC3339.DhcpOptions.Builder
vcnId(String vcnId)
The OCID of the VCN the set of DHCP options belongs to.
-
-
-
Method Detail
-
compartmentId
public DhcpOptions.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the set of DHCP options.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public DhcpOptions.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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
displayName
public DhcpOptions.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
freeformTags
public DhcpOptions.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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
id
public DhcpOptions.Builder id(String id)
Oracle ID (OCID) for the set of DHCP options.- Parameters:
id
- the value to set- Returns:
- this builder
-
lifecycleState
public DhcpOptions.Builder lifecycleState(DhcpOptions.LifecycleState lifecycleState)
The current state of the set of DHCP options.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
options
public DhcpOptions.Builder options(List<DhcpOption> options)
The collection of individual DHCP options.- Parameters:
options
- the value to set- Returns:
- this builder
-
timeCreated
public DhcpOptions.Builder timeCreated(Date timeCreated)
Date and time the set of DHCP options was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
vcnId
public DhcpOptions.Builder vcnId(String vcnId)
The OCID of the VCN the set of DHCP options belongs to.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
domainNameType
public DhcpOptions.Builder domainNameType(DhcpOptions.DomainNameType domainNameType)
The search domain name type of DHCP options- Parameters:
domainNameType
- the value to set- Returns:
- this builder
-
build
public DhcpOptions build()
-
copy
public DhcpOptions.Builder copy(DhcpOptions model)
-
-