Class PrivateEndpointSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcemanager.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)
The OCID of the compartment containing this private endpoint.PrivateEndpointSummary.Builder
copy(PrivateEndpointSummary model)
PrivateEndpointSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.PrivateEndpointSummary.Builder
description(String description)
Description of the private endpoint.PrivateEndpointSummary.Builder
displayName(String displayName)
A user-friendly name.PrivateEndpointSummary.Builder
dnsZones(List<String> dnsZones)
DNS zones to use for accessing private Git servers.PrivateEndpointSummary.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags associated with the resource.PrivateEndpointSummary.Builder
id(String id)
The OCID of the private endpoint.PrivateEndpointSummary.Builder
isUsedWithConfigurationSourceProvider(Boolean isUsedWithConfigurationSourceProvider)
When true, allows the private endpoint to be used with a configuration source provider.PrivateEndpointSummary.Builder
lifecycleState(PrivateEndpoint.LifecycleState lifecycleState)
The current lifecycle state of the private endpoint.PrivateEndpointSummary.Builder
timeCreated(Date timeCreated)
The date and time when the private endpoint was created.PrivateEndpointSummary.Builder
vcnId(String vcnId)
The OCID of the VCN for the private endpoint.
-
-
-
Method Detail
-
id
public PrivateEndpointSummary.Builder id(String id)
The OCID of the private endpoint.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public PrivateEndpointSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing this private endpoint.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public PrivateEndpointSummary.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
-
description
public PrivateEndpointSummary.Builder description(String description)
Description of the private endpoint.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
vcnId
public PrivateEndpointSummary.Builder vcnId(String vcnId)
The OCID of the VCN for the private endpoint.- Parameters:
vcnId
- the value to set- Returns:
- this builder
-
isUsedWithConfigurationSourceProvider
public PrivateEndpointSummary.Builder isUsedWithConfigurationSourceProvider(Boolean isUsedWithConfigurationSourceProvider)
When true, allows the private endpoint to be used with a configuration source provider.- Parameters:
isUsedWithConfigurationSourceProvider
- the value to set- Returns:
- this builder
-
dnsZones
public PrivateEndpointSummary.Builder dnsZones(List<String> dnsZones)
DNS zones to use for accessing private Git servers.For private Git server instructions, see Private Git Server. DNS Proxy forwards any DNS FQDN queries over into the consumer DNS resolver if the DNS FQDN is included in the dns zones list otherwise it goes to service provider VCN resolver.
- Parameters:
dnsZones
- the value to set- Returns:
- this builder
-
timeCreated
public PrivateEndpointSummary.Builder timeCreated(Date timeCreated)
The date and time when the private endpoint was created.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public PrivateEndpointSummary.Builder lifecycleState(PrivateEndpoint.LifecycleState lifecycleState)
The current lifecycle state of the private endpoint.Allowable values: - ACTIVE - CREATING - DELETING - DELETED - FAILED
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public PrivateEndpointSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags associated with the resource.Each tag is a key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- 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. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public PrivateEndpointSummary build()
-
copy
public PrivateEndpointSummary.Builder copy(PrivateEndpointSummary model)
-
-