public static class DataSourceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DataSourceSummary |
build() |
DataSourceSummary.Builder |
compartmentId(String compartmentId)
Compartment OCID of the data source
|
DataSourceSummary.Builder |
copy(DataSourceSummary model) |
DataSourceSummary.Builder |
dataSourceFeedProvider(DataSourceFeedProvider dataSourceFeedProvider)
Type of data source feed provider(LoggingQuery)
|
DataSourceSummary.Builder |
dataSourceSummaryDetails(DataSourceSummaryDetails dataSourceSummaryDetails) |
DataSourceSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DataSourceSummary.Builder |
displayName(String displayName)
Display name of the data source
|
DataSourceSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
DataSourceSummary.Builder |
id(String id)
OCID for the data source
|
DataSourceSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
DataSourceSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
|
DataSourceSummary.Builder |
loggingQueryDetails(LoggingQueryDetails loggingQueryDetails) |
DataSourceSummary.Builder |
status(DataSourceStatus status)
Status of data source
|
DataSourceSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
DataSourceSummary.Builder |
timeCreated(Date timeCreated)
The date and time the data source was created.
|
DataSourceSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the data source was updated.
|
public DataSourceSummary.Builder id(String id)
OCID for the data source
id
- the value to setpublic DataSourceSummary.Builder displayName(String displayName)
Display name of the data source
displayName
- the value to setpublic DataSourceSummary.Builder dataSourceFeedProvider(DataSourceFeedProvider dataSourceFeedProvider)
Type of data source feed provider(LoggingQuery)
dataSourceFeedProvider
- the value to setpublic DataSourceSummary.Builder compartmentId(String compartmentId)
Compartment OCID of the data source
compartmentId
- the value to setpublic DataSourceSummary.Builder dataSourceSummaryDetails(DataSourceSummaryDetails dataSourceSummaryDetails)
public DataSourceSummary.Builder timeCreated(Date timeCreated)
The date and time the data source was created. Format defined by RFC3339.
timeCreated
- the value to setpublic DataSourceSummary.Builder timeUpdated(Date timeUpdated)
The date and time the data source was updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic DataSourceSummary.Builder status(DataSourceStatus status)
Status of data source
status
- the value to setpublic DataSourceSummary.Builder loggingQueryDetails(LoggingQueryDetails loggingQueryDetails)
public DataSourceSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
lifecycleState
- the value to setpublic DataSourceSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, this can be used to
provide actionable information for a zone in the Failed
state.
lifecycleDetails
- the value to setpublic DataSourceSummary.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 DataSourceSummary.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 DataSourceSummary.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 DataSourceSummary build()
public DataSourceSummary.Builder copy(DataSourceSummary model)
Copyright © 2016–2024. All rights reserved.