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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BastionSummary.BuilderbastionType(String bastionType)The type of bastion.BastionSummarybuild()BastionSummary.BuildercompartmentId(String compartmentId)The unique identifier (OCID) of the compartment where the bastion is located.BastionSummary.Buildercopy(BastionSummary model)BastionSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.BastionSummary.BuilderdnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus)The current dns proxy status of the bastion.BastionSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.BastionSummary.Builderid(String id)The unique identifier (OCID) of the bastion, which can’t be changed after creation.BastionSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.BastionSummary.BuilderlifecycleState(BastionLifecycleState lifecycleState)The current state of the bastion.BastionSummary.Buildername(String name)The name of the bastion, which can’t be changed after creation.BastionSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.BastionSummary.BuildertargetSubnetId(String targetSubnetId)The unique identifier (OCID) of the subnet that the bastion connects to.BastionSummary.BuildertargetVcnId(String targetVcnId)The unique identifier (OCID) of the virtual cloud network (VCN) that the bastion connects to.BastionSummary.BuildertimeCreated(Date timeCreated)The time the bastion was created.BastionSummary.BuildertimeUpdated(Date timeUpdated)The time the bastion was updated.
 
- 
- 
- 
Method Detail- 
bastionTypepublic BastionSummary.Builder bastionType(String bastionType) The type of bastion.- Parameters:
- bastionType- the value to set
- Returns:
- this builder
 
 - 
idpublic 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
 
 - 
namepublic 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
 
 - 
compartmentIdpublic 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
 
 - 
targetVcnIdpublic 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
 
 - 
targetSubnetIdpublic 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
 
 - 
dnsProxyStatuspublic BastionSummary.Builder dnsProxyStatus(BastionDnsProxyStatus dnsProxyStatus) The current dns proxy status of the bastion.- Parameters:
- dnsProxyStatus- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
lifecycleStatepublic BastionSummary.Builder lifecycleState(BastionLifecycleState lifecycleState) The current state of the bastion.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic BastionSummary.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic BastionSummary build() 
 - 
copypublic BastionSummary.Builder copy(BastionSummary model) 
 
- 
 
-