Class VbInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.visualbuilder.model.VbInstance.Builder
-
- Enclosing class:
- VbInstance
public static class VbInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VbInstance.Builder
alternateCustomEndpoints(List<CustomEndpointDetails> alternateCustomEndpoints)
A list of alternate custom endpoints used for the vb instance URL.VbInstance
build()
VbInstance.Builder
compartmentId(String compartmentId)
Compartment Identifier.VbInstance.Builder
consumptionModel(VbInstance.ConsumptionModel consumptionModel)
The entitlement used for billing purposes.VbInstance.Builder
copy(VbInstance model)
VbInstance.Builder
customEndpoint(CustomEndpointDetails customEndpoint)
VbInstance.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.VbInstance.Builder
displayName(String displayName)
Vb Instance Identifier, can be renamed.VbInstance.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.VbInstance.Builder
id(String id)
Unique identifier that is immutable on creation.VbInstance.Builder
instanceUrl(String instanceUrl)
The Vb Instance URL.VbInstance.Builder
isVisualBuilderEnabled(Boolean isVisualBuilderEnabled)
Visual Builder is enabled or not.VbInstance.Builder
lifecycleState(VbInstance.LifecycleState lifecycleState)
The current state of the vb instance.VbInstance.Builder
managementNatGatewayIp(String managementNatGatewayIp)
The NAT gateway IP address for the VB management VCNVbInstance.Builder
managementVcnId(String managementVcnId)
The Oracle Cloud ID (OCID) of the Visual Builder management VCNVbInstance.Builder
networkEndpointDetails(NetworkEndpointDetails networkEndpointDetails)
VbInstance.Builder
nodeCount(Integer nodeCount)
The number of NodesVbInstance.Builder
serviceNatGatewayIp(String serviceNatGatewayIp)
The NAT gateway IP address for the VB service VCNVbInstance.Builder
serviceVcnId(String serviceVcnId)
The Oracle Cloud ID (OCID) of the Visual Builder service VCNVbInstance.Builder
stateMessage(String stateMessage)
An message describing the current state in more detail.VbInstance.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.VbInstance.Builder
timeCreated(Date timeCreated)
The time the the VbInstance was created.VbInstance.Builder
timeUpdated(Date timeUpdated)
The time the VbInstance was updated.
-
-
-
Method Detail
-
id
public VbInstance.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public VbInstance.Builder displayName(String displayName)
Vb Instance Identifier, can be renamed.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public VbInstance.Builder compartmentId(String compartmentId)
Compartment Identifier.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public VbInstance.Builder timeCreated(Date timeCreated)
The time the the VbInstance was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public VbInstance.Builder timeUpdated(Date timeUpdated)
The time the VbInstance was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public VbInstance.Builder lifecycleState(VbInstance.LifecycleState lifecycleState)
The current state of the vb instance.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
stateMessage
public VbInstance.Builder stateMessage(String stateMessage)
An message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
stateMessage
- the value to set- Returns:
- this builder
-
freeformTags
public VbInstance.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
-
definedTags
public VbInstance.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
-
systemTags
public VbInstance.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
instanceUrl
public VbInstance.Builder instanceUrl(String instanceUrl)
The Vb Instance URL.- Parameters:
instanceUrl
- the value to set- Returns:
- this builder
-
nodeCount
public VbInstance.Builder nodeCount(Integer nodeCount)
The number of Nodes- Parameters:
nodeCount
- the value to set- Returns:
- this builder
-
isVisualBuilderEnabled
public VbInstance.Builder isVisualBuilderEnabled(Boolean isVisualBuilderEnabled)
Visual Builder is enabled or not.- Parameters:
isVisualBuilderEnabled
- the value to set- Returns:
- this builder
-
customEndpoint
public VbInstance.Builder customEndpoint(CustomEndpointDetails customEndpoint)
-
alternateCustomEndpoints
public VbInstance.Builder alternateCustomEndpoints(List<CustomEndpointDetails> alternateCustomEndpoints)
A list of alternate custom endpoints used for the vb instance URL.- Parameters:
alternateCustomEndpoints
- the value to set- Returns:
- this builder
-
consumptionModel
public VbInstance.Builder consumptionModel(VbInstance.ConsumptionModel consumptionModel)
The entitlement used for billing purposes.- Parameters:
consumptionModel
- the value to set- Returns:
- this builder
-
serviceNatGatewayIp
public VbInstance.Builder serviceNatGatewayIp(String serviceNatGatewayIp)
The NAT gateway IP address for the VB service VCN- Parameters:
serviceNatGatewayIp
- the value to set- Returns:
- this builder
-
managementNatGatewayIp
public VbInstance.Builder managementNatGatewayIp(String managementNatGatewayIp)
The NAT gateway IP address for the VB management VCN- Parameters:
managementNatGatewayIp
- the value to set- Returns:
- this builder
-
serviceVcnId
public VbInstance.Builder serviceVcnId(String serviceVcnId)
The Oracle Cloud ID (OCID) of the Visual Builder service VCN- Parameters:
serviceVcnId
- the value to set- Returns:
- this builder
-
managementVcnId
public VbInstance.Builder managementVcnId(String managementVcnId)
The Oracle Cloud ID (OCID) of the Visual Builder management VCN- Parameters:
managementVcnId
- the value to set- Returns:
- this builder
-
networkEndpointDetails
public VbInstance.Builder networkEndpointDetails(NetworkEndpointDetails networkEndpointDetails)
-
build
public VbInstance build()
-
copy
public VbInstance.Builder copy(VbInstance model)
-
-