Package com.oracle.bmc.psa.model
Class PrivateServiceAccess.Builder
- java.lang.Object
-
- com.oracle.bmc.psa.model.PrivateServiceAccess.Builder
-
- Enclosing class:
- PrivateServiceAccess
public static class PrivateServiceAccess.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateServiceAccessbuild()PrivateServiceAccess.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the private service access.PrivateServiceAccess.Buildercopy(PrivateServiceAccess model)PrivateServiceAccess.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PrivateServiceAccess.Builderdescription(String description)A description of this private service access.PrivateServiceAccess.BuilderdisplayName(String displayName)A user-friendly name.PrivateServiceAccess.Builderfqdns(List<String> fqdns)The private service access FQDNs, which are going to be used to access the service.PrivateServiceAccess.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.PrivateServiceAccess.Builderid(String id)The OCID of the private service access.PrivateServiceAccess.Builderipv4Ip(String ipv4Ip)The private IPv4 address (in the consumer’s VCN) that represents the access point for the associated service.PrivateServiceAccess.BuilderlifecycleState(PrivateServiceAccess.LifecycleState lifecycleState)The private service access’s current lifecycle state.PrivateServiceAccess.BuildernsgIds(List<String> nsgIds)A list of the OCIDs of the network security groups that the private service access’s VNIC belongs to.PrivateServiceAccess.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.PrivateServiceAccess.BuilderserviceId(String serviceId)A unique service identifier for which the private service access was created.PrivateServiceAccess.BuildersubnetId(String subnetId)The OCID of the subnet that the private service access belongs to.PrivateServiceAccess.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.PrivateServiceAccess.BuildertimeCreated(Date timeCreated)The date and time the private service access was created, in the format defined by RFC3339.PrivateServiceAccess.BuildertimeUpdated(Date timeUpdated)The date and time the PrivateServiceAccess was updated, in the format defined by RFC 3339.PrivateServiceAccess.BuildervcnId(String vcnId)The OCID of the VCN that the private service access belongs to.PrivateServiceAccess.BuildervnicId(String vnicId)An OCID of the private service access’s VNIC, which resides in the private service access’s VCN .
-
-
-
Method Detail
-
compartmentId
public PrivateServiceAccess.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the private service access.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public PrivateServiceAccess.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 PrivateServiceAccess.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
-
systemTags
public PrivateServiceAccess.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
securityAttributes
public PrivateServiceAccess.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 PrivateServiceAccess.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 PrivateServiceAccess.Builder description(String description)
A description of this private service access.- Parameters:
description- the value to set- Returns:
- this builder
-
id
public PrivateServiceAccess.Builder id(String id)
The OCID of the private service access.- Parameters:
id- the value to set- Returns:
- this builder
-
timeCreated
public PrivateServiceAccess.Builder timeCreated(Date timeCreated)
The date and time the private service access was created, in the format defined by RFC3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public PrivateServiceAccess.Builder timeUpdated(Date timeUpdated)
The date and time the PrivateServiceAccess was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
vcnId
public PrivateServiceAccess.Builder vcnId(String vcnId)
The OCID of the VCN that the private service access belongs to.- Parameters:
vcnId- the value to set- Returns:
- this builder
-
subnetId
public PrivateServiceAccess.Builder subnetId(String subnetId)
The OCID of the subnet that the private service access belongs to.- Parameters:
subnetId- the value to set- Returns:
- this builder
-
vnicId
public PrivateServiceAccess.Builder vnicId(String vnicId)
An OCID of the private service access’s VNIC, which resides in the private service access’s VCN .- Parameters:
vnicId- the value to set- Returns:
- this builder
-
lifecycleState
public PrivateServiceAccess.Builder lifecycleState(PrivateServiceAccess.LifecycleState lifecycleState)
The private service access’s current lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
nsgIds
public PrivateServiceAccess.Builder nsgIds(List<String> nsgIds)
A list of the OCIDs of the network security groups that the private service access’s VNIC belongs to.For more information about NSGs, see
NetworkSecurityGroup.- Parameters:
nsgIds- the value to set- Returns:
- this builder
-
serviceId
public PrivateServiceAccess.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
-
fqdns
public PrivateServiceAccess.Builder fqdns(List<String> fqdns)
The private service access FQDNs, which are going to be used to access the service.Example: xyz.oraclecloud.com
- Parameters:
fqdns- the value to set- Returns:
- this builder
-
ipv4Ip
public PrivateServiceAccess.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 PrivateServiceAccess build()
-
copy
public PrivateServiceAccess.Builder copy(PrivateServiceAccess model)
-
-