Package com.oracle.bmc.bastion.model
Class UpdateBastionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.bastion.model.UpdateBastionDetails.Builder
-
- Enclosing class:
- UpdateBastionDetails
public static class UpdateBastionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateBastionDetails
build()
UpdateBastionDetails.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.UpdateBastionDetails.Builder
copy(UpdateBastionDetails model)
UpdateBastionDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateBastionDetails.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.UpdateBastionDetails.Builder
maxSessionTtlInSeconds(Integer maxSessionTtlInSeconds)
The maximum amount of time that any session on the bastion can remain active.UpdateBastionDetails.Builder
staticJumpHostIpAddresses(List<String> staticJumpHostIpAddresses)
A list of IP addresses of the hosts that the bastion has access to.
-
-
-
Method Detail
-
maxSessionTtlInSeconds
public UpdateBastionDetails.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
-
staticJumpHostIpAddresses
public UpdateBastionDetails.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
-
clientCidrBlockAllowList
public UpdateBastionDetails.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
-
freeformTags
public UpdateBastionDetails.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
-
definedTags
public UpdateBastionDetails.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
-
build
public UpdateBastionDetails build()
-
copy
public UpdateBastionDetails.Builder copy(UpdateBastionDetails model)
-
-