Class DatabaseToolsEndpointService.Builder
- java.lang.Object
-
- com.oracle.bmc.databasetools.model.DatabaseToolsEndpointService.Builder
-
- Enclosing class:
- DatabaseToolsEndpointService
public static class DatabaseToolsEndpointService.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseToolsEndpointServicebuild()DatabaseToolsEndpointService.BuildercompartmentId(String compartmentId)The OCID of the compartment containing the Database Tools Endpoint Service.DatabaseToolsEndpointService.Buildercopy(DatabaseToolsEndpointService model)DatabaseToolsEndpointService.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DatabaseToolsEndpointService.Builderdescription(String description)A description of the Database Tools Endpoint Service.DatabaseToolsEndpointService.BuilderdisplayName(String displayName)A user-friendly name.DatabaseToolsEndpointService.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DatabaseToolsEndpointService.Builderid(String id)The OCID of the Database Tools Endpoint Service.DatabaseToolsEndpointService.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.DatabaseToolsEndpointService.BuilderlifecycleState(LifecycleState lifecycleState)The current state of the Database Tools Endpoint Service.DatabaseToolsEndpointService.Buildername(String name)A unique, non-changeable resource name.DatabaseToolsEndpointService.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.DatabaseToolsEndpointService.BuildertimeCreated(Date timeCreated)The time the Database Tools Endpoint Service was created.DatabaseToolsEndpointService.BuildertimeUpdated(Date timeUpdated)The time the Database Tools Endpoint Service was updated.
-
-
-
Method Detail
-
id
public DatabaseToolsEndpointService.Builder id(String id)
The OCID of the Database Tools Endpoint Service.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public DatabaseToolsEndpointService.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
name
public DatabaseToolsEndpointService.Builder name(String name)
A unique, non-changeable resource name.- Parameters:
name- the value to set- Returns:
- this builder
-
compartmentId
public DatabaseToolsEndpointService.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the Database Tools Endpoint Service.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public DatabaseToolsEndpointService.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
-
freeformTags
public DatabaseToolsEndpointService.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
-
systemTags
public DatabaseToolsEndpointService.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
-
timeCreated
public DatabaseToolsEndpointService.Builder timeCreated(Date timeCreated)
The time the Database Tools Endpoint Service was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public DatabaseToolsEndpointService.Builder timeUpdated(Date timeUpdated)
The time the Database Tools Endpoint Service was updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public DatabaseToolsEndpointService.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the Database Tools Endpoint Service.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public DatabaseToolsEndpointService.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
description
public DatabaseToolsEndpointService.Builder description(String description)
A description of the Database Tools Endpoint Service.- Parameters:
description- the value to set- Returns:
- this builder
-
build
public DatabaseToolsEndpointService build()
-
copy
public DatabaseToolsEndpointService.Builder copy(DatabaseToolsEndpointService model)
-
-