public static class DataSource.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataSource |
build() |
DataSource.Builder |
compartmentId(String compartmentId)
Compartment OCID of data source
|
DataSource.Builder |
copy(DataSource model) |
DataSource.Builder |
dataSourceDetails(DataSourceDetails dataSourceDetails) |
DataSource.Builder |
dataSourceDetectorMappingInfo(List<DataSourceMappingInfo> dataSourceDetectorMappingInfo)
Information about the detector recipe and rule attached
|
DataSource.Builder |
dataSourceFeedProvider(DataSourceFeedProvider dataSourceFeedProvider)
Possible type of dataSourceFeed Provider(LoggingQuery)
|
DataSource.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DataSource.Builder |
displayName(String displayName)
Display name of the data source
|
DataSource.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DataSource.Builder |
id(String id)
OCID for the data source
|
DataSource.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource.
|
DataSource.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
DataSource.Builder |
regionStatusDetail(List<RegionStatusDetail> regionStatusDetail)
Information about the region and status of query replication
|
DataSource.Builder |
status(DataSourceStatus status)
Enablement status of the data source
|
DataSource.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
DataSource.Builder |
timeCreated(Date timeCreated)
The date and time the Data source was created.
|
DataSource.Builder |
timeUpdated(Date timeUpdated)
The date and time the data source was updated.
|
public DataSource.Builder id(String id)
OCID for the data source
id
- the value to setpublic DataSource.Builder displayName(String displayName)
Display name of the data source
displayName
- the value to setpublic DataSource.Builder dataSourceFeedProvider(DataSourceFeedProvider dataSourceFeedProvider)
Possible type of dataSourceFeed Provider(LoggingQuery)
dataSourceFeedProvider
- the value to setpublic DataSource.Builder compartmentId(String compartmentId)
Compartment OCID of data source
compartmentId
- the value to setpublic DataSource.Builder dataSourceDetails(DataSourceDetails dataSourceDetails)
public DataSource.Builder timeCreated(Date timeCreated)
The date and time the Data source was created. Format defined by RFC3339.
timeCreated
- the value to setpublic DataSource.Builder timeUpdated(Date timeUpdated)
The date and time the data source was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic DataSource.Builder status(DataSourceStatus status)
Enablement status of the data source
status
- the value to setpublic DataSource.Builder dataSourceDetectorMappingInfo(List<DataSourceMappingInfo> dataSourceDetectorMappingInfo)
Information about the detector recipe and rule attached
dataSourceDetectorMappingInfo
- the value to setpublic DataSource.Builder regionStatusDetail(List<RegionStatusDetail> regionStatusDetail)
Information about the region and status of query replication
regionStatusDetail
- the value to setpublic DataSource.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource.
lifecycleState
- the value to setpublic DataSource.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic DataSource.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"}
Avoid entering confidential information.
freeformTags
- the value to setpublic DataSource.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 DataSource.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic DataSource build()
public DataSource.Builder copy(DataSource model)
Copyright © 2016–2024. All rights reserved.