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