Class PrivateEndpoint.Builder
- java.lang.Object
- 
- com.oracle.bmc.objectstorage.model.PrivateEndpoint.Builder
 
- 
- Enclosing class:
- PrivateEndpoint
 
 public static class PrivateEndpoint.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateEndpoint.BuilderaccessTargets(List<AccessTargetDetails> accessTargets)A list of targets that can be accessed by the private endpoint.PrivateEndpoint.BuilderadditionalPrefixes(List<String> additionalPrefixes)A list of additional prefix that you can provide along with any other prefix.PrivateEndpointbuild()PrivateEndpoint.BuildercompartmentId(String compartmentId)The compartment which is associated with the Private Endpoint.PrivateEndpoint.Buildercopy(PrivateEndpoint model)PrivateEndpoint.BuildercreatedBy(String createdBy)The OCID of the user who created the Private Endpoint.PrivateEndpoint.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PrivateEndpoint.Builderetag(String etag)The entity tag (ETag) for the Private Endpoint.PrivateEndpoint.Builderfqdns(Fqdns fqdns)PrivateEndpoint.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.PrivateEndpoint.Builderid(String id)The OCID of the PrivateEndpoint.PrivateEndpoint.BuilderlifecycleState(PrivateEndpoint.LifecycleState lifecycleState)The Private Endpoint’s lifecycle state.PrivateEndpoint.Buildername(String name)This name associated with the endpoint.PrivateEndpoint.Buildernamespace(String namespace)The Object Storage namespace associated with the private enpoint.PrivateEndpoint.BuildernsgIds(List<String> nsgIds)A list of the OCIDs of the network security groups (NSGs) to add the private endpoint’s VNIC to.PrivateEndpoint.Builderprefix(String prefix)A prefix to use for the private endpoint.PrivateEndpoint.BuilderprivateEndpointIp(String privateEndpointIp)The private IP address to assign to this private endpoint.PrivateEndpoint.BuildersubnetId(String subnetId)The OCID of the customer’s subnet where the private endpoint VNIC will reside.PrivateEndpoint.BuildertimeCreated(Date timeCreated)The date and time the Private Endpoint was created, as described in RFC 2616.PrivateEndpoint.BuildertimeModified(Date timeModified)The date and time the Private Endpoint was updated, as described in RFC 2616.
 
- 
- 
- 
Method Detail- 
namepublic PrivateEndpoint.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
 
 - 
namespacepublic PrivateEndpoint.Builder namespace(String namespace) The Object Storage namespace associated with the private enpoint.- Parameters:
- namespace- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic PrivateEndpoint.Builder compartmentId(String compartmentId) The compartment which is associated with the Private Endpoint.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
createdBypublic PrivateEndpoint.Builder createdBy(String createdBy) The OCID of the user who created the Private Endpoint.- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic PrivateEndpoint.Builder timeCreated(Date timeCreated) The date and time the Private Endpoint was created, as described in RFC 2616.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeModifiedpublic PrivateEndpoint.Builder timeModified(Date timeModified) The date and time the Private Endpoint was updated, as described in RFC 2616.- Parameters:
- timeModified- the value to set
- Returns:
- this builder
 
 - 
subnetIdpublic PrivateEndpoint.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
 
 - 
privateEndpointIppublic PrivateEndpoint.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
 
 - 
prefixpublic PrivateEndpoint.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 PrivateEndpoint.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
 
 - 
nsgIdspublic PrivateEndpoint.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
 
 - 
fqdnspublic PrivateEndpoint.Builder fqdns(Fqdns fqdns) 
 - 
etagpublic PrivateEndpoint.Builder etag(String etag) The entity tag (ETag) for the Private Endpoint.- Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic PrivateEndpoint.Builder lifecycleState(PrivateEndpoint.LifecycleState lifecycleState) The Private Endpoint’s lifecycle state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
accessTargetspublic PrivateEndpoint.Builder accessTargets(List<AccessTargetDetails> accessTargets) A list of targets that can be accessed by the private endpoint.At least one or more access targets is required for a private endpoint. - Parameters:
- accessTargets- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
idpublic PrivateEndpoint.Builder id(String id) The OCID of the PrivateEndpoint.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
buildpublic PrivateEndpoint build() 
 - 
copypublic PrivateEndpoint.Builder copy(PrivateEndpoint model) 
 
- 
 
-