Class PrivateEndpointSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.globallydistributeddatabase.model.PrivateEndpointSummary.Builder
-
- Enclosing class:
- PrivateEndpointSummary
public static class PrivateEndpointSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpointSummary
build()
PrivateEndpointSummary.Builder
compartmentId(String compartmentId)
Identifier of the compartment where private endpoint exists.PrivateEndpointSummary.Builder
copy(PrivateEndpointSummary model)
PrivateEndpointSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.PrivateEndpointSummary.Builder
description(String description)
PrivateEndpoint description.PrivateEndpointSummary.Builder
displayName(String displayName)
Private endpoint display name.PrivateEndpointSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.PrivateEndpointSummary.Builder
id(String id)
PrivateEndpoint identifierPrivateEndpointSummary.Builder
lifecycleState(PrivateEndpoint.LifecycleState lifecycleState)
Lifecycle state of private endpoint.PrivateEndpointSummary.Builder
lifecycleStateDetails(String lifecycleStateDetails)
Detailed message for the lifecycle state.PrivateEndpointSummary.Builder
nsgIds(List<String> nsgIds)
The OCIDs of the network security groups that the private endpoint belongs to.PrivateEndpointSummary.Builder
subnetId(String subnetId)
Identifier of the customer subnet against which private endpoint is created.PrivateEndpointSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.PrivateEndpointSummary.Builder
timeCreated(Date timeCreated)
The time the the private endpoint was created.PrivateEndpointSummary.Builder
timeUpdated(Date timeUpdated)
The time the private endpoint was last updated.PrivateEndpointSummary.Builder
vcnId(String vcnId)
Identifier of the VCN in which subnet exists.
-
-
-
Method Detail
-
id
public PrivateEndpointSummary.Builder id(String id)
PrivateEndpoint identifier- Parameters:
id
- the value to set- Returns:
- this builder
-
description
public PrivateEndpointSummary.Builder description(String description)
PrivateEndpoint description.- Parameters:
description
- the value to set- Returns:
- this builder
-
compartmentId
public PrivateEndpointSummary.Builder compartmentId(String compartmentId)
Identifier of the compartment where private endpoint exists.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
subnetId
public PrivateEndpointSummary.Builder subnetId(String subnetId)
Identifier of the customer subnet against which private endpoint is created.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
vcnId
public PrivateEndpointSummary.Builder vcnId(String vcnId)
Identifier of the VCN in which subnet exists.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
displayName
public PrivateEndpointSummary.Builder displayName(String displayName)
Private endpoint display name.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
nsgIds
public PrivateEndpointSummary.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
-
timeCreated
public PrivateEndpointSummary.Builder timeCreated(Date timeCreated)
The time the the private endpoint was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public PrivateEndpointSummary.Builder timeUpdated(Date timeUpdated)
The time the private endpoint was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public PrivateEndpointSummary.Builder lifecycleState(PrivateEndpoint.LifecycleState lifecycleState)
Lifecycle state of private endpoint.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public PrivateEndpointSummary.Builder lifecycleStateDetails(String lifecycleStateDetails)
Detailed message for the lifecycle state.- Parameters:
lifecycleStateDetails
- the value to set- Returns:
- this builder
-
freeformTags
public PrivateEndpointSummary.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 PrivateEndpointSummary.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 PrivateEndpointSummary.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
-
build
public PrivateEndpointSummary build()
-
copy
public PrivateEndpointSummary.Builder copy(PrivateEndpointSummary model)
-
-