Class CreatePrivateEndpointDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.objectstorage.model.CreatePrivateEndpointDetails.Builder
 
- 
- Enclosing class:
- CreatePrivateEndpointDetails
 
 public static class CreatePrivateEndpointDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePrivateEndpointDetails.BuilderaccessTargets(List<AccessTargetDetails> accessTargets)A list of targets that can be accessed by the private endpoint.CreatePrivateEndpointDetails.BuilderadditionalPrefixes(List<String> additionalPrefixes)A list of additional prefix that you can provide along with any other prefix.CreatePrivateEndpointDetailsbuild()CreatePrivateEndpointDetails.BuildercompartmentId(String compartmentId)The ID of the compartment in which to create the Private Endpoint.CreatePrivateEndpointDetails.Buildercopy(CreatePrivateEndpointDetails model)CreatePrivateEndpointDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreatePrivateEndpointDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreatePrivateEndpointDetails.Buildername(String name)This name associated with the endpoint.CreatePrivateEndpointDetails.BuildernsgIds(List<String> nsgIds)A list of the OCIDs of the network security groups (NSGs) to add the private endpoint’s VNIC to.CreatePrivateEndpointDetails.Builderprefix(String prefix)A prefix to use for the private endpoint.CreatePrivateEndpointDetails.BuilderprivateEndpointIp(String privateEndpointIp)The private IP address to assign to this private endpoint.CreatePrivateEndpointDetails.BuildersubnetId(String subnetId)The OCID of the customer’s subnet where the private endpoint VNIC will reside.
 
- 
- 
- 
Method Detail- 
namepublic CreatePrivateEndpointDetails.Builder name(String name) This name associated with the endpoint.Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. Example: my-new-private-endpoint1 - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreatePrivateEndpointDetails.Builder compartmentId(String compartmentId) The ID of the compartment in which to create the Private Endpoint.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
subnetIdpublic CreatePrivateEndpointDetails.Builder subnetId(String subnetId) The OCID of the customer’s subnet where the private endpoint VNIC will reside.- Parameters:
- subnetId- the value to set
- Returns:
- this builder
 
 - 
prefixpublic CreatePrivateEndpointDetails.Builder prefix(String prefix) A prefix to use for the private endpoint.The customer VCN’s DNS records are updated with this prefix. The prefix input from the customer will be the first sub-domain in the endpointFqdn. Example: If the prefix chosen is “abc”, then the endpointFqdn will be ‘abc.private.objectstorage. .oraclecloud.com’ - Parameters:
- prefix- the value to set
- Returns:
- this builder
 
 - 
additionalPrefixespublic CreatePrivateEndpointDetails.Builder additionalPrefixes(List<String> additionalPrefixes) A list of additional prefix that you can provide along with any other prefix.These resulting endpointFqdn’s are added to the customer VCN’s DNS record. - Parameters:
- additionalPrefixes- the value to set
- Returns:
- this builder
 
 - 
privateEndpointIppublic CreatePrivateEndpointDetails.Builder privateEndpointIp(String privateEndpointIp) The private IP address to assign to this private endpoint.If you provide a value, it must be an available IP address in the customer’s subnet. If it’s not available, an error is returned. If you do not provide a value, an available IP address in the subnet is automatically chosen. - Parameters:
- privateEndpointIp- the value to set
- Returns:
- this builder
 
 - 
nsgIdspublic CreatePrivateEndpointDetails.Builder nsgIds(List<String> nsgIds) A list of the OCIDs of the network security groups (NSGs) to add the private endpoint’s VNIC to.For more information about NSGs, see NetworkSecurityGroup.- Parameters:
- nsgIds- the value to set
- Returns:
- this builder
 
 - 
accessTargetspublic CreatePrivateEndpointDetails.Builder accessTargets(List<AccessTargetDetails> accessTargets) A list of targets that can be accessed by the private endpoint.- Parameters:
- accessTargets- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic CreatePrivateEndpointDetails build() 
 - 
copypublic CreatePrivateEndpointDetails.Builder copy(CreatePrivateEndpointDetails model) 
 
- 
 
-