Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Bastion.Builder |
bastionType(String bastionType)
The type of bastion.
|
Bastion |
build() |
Bastion.Builder |
clientCidrBlockAllowList(List<String> clientCidrBlockAllowList)
A list of address ranges in CIDR notation that you want to allow to connect to sessions
hosted by this bastion.
|
Bastion.Builder |
compartmentId(String compartmentId)
The unique identifier (OCID) of the compartment where the bastion is located.
|
Bastion.Builder |
copy(Bastion model) |
Bastion.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Bastion.Builder |
dnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus)
The current dns proxy status of the bastion.
|
Bastion.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Bastion.Builder |
id(String id)
The unique identifier (OCID) of the bastion, which can’t be changed after creation.
|
Bastion.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Bastion.Builder |
lifecycleState(BastionLifecycleState lifecycleState)
The current state of the bastion.
|
Bastion.Builder |
maxSessionsAllowed(Integer maxSessionsAllowed)
The maximum number of active sessions allowed on the bastion.
|
Bastion.Builder |
maxSessionTtlInSeconds(Integer maxSessionTtlInSeconds)
The maximum amount of time that any session on the bastion can remain active.
|
Bastion.Builder |
name(String name)
The name of the bastion, which can’t be changed after creation.
|
Bastion.Builder |
phoneBookEntry(String phoneBookEntry)
The phonebook entry of the customer’s team, which can’t be changed after creation.
|
Bastion.Builder |
privateEndpointIpAddress(String privateEndpointIpAddress)
The private IP address of the created private endpoint.
|
Bastion.Builder |
staticJumpHostIpAddresses(List<String> staticJumpHostIpAddresses)
A list of IP addresses of the hosts that the bastion has access to.
|
Bastion.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Bastion.Builder |
targetSubnetId(String targetSubnetId)
The unique identifier (OCID) of the subnet that the bastion connects to.
|
Bastion.Builder |
targetVcnId(String targetVcnId)
The unique identifier (OCID) of the virtual cloud network (VCN) that the bastion connects
to.
|
Bastion.Builder |
timeCreated(Date timeCreated)
The time the bastion was created.
|
Bastion.Builder |
timeUpdated(Date timeUpdated)
The time the bastion was updated.
|
public Bastion.Builder bastionType(String bastionType)
The type of bastion.
bastionType
- the value to setpublic Bastion.Builder id(String id)
The unique identifier (OCID) of the bastion, which can’t be changed after creation.
id
- the value to setpublic Bastion.Builder name(String name)
The name of the bastion, which can’t be changed after creation.
name
- the value to setpublic Bastion.Builder compartmentId(String compartmentId)
The unique identifier (OCID) of the compartment where the bastion is located.
compartmentId
- the value to setpublic Bastion.Builder targetVcnId(String targetVcnId)
The unique identifier (OCID) of the virtual cloud network (VCN) that the bastion connects to.
targetVcnId
- the value to setpublic Bastion.Builder targetSubnetId(String targetSubnetId)
The unique identifier (OCID) of the subnet that the bastion connects to.
targetSubnetId
- the value to setpublic Bastion.Builder phoneBookEntry(String phoneBookEntry)
The phonebook entry of the customer’s team, which can’t be changed after creation. Not
applicable to standard
bastions.
phoneBookEntry
- the value to setpublic Bastion.Builder clientCidrBlockAllowList(List<String> clientCidrBlockAllowList)
A list of address ranges in CIDR notation that you want to allow to connect to sessions hosted by this bastion.
clientCidrBlockAllowList
- the value to setpublic Bastion.Builder staticJumpHostIpAddresses(List<String> staticJumpHostIpAddresses)
A list of IP addresses of the hosts that the bastion has access to. Not applicable to
standard
bastions.
staticJumpHostIpAddresses
- the value to setpublic Bastion.Builder privateEndpointIpAddress(String privateEndpointIpAddress)
The private IP address of the created private endpoint.
privateEndpointIpAddress
- the value to setpublic Bastion.Builder maxSessionTtlInSeconds(Integer maxSessionTtlInSeconds)
The maximum amount of time that any session on the bastion can remain active.
maxSessionTtlInSeconds
- the value to setpublic Bastion.Builder maxSessionsAllowed(Integer maxSessionsAllowed)
The maximum number of active sessions allowed on the bastion.
maxSessionsAllowed
- the value to setpublic Bastion.Builder dnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus)
The current dns proxy status of the bastion.
dnsProxyStatus
- the value to setpublic Bastion.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 Bastion.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 Bastion.Builder lifecycleState(BastionLifecycleState lifecycleState)
The current state of the bastion.
lifecycleState
- the value to setpublic Bastion.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
lifecycleDetails
- the value to setpublic Bastion.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 Bastion.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 Bastion.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 Bastion build()
public Bastion.Builder copy(Bastion model)
Copyright © 2016–2024. All rights reserved.