public static class PrivateEndpointSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PrivateEndpointSummary |
build() |
PrivateEndpointSummary.Builder |
compartmentId(String compartmentId)
The OCID of a compartment.
|
PrivateEndpointSummary.Builder |
copy(PrivateEndpointSummary o) |
PrivateEndpointSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
PrivateEndpointSummary.Builder |
displayName(String displayName)
A user-friendly name.
|
PrivateEndpointSummary.Builder |
dnsZones(List<String> dnsZones)
An array of DNS zone names.
|
PrivateEndpointSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
PrivateEndpointSummary.Builder |
id(String id)
The OCID of a private endpoint.
|
PrivateEndpointSummary.Builder |
lifecycleState(PrivateEndpointLifecycleState lifecycleState)
The current state of this private endpoint.
|
PrivateEndpointSummary.Builder |
maxHostCount(Integer maxHostCount)
The maximum number of hosts to be accessed through the private endpoint.
|
PrivateEndpointSummary.Builder |
nsgIds(List<String> nsgIds)
An array of network security group OCIDs.
|
PrivateEndpointSummary.Builder |
ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
|
PrivateEndpointSummary.Builder |
ownerUserName(String ownerUserName)
The username of the user who created the resource.
|
PrivateEndpointSummary.Builder |
subnetId(String subnetId)
The OCID of a subnet.
|
PrivateEndpointSummary.Builder |
timeCreated(Date timeCreated)
The date and time a application was created, expressed in RFC 3339 timestamp format.
|
PrivateEndpointSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time a application was updated, expressed in RFC 3339 timestamp format.
|
public PrivateEndpointSummary.Builder compartmentId(String compartmentId)
The OCID of a compartment.
compartmentId
- the value to setpublic PrivateEndpointSummary.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"}}
definedTags
- the value to setpublic PrivateEndpointSummary.Builder displayName(String displayName)
A user-friendly name. It does not have to be unique. Avoid entering confidential information.
displayName
- the value to setpublic PrivateEndpointSummary.Builder dnsZones(List<String> dnsZones)
An array of DNS zone names.
Example: [ "app.examplecorp.com", "app.examplecorp2.com" ]
dnsZones
- the value to setpublic PrivateEndpointSummary.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"}
freeformTags
- the value to setpublic PrivateEndpointSummary.Builder id(String id)
The OCID of a private endpoint.
id
- the value to setpublic PrivateEndpointSummary.Builder lifecycleState(PrivateEndpointLifecycleState lifecycleState)
The current state of this private endpoint.
lifecycleState
- the value to setpublic PrivateEndpointSummary.Builder maxHostCount(Integer maxHostCount)
The maximum number of hosts to be accessed through the private endpoint. This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512.
maxHostCount
- the value to setpublic PrivateEndpointSummary.Builder nsgIds(List<String> nsgIds)
An array of network security group OCIDs.
nsgIds
- the value to setpublic PrivateEndpointSummary.Builder ownerPrincipalId(String ownerPrincipalId)
The OCID of the user who created the resource.
ownerPrincipalId
- the value to setpublic PrivateEndpointSummary.Builder ownerUserName(String ownerUserName)
The username of the user who created the resource. If the username of the owner does not exist,
null
will be returned and the caller should refer to the ownerPrincipalId value instead.
ownerUserName
- the value to setpublic PrivateEndpointSummary.Builder subnetId(String subnetId)
The OCID of a subnet.
subnetId
- the value to setpublic PrivateEndpointSummary.Builder timeCreated(Date timeCreated)
The date and time a application was created, expressed in RFC 3339 timestamp format.
Example: 2018-04-03T21:10:29.600Z
timeCreated
- the value to setpublic PrivateEndpointSummary.Builder timeUpdated(Date timeUpdated)
The date and time a application was updated, expressed in RFC 3339 timestamp format.
Example: 2018-04-03T21:10:29.600Z
timeUpdated
- the value to setpublic PrivateEndpointSummary build()
public PrivateEndpointSummary.Builder copy(PrivateEndpointSummary o)
Copyright © 2016–2022. All rights reserved.