public static class DataSourceSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public DataSourceSummary.Builder id(String id)
Ocid for Data Source
id
- the value to setpublic DataSourceSummary.Builder displayName(String displayName)
DisplayName of Data Source
displayName
- the value to setpublic DataSourceSummary.Builder dataSourceFeedProvider(DataSourceFeedProvider dataSourceFeedProvider)
Possible type of dataSourceFeed Provider(LoggingQuery)
dataSourceFeedProvider
- the value to setpublic DataSourceSummary.Builder compartmentId(String compartmentId)
CompartmentId of 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 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–2023. All rights reserved.