public static class CreateBastionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateBastionDetails.Builder |
bastionType(String bastionType)
The type of bastion.
|
CreateBastionDetails |
build() |
CreateBastionDetails.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.
|
CreateBastionDetails.Builder |
compartmentId(String compartmentId)
The unique identifier (OCID) of the compartment where the bastion is located.
|
CreateBastionDetails.Builder |
copy(CreateBastionDetails model) |
CreateBastionDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateBastionDetails.Builder |
dnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus)
The desired dns proxy status of the bastion.
|
CreateBastionDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
CreateBastionDetails.Builder |
maxSessionTtlInSeconds(Integer maxSessionTtlInSeconds)
The maximum amount of time that any session on the bastion can remain active.
|
CreateBastionDetails.Builder |
name(String name)
The name of the bastion, which can’t be changed after creation.
|
CreateBastionDetails.Builder |
phoneBookEntry(String phoneBookEntry)
The phonebook entry of the customer’s team, which can’t be changed after creation.
|
CreateBastionDetails.Builder |
staticJumpHostIpAddresses(List<String> staticJumpHostIpAddresses)
A list of IP addresses of the hosts that the bastion has access to.
|
CreateBastionDetails.Builder |
targetSubnetId(String targetSubnetId)
The unique identifier (OCID) of the subnet that the bastion connects to.
|
public CreateBastionDetails.Builder bastionType(String bastionType)
The type of bastion. Use standard
.
bastionType
- the value to setpublic CreateBastionDetails.Builder name(String name)
The name of the bastion, which can’t be changed after creation.
name
- the value to setpublic CreateBastionDetails.Builder compartmentId(String compartmentId)
The unique identifier (OCID) of the compartment where the bastion is located.
compartmentId
- the value to setpublic CreateBastionDetails.Builder targetSubnetId(String targetSubnetId)
The unique identifier (OCID) of the subnet that the bastion connects to.
targetSubnetId
- the value to setpublic CreateBastionDetails.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 CreateBastionDetails.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 CreateBastionDetails.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 CreateBastionDetails.Builder maxSessionTtlInSeconds(Integer maxSessionTtlInSeconds)
The maximum amount of time that any session on the bastion can remain active.
maxSessionTtlInSeconds
- the value to setpublic CreateBastionDetails.Builder dnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus)
The desired dns proxy status of the bastion.
dnsProxyStatus
- the value to setpublic CreateBastionDetails.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 CreateBastionDetails.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 CreateBastionDetails build()
public CreateBastionDetails.Builder copy(CreateBastionDetails model)
Copyright © 2016–2024. All rights reserved.