Package com.oracle.bmc.datasafe.model
Class OnPremConnector.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.OnPremConnector.Builder
-
- Enclosing class:
- OnPremConnector
public static class OnPremConnector.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnPremConnector.BuilderavailableVersion(String availableVersion)Latest available version of the on-premises connector.OnPremConnectorbuild()OnPremConnector.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the on-premises connector.OnPremConnector.Buildercopy(OnPremConnector model)OnPremConnector.BuildercreatedVersion(String createdVersion)Created version of the on-premises connector.OnPremConnector.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OnPremConnector.Builderdescription(String description)The description of the on-premises connector.OnPremConnector.BuilderdisplayName(String displayName)The display name of the on-premises connector.OnPremConnector.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.OnPremConnector.Builderid(String id)The OCID of the on-premises connector.OnPremConnector.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the on-premises connector.OnPremConnector.BuilderlifecycleState(OnPremConnectorLifecycleState lifecycleState)The current state of the on-premises connector.OnPremConnector.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OnPremConnector.BuildertimeCreated(Date timeCreated)The date and time the on-premises connector was created, in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public OnPremConnector.Builder id(String id)
The OCID of the on-premises connector.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public OnPremConnector.Builder displayName(String displayName)
The display name of the on-premises connector.- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public OnPremConnector.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the on-premises connector.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
description
public OnPremConnector.Builder description(String description)
The description of the on-premises connector.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public OnPremConnector.Builder timeCreated(Date timeCreated)
The date and time the on-premises connector was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public OnPremConnector.Builder lifecycleState(OnPremConnectorLifecycleState lifecycleState)
The current state of the on-premises connector.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public OnPremConnector.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the on-premises connector.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public OnPremConnector.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public OnPremConnector.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public OnPremConnector.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
availableVersion
public OnPremConnector.Builder availableVersion(String availableVersion)
Latest available version of the on-premises connector.- Parameters:
availableVersion- the value to set- Returns:
- this builder
-
createdVersion
public OnPremConnector.Builder createdVersion(String createdVersion)
Created version of the on-premises connector.- Parameters:
createdVersion- the value to set- Returns:
- this builder
-
build
public OnPremConnector build()
-
copy
public OnPremConnector.Builder copy(OnPremConnector model)
-
-