Package com.oracle.bmc.bastion.model
Class BastionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.bastion.model.BastionSummary.Builder
-
- Enclosing class:
- BastionSummary
public static class BastionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
bastionType
public BastionSummary.Builder bastionType(String bastionType)
The type of bastion.- Parameters:
bastionType
- the value to set- Returns:
- this builder
-
id
public BastionSummary.Builder id(String id)
The unique identifier (OCID) of the bastion, which can’t be changed after creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public BastionSummary.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
-
compartmentId
public BastionSummary.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
-
targetVcnId
public BastionSummary.Builder targetVcnId(String targetVcnId)
The unique identifier (OCID) of the virtual cloud network (VCN) that the bastion connects to.- Parameters:
targetVcnId
- the value to set- Returns:
- this builder
-
targetSubnetId
public BastionSummary.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
-
dnsProxyStatus
public BastionSummary.Builder dnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus)
The current dns proxy status of the bastion.- Parameters:
dnsProxyStatus
- the value to set- Returns:
- this builder
-
timeCreated
public BastionSummary.Builder timeCreated(Date timeCreated)
The time the bastion was created.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public BastionSummary.Builder timeUpdated(Date timeUpdated)
The time the bastion was updated.Format is defined by RFC3339. Example: 2020-01-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public BastionSummary.Builder lifecycleState(BastionLifecycleState lifecycleState)
The current state of the bastion.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public BastionSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public BastionSummary build()
-
copy
public BastionSummary.Builder copy(BastionSummary model)
-
-