Class CreatePrivateEndpointDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.CreatePrivateEndpointDetails.Builder
-
- Enclosing class:
- CreatePrivateEndpointDetails
public static class CreatePrivateEndpointDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
compartmentId
public CreatePrivateEndpointDetails.Builder compartmentId(String compartmentId)
The OCID of a compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
definedTags
public CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails.Builder description(String description)
A user-friendly description.Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
displayName
public CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails.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
-
maxHostCount
public CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails.Builder nsgIds(List<String> nsgIds)
An array of network security group OCIDs.- Parameters:
nsgIds
- the value to set- Returns:
- this builder
-
scanDetails
public CreatePrivateEndpointDetails.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 CreatePrivateEndpointDetails.Builder subnetId(String subnetId)
The OCID of a subnet.- Parameters:
subnetId
- the value to set- Returns:
- this builder
-
build
public CreatePrivateEndpointDetails build()
-
copy
public CreatePrivateEndpointDetails.Builder copy(CreatePrivateEndpointDetails model)
-
-