public static class TargetDatabaseSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TargetDatabaseSummary.Builder |
associatedResourceIds(List<String> associatedResourceIds)
The OCIDs of associated resources like database, Data Safe private endpoint etc.
|
TargetDatabaseSummary |
build() |
TargetDatabaseSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the Data Safe target database.
|
TargetDatabaseSummary.Builder |
copy(TargetDatabaseSummary model) |
TargetDatabaseSummary.Builder |
databaseType(DatabaseType databaseType)
The database type.
|
TargetDatabaseSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
TargetDatabaseSummary.Builder |
description(String description)
The description of the target database in Data Safe.
|
TargetDatabaseSummary.Builder |
displayName(String displayName)
The display name of the target database in Data Safe.
|
TargetDatabaseSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
TargetDatabaseSummary.Builder |
id(String id)
The OCID of the Data Safe target database.
|
TargetDatabaseSummary.Builder |
infrastructureType(InfrastructureType infrastructureType)
The infrastructure type the database is running on.
|
TargetDatabaseSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the target database in Data Safe.
|
TargetDatabaseSummary.Builder |
lifecycleState(TargetDatabaseLifecycleState lifecycleState)
The current state of the target database in Data Safe.
|
TargetDatabaseSummary.Builder |
timeCreated(Date timeCreated)
The date and time the database was registered in Data Safe and created as a target
database in Data Safe.
|
public TargetDatabaseSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Data Safe target database.
compartmentId
- the value to setpublic TargetDatabaseSummary.Builder id(String id)
The OCID of the Data Safe target database.
id
- the value to setpublic TargetDatabaseSummary.Builder displayName(String displayName)
The display name of the target database in Data Safe.
displayName
- the value to setpublic TargetDatabaseSummary.Builder description(String description)
The description of the target database in Data Safe.
description
- the value to setpublic TargetDatabaseSummary.Builder infrastructureType(InfrastructureType infrastructureType)
The infrastructure type the database is running on.
infrastructureType
- the value to setpublic TargetDatabaseSummary.Builder databaseType(DatabaseType databaseType)
The database type.
databaseType
- the value to setpublic TargetDatabaseSummary.Builder associatedResourceIds(List<String> associatedResourceIds)
The OCIDs of associated resources like database, Data Safe private endpoint etc.
associatedResourceIds
- the value to setpublic TargetDatabaseSummary.Builder lifecycleState(TargetDatabaseLifecycleState lifecycleState)
The current state of the target database in Data Safe.
lifecycleState
- the value to setpublic TargetDatabaseSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the target database in Data Safe.
lifecycleDetails
- the value to setpublic TargetDatabaseSummary.Builder timeCreated(Date timeCreated)
The date and time the database was registered in Data Safe and created as a target database in Data Safe.
timeCreated
- the value to setpublic TargetDatabaseSummary.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"}
freeformTags
- the value to setpublic TargetDatabaseSummary.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"}}
definedTags
- the value to setpublic TargetDatabaseSummary build()
public TargetDatabaseSummary.Builder copy(TargetDatabaseSummary model)
Copyright © 2016–2024. All rights reserved.