public static class AwrHubSource.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AwrHubSource.Builder |
associatedOpsiId(String associatedOpsiId)
The OCID
of the database id.
|
AwrHubSource.Builder |
associatedResourceId(String associatedResourceId)
The OCID
of the database id.
|
AwrHubSource.Builder |
awrHubId(String awrHubId)
AWR Hub OCID
|
AwrHubSource.Builder |
awrHubOpsiSourceId(String awrHubOpsiSourceId)
The shorted string of the Awr Hub source database identifier.
|
AwrHubSource.Builder |
awrSourceDatabaseId(String awrSourceDatabaseId)
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
|
AwrHubSource |
build() |
AwrHubSource.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
AwrHubSource.Builder |
copy(AwrHubSource model) |
AwrHubSource.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AwrHubSource.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
AwrHubSource.Builder |
hoursSinceLastImport(Double hoursSinceLastImport)
Number of hours since last AWR snapshots import happened from the Source database.
|
AwrHubSource.Builder |
id(String id)
The OCID
of the Awr Hub source database.
|
AwrHubSource.Builder |
isRegisteredWithAwrHub(Boolean isRegisteredWithAwrHub)
This is
true if the source databse is registered with a Awr Hub, otherwise false |
AwrHubSource.Builder |
lifecycleState(AwrHubSourceLifecycleState lifecycleState)
the current state of the source database
|
AwrHubSource.Builder |
maxSnapshotIdentifier(BigDecimal maxSnapshotIdentifier)
The maximum snapshot identifier of the source database for which AWR data is uploaded to
AWR Hub.
|
AwrHubSource.Builder |
minSnapshotIdentifier(BigDecimal minSnapshotIdentifier)
The minimum snapshot identifier of the source database for which AWR data is uploaded to
AWR Hub.
|
AwrHubSource.Builder |
name(String name)
The name of the Awr Hub source database.
|
AwrHubSource.Builder |
sourceMailBoxUrl(String sourceMailBoxUrl)
Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
|
AwrHubSource.Builder |
status(AwrHubSourceStatus status)
Indicates the status of a source database in Operations Insights
|
AwrHubSource.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
AwrHubSource.Builder |
timeCreated(Date timeCreated)
The time at which the resource was first created.
|
AwrHubSource.Builder |
timeFirstSnapshotGenerated(Date timeFirstSnapshotGenerated)
The time at which the earliest snapshot was generated in the source database for which
data is uploaded to AWR Hub.
|
AwrHubSource.Builder |
timeLastSnapshotGenerated(Date timeLastSnapshotGenerated)
The time at which the latest snapshot was generated in the source database for which data
is uploaded to AWR Hub.
|
AwrHubSource.Builder |
timeUpdated(Date timeUpdated)
The time at which the resource was last updated.
|
AwrHubSource.Builder |
type(AwrHubSourceType type)
source type of the database
|
public AwrHubSource.Builder name(String name)
The name of the Awr Hub source database.
name
- the value to setpublic AwrHubSource.Builder awrHubId(String awrHubId)
AWR Hub OCID
awrHubId
- the value to setpublic AwrHubSource.Builder compartmentId(String compartmentId)
The OCID of the compartment.
compartmentId
- the value to setpublic AwrHubSource.Builder type(AwrHubSourceType type)
source type of the database
type
- the value to setpublic AwrHubSource.Builder id(String id)
The OCID of the Awr Hub source database.
id
- the value to setpublic AwrHubSource.Builder awrHubOpsiSourceId(String awrHubOpsiSourceId)
The shorted string of the Awr Hub source database identifier.
awrHubOpsiSourceId
- the value to setpublic AwrHubSource.Builder sourceMailBoxUrl(String sourceMailBoxUrl)
Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
sourceMailBoxUrl
- the value to setpublic AwrHubSource.Builder associatedResourceId(String associatedResourceId)
The OCID of the database id.
associatedResourceId
- the value to setpublic AwrHubSource.Builder associatedOpsiId(String associatedOpsiId)
The OCID of the database id.
associatedOpsiId
- the value to setpublic AwrHubSource.Builder timeCreated(Date timeCreated)
The time at which the resource was first created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic AwrHubSource.Builder timeUpdated(Date timeUpdated)
The time at which the resource was last updated. An RFC3339 formatted datetime string
timeUpdated
- the value to setpublic AwrHubSource.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"}
freeformTags
- the value to setpublic AwrHubSource.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"}}
definedTags
- the value to setpublic AwrHubSource.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic AwrHubSource.Builder isRegisteredWithAwrHub(Boolean isRegisteredWithAwrHub)
This is true
if the source databse is registered with a Awr Hub, otherwise false
isRegisteredWithAwrHub
- the value to setpublic AwrHubSource.Builder awrSourceDatabaseId(String awrSourceDatabaseId)
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
awrSourceDatabaseId
- the value to setpublic AwrHubSource.Builder minSnapshotIdentifier(BigDecimal minSnapshotIdentifier)
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
minSnapshotIdentifier
- the value to setpublic AwrHubSource.Builder maxSnapshotIdentifier(BigDecimal maxSnapshotIdentifier)
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
maxSnapshotIdentifier
- the value to setpublic AwrHubSource.Builder timeFirstSnapshotGenerated(Date timeFirstSnapshotGenerated)
The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
timeFirstSnapshotGenerated
- the value to setpublic AwrHubSource.Builder timeLastSnapshotGenerated(Date timeLastSnapshotGenerated)
The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
timeLastSnapshotGenerated
- the value to setpublic AwrHubSource.Builder hoursSinceLastImport(Double hoursSinceLastImport)
Number of hours since last AWR snapshots import happened from the Source database.
hoursSinceLastImport
- the value to setpublic AwrHubSource.Builder lifecycleState(AwrHubSourceLifecycleState lifecycleState)
the current state of the source database
lifecycleState
- the value to setpublic AwrHubSource.Builder status(AwrHubSourceStatus status)
Indicates the status of a source database in Operations Insights
status
- the value to setpublic AwrHubSource build()
public AwrHubSource.Builder copy(AwrHubSource model)
Copyright © 2016–2024. All rights reserved.