Package com.oracle.bmc.psa.model
Class PrivateServiceAccessSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.psa.model.PrivateServiceAccessSummary.Builder
-
- Enclosing class:
- PrivateServiceAccessSummary
public static class PrivateServiceAccessSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateServiceAccessSummarybuild()PrivateServiceAccessSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the private service access.PrivateServiceAccessSummary.Buildercopy(PrivateServiceAccessSummary model)PrivateServiceAccessSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.PrivateServiceAccessSummary.Builderdescription(String description)A description of this private service access.PrivateServiceAccessSummary.BuilderdisplayName(String displayName)A user-friendly name.PrivateServiceAccessSummary.Builderfqdns(List<String> fqdns)The private service access IPv4 FQDNs, which are going to be used to access the service.PrivateServiceAccessSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.PrivateServiceAccessSummary.Builderid(String id)The OCID of the private service access.PrivateServiceAccessSummary.Builderipv4Ip(String ipv4Ip)The private IP address (in the consumer’s VCN) that represents the access point for the associated service.PrivateServiceAccessSummary.BuilderlifecycleState(PrivateServiceAccess.LifecycleState lifecycleState)The private service access’s current lifecycle state.PrivateServiceAccessSummary.BuildernsgIds(List<String> nsgIds)A list of the OCIDs of the network security groups that the private service access’s VNIC belongs to.PrivateServiceAccessSummary.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.PrivateServiceAccessSummary.BuilderserviceId(String serviceId)A unique service identifier for which the private service access was created.PrivateServiceAccessSummary.BuildersubnetId(String subnetId)The OCID of the subnet that the private service access belongs to.PrivateServiceAccessSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.PrivateServiceAccessSummary.BuildertimeCreated(Date timeCreated)The date and time the private service access was created, in the format defined by RFC3339.PrivateServiceAccessSummary.BuildertimeUpdated(Date timeUpdated)The date and time the PrivateServiceAccess was updated, in the format defined by RFC 3339.PrivateServiceAccessSummary.BuildervcnId(String vcnId)The OCID of the VCN that the private service access belongs to.PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.Builder description(String description)
A description of this private service access.- Parameters:
description- the value to set- Returns:
- this builder
-
id
public PrivateServiceAccessSummary.Builder id(String id)
The OCID of the private service access.- Parameters:
id- the value to set- Returns:
- this builder
-
timeCreated
public PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.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 PrivateServiceAccessSummary.Builder lifecycleState(PrivateServiceAccess.LifecycleState lifecycleState)
The private service access’s current lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
serviceId
public PrivateServiceAccessSummary.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
-
nsgIds
public PrivateServiceAccessSummary.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
-
fqdns
public PrivateServiceAccessSummary.Builder fqdns(List<String> fqdns)
The private service access IPv4 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 PrivateServiceAccessSummary.Builder ipv4Ip(String ipv4Ip)
The private IP 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 PrivateServiceAccessSummary build()
-
copy
public PrivateServiceAccessSummary.Builder copy(PrivateServiceAccessSummary model)
-
-