public static class BastionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BastionSummary.Builder |
bastionType(String bastionType)
The type of bastion.
|
BastionSummary |
build() |
BastionSummary.Builder |
compartmentId(String compartmentId)
The unique identifier (OCID) of the compartment where the bastion is located.
|
BastionSummary.Builder |
copy(BastionSummary model) |
BastionSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
BastionSummary.Builder |
dnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus)
The current dns proxy status of the bastion.
|
BastionSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
BastionSummary.Builder |
id(String id)
The unique identifier (OCID) of the bastion, which can’t be changed after creation.
|
BastionSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
BastionSummary.Builder |
lifecycleState(BastionLifecycleState lifecycleState)
The current state of the bastion.
|
BastionSummary.Builder |
name(String name)
The name of the bastion, which can’t be changed after creation.
|
BastionSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
BastionSummary.Builder |
targetSubnetId(String targetSubnetId)
The unique identifier (OCID) of the subnet that the bastion connects to.
|
BastionSummary.Builder |
targetVcnId(String targetVcnId)
The unique identifier (OCID) of the virtual cloud network (VCN) that the bastion connects
to.
|
BastionSummary.Builder |
timeCreated(Date timeCreated)
The time the bastion was created.
|
BastionSummary.Builder |
timeUpdated(Date timeUpdated)
The time the bastion was updated.
|
public BastionSummary.Builder bastionType(String bastionType)
The type of bastion.
bastionType
- the value to setpublic BastionSummary.Builder id(String id)
The unique identifier (OCID) of the bastion, which can’t be changed after creation.
id
- the value to setpublic BastionSummary.Builder name(String name)
The name of the bastion, which can’t be changed after creation.
name
- the value to setpublic BastionSummary.Builder compartmentId(String compartmentId)
The unique identifier (OCID) of the compartment where the bastion is located.
compartmentId
- the value to setpublic BastionSummary.Builder targetVcnId(String targetVcnId)
The unique identifier (OCID) of the virtual cloud network (VCN) that the bastion connects to.
targetVcnId
- the value to setpublic BastionSummary.Builder targetSubnetId(String targetSubnetId)
The unique identifier (OCID) of the subnet that the bastion connects to.
targetSubnetId
- the value to setpublic BastionSummary.Builder dnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus)
The current dns proxy status of the bastion.
dnsProxyStatus
- the value to setpublic BastionSummary.Builder timeCreated(Date timeCreated)
The time the bastion was created. Format is defined by
RFC3339. Example: 2020-01-25T21:10:29.600Z
timeCreated
- the value to setpublic BastionSummary.Builder timeUpdated(Date timeUpdated)
The time the bastion was updated. Format is defined by
RFC3339. Example: 2020-01-25T21:10:29.600Z
timeUpdated
- the value to setpublic BastionSummary.Builder lifecycleState(BastionLifecycleState lifecycleState)
The current state of the bastion.
lifecycleState
- the value to setpublic BastionSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
lifecycleDetails
- the value to setpublic BastionSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic BastionSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic BastionSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic BastionSummary build()
public BastionSummary.Builder copy(BastionSummary model)
Copyright © 2016–2024. All rights reserved.