Package com.oracle.bmc.psa.model
Class CreatePrivateServiceAccessDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.psa.model.CreatePrivateServiceAccessDetails.Builder
-
- Enclosing class:
- CreatePrivateServiceAccessDetails
public static class CreatePrivateServiceAccessDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePrivateServiceAccessDetailsbuild()CreatePrivateServiceAccessDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to contain the private service access.CreatePrivateServiceAccessDetails.Buildercopy(CreatePrivateServiceAccessDetails model)CreatePrivateServiceAccessDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreatePrivateServiceAccessDetails.Builderdescription(String description)A description of this private service accesss.CreatePrivateServiceAccessDetails.BuilderdisplayName(String displayName)A user-friendly name.CreatePrivateServiceAccessDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreatePrivateServiceAccessDetails.Builderipv4Ip(String ipv4Ip)The private IPv4 address (in the consumer’s VCN) that represents the access point for the associated service.CreatePrivateServiceAccessDetails.BuildernsgIds(List<String> nsgIds)A list of the OCIDs of the network security groups (NSGs) to add the private service access’s VNIC to.CreatePrivateServiceAccessDetails.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources.CreatePrivateServiceAccessDetails.BuilderserviceId(String serviceId)A unique service identifier for which the private service access was created.CreatePrivateServiceAccessDetails.BuildersubnetId(String subnetId)The OCID of the VCN’s subnet where the private service access’s VNIC will reside.
-
-
-
Method Detail
-
compartmentId
public CreatePrivateServiceAccessDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to contain the private service access.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public CreatePrivateServiceAccessDetails.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
-
freeformTags
public CreatePrivateServiceAccessDetails.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
-
securityAttributes
public CreatePrivateServiceAccessDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes)
Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources.Example: {"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}}
- Parameters:
securityAttributes- the value to set- Returns:
- this builder
-
displayName
public CreatePrivateServiceAccessDetails.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 CreatePrivateServiceAccessDetails.Builder description(String description)
A description of this private service accesss.- Parameters:
description- the value to set- Returns:
- this builder
-
subnetId
public CreatePrivateServiceAccessDetails.Builder subnetId(String subnetId)
The OCID of the VCN’s subnet where the private service access’s VNIC will reside.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
nsgIds
public CreatePrivateServiceAccessDetails.Builder nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups (NSGs) to add the private service access’s VNIC to.For more information about NSGs, see
NetworkSecurityGroup.- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
serviceId
public CreatePrivateServiceAccessDetails.Builder serviceId(String serviceId)
A unique service identifier for which the private service access was created.- Parameters:
serviceId- the value to set- Returns:
- this builder
-
ipv4Ip
public CreatePrivateServiceAccessDetails.Builder ipv4Ip(String ipv4Ip)
The private IPv4 address (in the consumer’s VCN) that represents the access point for the associated service.- Parameters:
ipv4Ip- the value to set- Returns:
- this builder
-
build
public CreatePrivateServiceAccessDetails build()
-
copy
public CreatePrivateServiceAccessDetails.Builder copy(CreatePrivateServiceAccessDetails model)
-
-