Package com.oracle.bmc.opsi.model
Class AwrHubSource.Builder
- java.lang.Object
- 
- com.oracle.bmc.opsi.model.AwrHubSource.Builder
 
- 
- Enclosing class:
- AwrHubSource
 
 public static class AwrHubSource.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AwrHubSource.BuilderassociatedOpsiId(String associatedOpsiId)The OCID of the database id.AwrHubSource.BuilderassociatedResourceId(String associatedResourceId)The OCID of the database id.AwrHubSource.BuilderawrHubId(String awrHubId)AWR Hub OCIDAwrHubSource.BuilderawrHubOpsiSourceId(String awrHubOpsiSourceId)The shorted string of the Awr Hub source database identifier.AwrHubSource.BuilderawrSourceDatabaseId(String awrSourceDatabaseId)DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.AwrHubSourcebuild()AwrHubSource.BuildercompartmentId(String compartmentId)The OCID of the compartment.AwrHubSource.Buildercopy(AwrHubSource model)AwrHubSource.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AwrHubSource.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.AwrHubSource.BuilderhoursSinceLastImport(Double hoursSinceLastImport)Number of hours since last AWR snapshots import happened from the Source database.AwrHubSource.Builderid(String id)The OCID of the Awr Hub source database.AwrHubSource.BuilderisRegisteredWithAwrHub(Boolean isRegisteredWithAwrHub)This is true if the source databse is registered with a Awr Hub, otherwise falseAwrHubSource.BuilderlifecycleState(AwrHubSourceLifecycleState lifecycleState)the current state of the source databaseAwrHubSource.BuildermaxSnapshotIdentifier(BigDecimal maxSnapshotIdentifier)The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.AwrHubSource.BuilderminSnapshotIdentifier(BigDecimal minSnapshotIdentifier)The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.AwrHubSource.Buildername(String name)The name of the Awr Hub source database.AwrHubSource.BuildersourceMailBoxUrl(String sourceMailBoxUrl)Opsi Mailbox URL based on the Awr Hub and Awr Hub source.AwrHubSource.Builderstatus(AwrHubSourceStatus status)Indicates the status of a source database in Operations InsightsAwrHubSource.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.AwrHubSource.BuildertimeCreated(Date timeCreated)The time at which the resource was first created.AwrHubSource.BuildertimeFirstSnapshotGenerated(Date timeFirstSnapshotGenerated)The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub.AwrHubSource.BuildertimeLastSnapshotGenerated(Date timeLastSnapshotGenerated)The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub.AwrHubSource.BuildertimeUpdated(Date timeUpdated)The time at which the resource was last updated.AwrHubSource.Buildertype(AwrHubSourceType type)source type of the database
 
- 
- 
- 
Method Detail- 
namepublic AwrHubSource.Builder name(String name) The name of the Awr Hub source database.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
awrHubIdpublic AwrHubSource.Builder awrHubId(String awrHubId) AWR Hub OCID- Parameters:
- awrHubId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AwrHubSource.Builder compartmentId(String compartmentId) The OCID of the compartment.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
typepublic AwrHubSource.Builder type(AwrHubSourceType type) source type of the database- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
idpublic AwrHubSource.Builder id(String id) The OCID of the Awr Hub source database.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
awrHubOpsiSourceIdpublic AwrHubSource.Builder awrHubOpsiSourceId(String awrHubOpsiSourceId) The shorted string of the Awr Hub source database identifier.- Parameters:
- awrHubOpsiSourceId- the value to set
- Returns:
- this builder
 
 - 
sourceMailBoxUrlpublic AwrHubSource.Builder sourceMailBoxUrl(String sourceMailBoxUrl) Opsi Mailbox URL based on the Awr Hub and Awr Hub source.- Parameters:
- sourceMailBoxUrl- the value to set
- Returns:
- this builder
 
 - 
associatedResourceIdpublic AwrHubSource.Builder associatedResourceId(String associatedResourceId) The OCID of the database id.- Parameters:
- associatedResourceId- the value to set
- Returns:
- this builder
 
 - 
associatedOpsiIdpublic AwrHubSource.Builder associatedOpsiId(String associatedOpsiId) The OCID of the database id.- Parameters:
- associatedOpsiId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AwrHubSource.Builder timeCreated(Date timeCreated) The time at which the resource was first created.An RFC3339 formatted datetime string - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AwrHubSource.Builder timeUpdated(Date timeUpdated) The time at which the resource was last updated.An RFC3339 formatted datetime string - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
isRegisteredWithAwrHubpublic AwrHubSource.Builder isRegisteredWithAwrHub(Boolean isRegisteredWithAwrHub) This is true if the source databse is registered with a Awr Hub, otherwise false- Parameters:
- isRegisteredWithAwrHub- the value to set
- Returns:
- this builder
 
 - 
awrSourceDatabaseIdpublic AwrHubSource.Builder awrSourceDatabaseId(String awrSourceDatabaseId) DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.- Parameters:
- awrSourceDatabaseId- the value to set
- Returns:
- this builder
 
 - 
minSnapshotIdentifierpublic AwrHubSource.Builder minSnapshotIdentifier(BigDecimal minSnapshotIdentifier) The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.- Parameters:
- minSnapshotIdentifier- the value to set
- Returns:
- this builder
 
 - 
maxSnapshotIdentifierpublic AwrHubSource.Builder maxSnapshotIdentifier(BigDecimal maxSnapshotIdentifier) The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.- Parameters:
- maxSnapshotIdentifier- the value to set
- Returns:
- this builder
 
 - 
timeFirstSnapshotGeneratedpublic 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 - Parameters:
- timeFirstSnapshotGenerated- the value to set
- Returns:
- this builder
 
 - 
timeLastSnapshotGeneratedpublic 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 - Parameters:
- timeLastSnapshotGenerated- the value to set
- Returns:
- this builder
 
 - 
hoursSinceLastImportpublic AwrHubSource.Builder hoursSinceLastImport(Double hoursSinceLastImport) Number of hours since last AWR snapshots import happened from the Source database.- Parameters:
- hoursSinceLastImport- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AwrHubSource.Builder lifecycleState(AwrHubSourceLifecycleState lifecycleState) the current state of the source database- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
statuspublic AwrHubSource.Builder status(AwrHubSourceStatus status) Indicates the status of a source database in Operations Insights- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
buildpublic AwrHubSource build() 
 - 
copypublic AwrHubSource.Builder copy(AwrHubSource model) 
 
- 
 
-