Class PrivateEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.PrivateEndpoint.Builder
-
- Enclosing class:
- PrivateEndpoint
public static class PrivateEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpointbuild()PrivateEndpoint.BuildercompartmentId(String compartmentId)The OCID of a compartment.PrivateEndpoint.Buildercopy(PrivateEndpoint model)PrivateEndpoint.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PrivateEndpoint.Builderdescription(String description)A user-friendly description.PrivateEndpoint.BuilderdisplayName(String displayName)A user-friendly name.PrivateEndpoint.BuilderdnsZones(List<String> dnsZones)An array of DNS zone names.PrivateEndpoint.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.PrivateEndpoint.Builderid(String id)The OCID of a private endpoint.PrivateEndpoint.BuilderlifecycleDetails(String lifecycleDetails)The detailed messages about the lifecycle state.PrivateEndpoint.BuilderlifecycleState(PrivateEndpointLifecycleState lifecycleState)The current state of this private endpoint.PrivateEndpoint.BuildermaxHostCount(Integer maxHostCount)The maximum number of hosts to be accessed through the private endpoint.PrivateEndpoint.BuildernsgIds(List<String> nsgIds)An array of network security group OCIDs.PrivateEndpoint.BuilderownerPrincipalId(String ownerPrincipalId)The OCID of the user who created the resource.PrivateEndpoint.BuilderownerUserName(String ownerUserName)The username of the user who created the resource.PrivateEndpoint.BuilderscanDetails(List<Scan> scanDetails)An array of fqdn/port pairs used to create private endpoint.PrivateEndpoint.BuildersubnetId(String subnetId)The OCID of a subnet.PrivateEndpoint.BuildertimeCreated(Date timeCreated)The date and time the resource was created, expressed in RFC 3339 timestamp format.PrivateEndpoint.BuildertimeUpdated(Date timeUpdated)The date and time the resource was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
compartmentId
public PrivateEndpoint.Builder compartmentId(String compartmentId)
The OCID of a compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public PrivateEndpoint.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
-
description
public PrivateEndpoint.Builder description(String description)
A user-friendly description.Avoid entering confidential information.
- Parameters:
description- the value to set- Returns:
- this builder
-
displayName
public PrivateEndpoint.Builder displayName(String displayName)
A user-friendly name.It does not have to be unique. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
dnsZones
public PrivateEndpoint.Builder dnsZones(List<String> dnsZones)
An array of DNS zone names.Example: [ “app.examplecorp.com”, “app.examplecorp2.com” ]
- Parameters:
dnsZones- the value to set- Returns:
- this builder
-
freeformTags
public PrivateEndpoint.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple 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
-
id
public PrivateEndpoint.Builder id(String id)
The OCID of a private endpoint.- Parameters:
id- the value to set- Returns:
- this builder
-
lifecycleDetails
public PrivateEndpoint.Builder lifecycleDetails(String lifecycleDetails)
The detailed messages about the lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
lifecycleState
public PrivateEndpoint.Builder lifecycleState(PrivateEndpointLifecycleState lifecycleState)
The current state of this private endpoint.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
maxHostCount
public PrivateEndpoint.Builder maxHostCount(Integer maxHostCount)
The maximum number of hosts to be accessed through the private endpoint.This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512.
- Parameters:
maxHostCount- the value to set- Returns:
- this builder
-
nsgIds
public PrivateEndpoint.Builder nsgIds(List<String> nsgIds)
An array of network security group OCIDs.- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
ownerPrincipalId
public PrivateEndpoint.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.- Parameters:
ownerPrincipalId- the value to set- Returns:
- this builder
-
ownerUserName
public PrivateEndpoint.Builder ownerUserName(String ownerUserName)
The username of the user who created the resource.If the username of the owner does not exist, null will be returned and the caller should refer to the ownerPrincipalId value instead.
- Parameters:
ownerUserName- the value to set- Returns:
- this builder
-
scanDetails
public PrivateEndpoint.Builder scanDetails(List<Scan> scanDetails)
An array of fqdn/port pairs used to create private endpoint.Each object is a simple key-value pair with FQDN as key and port number as value. [ { fqdn: “scan1.oracle.com”, port: “1521”}, { fqdn: “scan2.oracle.com”, port: “1521” } ]
- Parameters:
scanDetails- the value to set- Returns:
- this builder
-
subnetId
public PrivateEndpoint.Builder subnetId(String subnetId)
The OCID of a subnet.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
timeCreated
public PrivateEndpoint.Builder timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC 3339 timestamp format.Example: 2018-04-03T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public PrivateEndpoint.Builder timeUpdated(Date timeUpdated)
The date and time the resource was updated, expressed in RFC 3339 timestamp format.Example: 2018-04-03T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public PrivateEndpoint build()
-
copy
public PrivateEndpoint.Builder copy(PrivateEndpoint model)
-
-