Package com.oracle.bmc.cloudguard.model
Class DataSource.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.DataSource.Builder
 
- 
- Enclosing class:
- DataSource
 
 public static class DataSource.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourcebuild()DataSource.BuildercompartmentId(String compartmentId)Compartment OCID of data sourceDataSource.Buildercopy(DataSource model)DataSource.BuilderdataSourceDetails(DataSourceDetails dataSourceDetails)DataSource.BuilderdataSourceDetectorMappingInfo(List<DataSourceMappingInfo> dataSourceDetectorMappingInfo)Information about the detector recipe and rule attachedDataSource.BuilderdataSourceFeedProvider(DataSourceFeedProvider dataSourceFeedProvider)Possible type of dataSourceFeed Provider(LoggingQuery)DataSource.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DataSource.BuilderdisplayName(String displayName)Display name of the data sourceDataSource.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.DataSource.Builderid(String id)OCID for the data sourceDataSource.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the resource.DataSource.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.DataSource.BuilderregionStatusDetail(List<RegionStatusDetail> regionStatusDetail)Information about the region and status of query replicationDataSource.Builderstatus(DataSourceStatus status)Enablement status of the data sourceDataSource.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DataSource.BuildertimeCreated(Date timeCreated)The date and time the Data source was created.DataSource.BuildertimeUpdated(Date timeUpdated)The date and time the data source was updated.
 
- 
- 
- 
Method Detail- 
idpublic DataSource.Builder id(String id) OCID for the data source- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DataSource.Builder displayName(String displayName) Display name of the data source- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
dataSourceFeedProviderpublic DataSource.Builder dataSourceFeedProvider(DataSourceFeedProvider dataSourceFeedProvider) Possible type of dataSourceFeed Provider(LoggingQuery)- Parameters:
- dataSourceFeedProvider- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic DataSource.Builder compartmentId(String compartmentId) Compartment OCID of data source- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
dataSourceDetailspublic DataSource.Builder dataSourceDetails(DataSourceDetails dataSourceDetails) 
 - 
timeCreatedpublic DataSource.Builder timeCreated(Date timeCreated) The date and time the Data source was created.Format defined by RFC3339. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DataSource.Builder timeUpdated(Date timeUpdated) The date and time the data source was updated.Format defined by RFC3339. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
statuspublic DataSource.Builder status(DataSourceStatus status) Enablement status of the data source- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
dataSourceDetectorMappingInfopublic DataSource.Builder dataSourceDetectorMappingInfo(List<DataSourceMappingInfo> dataSourceDetectorMappingInfo) Information about the detector recipe and rule attached- Parameters:
- dataSourceDetectorMappingInfo- the value to set
- Returns:
- this builder
 
 - 
regionStatusDetailpublic DataSource.Builder regionStatusDetail(List<RegionStatusDetail> regionStatusDetail) Information about the region and status of query replication- Parameters:
- regionStatusDetail- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DataSource.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the resource.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lockspublic DataSource.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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. - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic DataSource build() 
 - 
copypublic DataSource.Builder copy(DataSource model) 
 
- 
 
-