Package com.oracle.bmc.bastion.model
Class CreateBastionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.bastion.model.CreateBastionDetails.Builder
 
- 
- Enclosing class:
- CreateBastionDetails
 
 public static class CreateBastionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateBastionDetails.BuilderbastionType(String bastionType)The type of bastion.CreateBastionDetailsbuild()CreateBastionDetails.BuilderclientCidrBlockAllowList(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.BuildercompartmentId(String compartmentId)The unique identifier (OCID) of the compartment where the bastion is located.CreateBastionDetails.Buildercopy(CreateBastionDetails model)CreateBastionDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateBastionDetails.BuilderdnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus)The desired dns proxy status of the bastion.CreateBastionDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateBastionDetails.BuildermaxSessionTtlInSeconds(Integer maxSessionTtlInSeconds)The maximum amount of time that any session on the bastion can remain active.CreateBastionDetails.Buildername(String name)The name of the bastion, which can’t be changed after creation.CreateBastionDetails.BuilderphoneBookEntry(String phoneBookEntry)The phonebook entry of the customer’s team, which can’t be changed after creation.CreateBastionDetails.BuilderstaticJumpHostIpAddresses(List<String> staticJumpHostIpAddresses)A list of IP addresses of the hosts that the bastion has access to.CreateBastionDetails.BuildertargetSubnetId(String targetSubnetId)The unique identifier (OCID) of the subnet that the bastion connects to.
 
- 
- 
- 
Method Detail- 
bastionTypepublic CreateBastionDetails.Builder bastionType(String bastionType) The type of bastion.Use standard. - Parameters:
- bastionType- the value to set
- Returns:
- this builder
 
 - 
namepublic CreateBastionDetails.Builder name(String name) The name of the bastion, which can’t be changed after creation.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateBastionDetails.Builder compartmentId(String compartmentId) The unique identifier (OCID) of the compartment where the bastion is located.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
targetSubnetIdpublic CreateBastionDetails.Builder targetSubnetId(String targetSubnetId) The unique identifier (OCID) of the subnet that the bastion connects to.- Parameters:
- targetSubnetId- the value to set
- Returns:
- this builder
 
 - 
phoneBookEntrypublic 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. - Parameters:
- phoneBookEntry- the value to set
- Returns:
- this builder
 
 - 
staticJumpHostIpAddressespublic 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. - Parameters:
- staticJumpHostIpAddresses- the value to set
- Returns:
- this builder
 
 - 
clientCidrBlockAllowListpublic 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.- Parameters:
- clientCidrBlockAllowList- the value to set
- Returns:
- this builder
 
 - 
maxSessionTtlInSecondspublic CreateBastionDetails.Builder maxSessionTtlInSeconds(Integer maxSessionTtlInSeconds) The maximum amount of time that any session on the bastion can remain active.- Parameters:
- maxSessionTtlInSeconds- the value to set
- Returns:
- this builder
 
 - 
dnsProxyStatuspublic CreateBastionDetails.Builder dnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus) The desired dns proxy status of the bastion.- Parameters:
- dnsProxyStatus- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateBastionDetails build() 
 - 
copypublic CreateBastionDetails.Builder copy(CreateBastionDetails model) 
 
- 
 
-