Package com.oracle.bmc.opsi.model
Class OperationsInsightsPrivateEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.OperationsInsightsPrivateEndpoint.Builder
-
- Enclosing class:
- OperationsInsightsPrivateEndpoint
public static class OperationsInsightsPrivateEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationsInsightsPrivateEndpoint
build()
OperationsInsightsPrivateEndpoint.Builder
compartmentId(String compartmentId)
The compartment OCID of the Private service accessed database.OperationsInsightsPrivateEndpoint.Builder
copy(OperationsInsightsPrivateEndpoint model)
OperationsInsightsPrivateEndpoint.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OperationsInsightsPrivateEndpoint.Builder
description(String description)
The description of the private endpoint.OperationsInsightsPrivateEndpoint.Builder
displayName(String displayName)
The display name of the private endpoint.OperationsInsightsPrivateEndpoint.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OperationsInsightsPrivateEndpoint.Builder
id(String id)
The OCID of the Private service accessed database.OperationsInsightsPrivateEndpoint.Builder
isUsedForRacDbs(Boolean isUsedForRacDbs)
The flag is to identify if private endpoint is used for rac database or not.OperationsInsightsPrivateEndpoint.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.OperationsInsightsPrivateEndpoint.Builder
lifecycleState(OperationsInsightsPrivateEndpointLifecycleState lifecycleState)
The current state of the private endpoint.OperationsInsightsPrivateEndpoint.Builder
nsgIds(List<String> nsgIds)
The OCIDs of the network security groups that the private endpoint belongs to.OperationsInsightsPrivateEndpoint.Builder
privateEndpointStatusDetails(String privateEndpointStatusDetails)
A message describing the status of the private endpoint connection of this resource.OperationsInsightsPrivateEndpoint.Builder
privateIp(String privateIp)
The private IP addresses assigned to the private endpoint.OperationsInsightsPrivateEndpoint.Builder
subnetId(String subnetId)
The OCID of the subnet.OperationsInsightsPrivateEndpoint.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.OperationsInsightsPrivateEndpoint.Builder
timeCreated(Date timeCreated)
The date and time the private endpoint was created, in the format defined by RFC3339.OperationsInsightsPrivateEndpoint.Builder
vcnId(String vcnId)
The OCID of the VCN.
-
-
-
Method Detail
-
id
public OperationsInsightsPrivateEndpoint.Builder id(String id)
The OCID of the Private service accessed database.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public OperationsInsightsPrivateEndpoint.Builder displayName(String displayName)
The display name of the private endpoint.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public OperationsInsightsPrivateEndpoint.Builder compartmentId(String compartmentId)
The compartment OCID of the Private service accessed database.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
vcnId
public OperationsInsightsPrivateEndpoint.Builder vcnId(String vcnId)
The OCID of the VCN.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
subnetId
public OperationsInsightsPrivateEndpoint.Builder subnetId(String subnetId)
The OCID of the subnet.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
privateIp
public OperationsInsightsPrivateEndpoint.Builder privateIp(String privateIp)
The private IP addresses assigned to the private endpoint.All IP addresses will be concatenated if it is RAC DBs.
- Parameters:
privateIp
- the value to set- Returns:
- this builder
-
description
public OperationsInsightsPrivateEndpoint.Builder description(String description)
The description of the private endpoint.- Parameters:
description
- the value to set- Returns:
- this builder
-
timeCreated
public OperationsInsightsPrivateEndpoint.Builder timeCreated(Date timeCreated)
The date and time the private endpoint was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public OperationsInsightsPrivateEndpoint.Builder lifecycleState(OperationsInsightsPrivateEndpointLifecycleState lifecycleState)
The current state of the private endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public OperationsInsightsPrivateEndpoint.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
privateEndpointStatusDetails
public OperationsInsightsPrivateEndpoint.Builder privateEndpointStatusDetails(String privateEndpointStatusDetails)
A message describing the status of the private endpoint connection of this resource.For example, it can be used to provide actionable information about the validity of the private endpoint connection.
- Parameters:
privateEndpointStatusDetails
- the value to set- Returns:
- this builder
-
isUsedForRacDbs
public OperationsInsightsPrivateEndpoint.Builder isUsedForRacDbs(Boolean isUsedForRacDbs)
The flag is to identify if private endpoint is used for rac database or not.This flag is deprecated and no longer is used.
- Parameters:
isUsedForRacDbs
- the value to set- Returns:
- this builder
-
nsgIds
public OperationsInsightsPrivateEndpoint.Builder nsgIds(List<String> nsgIds)
The OCIDs of the network security groups that the private endpoint belongs to.- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
freeformTags
public OperationsInsightsPrivateEndpoint.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 OperationsInsightsPrivateEndpoint.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 OperationsInsightsPrivateEndpoint.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public OperationsInsightsPrivateEndpoint build()
-
copy
public OperationsInsightsPrivateEndpoint.Builder copy(OperationsInsightsPrivateEndpoint model)
-
-