Class VectorStoreConnectorFileSyncSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeai.model.VectorStoreConnectorFileSyncSummary.Builder
-
- Enclosing class:
- VectorStoreConnectorFileSyncSummary
public static class VectorStoreConnectorFileSyncSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorStoreConnectorFileSyncSummarybuild()VectorStoreConnectorFileSyncSummary.BuildercompartmentId(String compartmentId)Owning compartment OCID for a VectorStoreConnectorFileSync.VectorStoreConnectorFileSyncSummary.Buildercopy(VectorStoreConnectorFileSyncSummary model)VectorStoreConnectorFileSyncSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.VectorStoreConnectorFileSyncSummary.BuilderdisplayName(String displayName)A user-friendly name.VectorStoreConnectorFileSyncSummary.BuilderdurationInSeconds(Integer durationInSeconds)The duration (in seconds) taken for the VectorStoreConnectorFileSync operation to complete.VectorStoreConnectorFileSyncSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.VectorStoreConnectorFileSyncSummary.Builderid(String id)An OCID that uniquely identifies a VectorStoreConnectorFileSync operation.VectorStoreConnectorFileSyncSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail that can provide actionable information.VectorStoreConnectorFileSyncSummary.BuilderlifecycleState(VectorStoreConnectorFileSync.LifecycleState lifecycleState)The current state of the VectorStoreConnectorFileSync operation.VectorStoreConnectorFileSyncSummary.Builderstats(VectorStoreConnectorStats stats)VectorStoreConnectorFileSyncSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.VectorStoreConnectorFileSyncSummary.BuildertenantId(String tenantId)Owning tenant OCID for a VectorStoreConnectorVectorStoreConnectorFileSyncSummary.BuildertimeCreated(Date timeCreated)The date and time that the FileSync operation was created in the format of an RFC3339 datetime string.VectorStoreConnectorFileSyncSummary.BuildertimeEnded(Date timeEnded)The date and time when the FileSync operation has ended in the format of an RFC3339 datetime string.VectorStoreConnectorFileSyncSummary.BuildertimeStarted(Date timeStarted)The date and time when the FileSync operation has started in the format of an RFC3339 datetime string.VectorStoreConnectorFileSyncSummary.BuildertriggerType(VectorStoreConnectorFileSyncSummary.TriggerType triggerType)The type of the FileSync operation based on how it is triggered.VectorStoreConnectorFileSyncSummary.BuildervectorStoreConnectorId(String vectorStoreConnectorId)An OCID that identifies the VectorStoreConnector under which this FileSync operation is created.
-
-
-
Method Detail
-
id
public VectorStoreConnectorFileSyncSummary.Builder id(String id)
An OCID that uniquely identifies a VectorStoreConnectorFileSync operation.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public VectorStoreConnectorFileSyncSummary.Builder displayName(String displayName)
A user-friendly name.- Parameters:
displayName- the value to set- Returns:
- this builder
-
vectorStoreConnectorId
public VectorStoreConnectorFileSyncSummary.Builder vectorStoreConnectorId(String vectorStoreConnectorId)
An OCID that identifies the VectorStoreConnector under which this FileSync operation is created.- Parameters:
vectorStoreConnectorId- the value to set- Returns:
- this builder
-
compartmentId
public VectorStoreConnectorFileSyncSummary.Builder compartmentId(String compartmentId)
Owning compartment OCID for a VectorStoreConnectorFileSync.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
tenantId
public VectorStoreConnectorFileSyncSummary.Builder tenantId(String tenantId)
Owning tenant OCID for a VectorStoreConnector- Parameters:
tenantId- the value to set- Returns:
- this builder
-
timeCreated
public VectorStoreConnectorFileSyncSummary.Builder timeCreated(Date timeCreated)
The date and time that the FileSync operation was created in the format of an RFC3339 datetime string.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleState
public VectorStoreConnectorFileSyncSummary.Builder lifecycleState(VectorStoreConnectorFileSync.LifecycleState lifecycleState)
The current state of the VectorStoreConnectorFileSync operation.Accepted Values are: - ACCEPTED - IN_PROGRESS - FAILED - SUCCEEDED - CANCELING - CANCELED
- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public VectorStoreConnectorFileSyncSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail that can provide actionable information.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
timeStarted
public VectorStoreConnectorFileSyncSummary.Builder timeStarted(Date timeStarted)
The date and time when the FileSync operation has started in the format of an RFC3339 datetime string.- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeEnded
public VectorStoreConnectorFileSyncSummary.Builder timeEnded(Date timeEnded)
The date and time when the FileSync operation has ended in the format of an RFC3339 datetime string.- Parameters:
timeEnded- the value to set- Returns:
- this builder
-
durationInSeconds
public VectorStoreConnectorFileSyncSummary.Builder durationInSeconds(Integer durationInSeconds)
The duration (in seconds) taken for the VectorStoreConnectorFileSync operation to complete.- Parameters:
durationInSeconds- the value to set- Returns:
- this builder
-
triggerType
public VectorStoreConnectorFileSyncSummary.Builder triggerType(VectorStoreConnectorFileSyncSummary.TriggerType triggerType)
The type of the FileSync operation based on how it is triggered.The type can be either MANUAL or SCHEDULED
- Parameters:
triggerType- the value to set- Returns:
- this builder
-
stats
public VectorStoreConnectorFileSyncSummary.Builder stats(VectorStoreConnectorStats stats)
-
freeformTags
public VectorStoreConnectorFileSyncSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public VectorStoreConnectorFileSyncSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public VectorStoreConnectorFileSyncSummary.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
-
build
public VectorStoreConnectorFileSyncSummary build()
-
copy
public VectorStoreConnectorFileSyncSummary.Builder copy(VectorStoreConnectorFileSyncSummary model)
-
-