Package com.oracle.bmc.jms.model
Class ExportSetting.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.ExportSetting.Builder
-
- Enclosing class:
- ExportSetting
public static class ExportSetting.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportSetting
build()
ExportSetting.Builder
copy(ExportSetting model)
ExportSetting.Builder
exportDuration(ExportDuration exportDuration)
The duration of data to be exported for fleets.ExportSetting.Builder
exportFrequency(ExportFrequency exportFrequency)
Schedule at which data will be exported.ExportSetting.Builder
exportResources(ExportResources exportResources)
Resource to export data associated from the fleets.ExportSetting.Builder
exportSettingKey(String exportSettingKey)
The internal identifier of the export setting.ExportSetting.Builder
fleetId(String fleetId)
The OCID of the fleet.ExportSetting.Builder
isCrossRegionAcknowledged(Boolean isCrossRegionAcknowledged)
Acknowledgement for cross region target bucket configuration.ExportSetting.Builder
isEnabled(Boolean isEnabled)
ExportSetting flag to store enabled or disabled status.ExportSetting.Builder
targetBucketName(String targetBucketName)
The name of the bucket where data will be exported.ExportSetting.Builder
targetBucketNamespace(String targetBucketNamespace)
The namespace of the bucket where data will be exported.ExportSetting.Builder
targetBucketRegion(String targetBucketRegion)
The id of the region of the target bucket.ExportSetting.Builder
timeCreated(Date timeCreated)
The creation date and time of the export setting (formatted according to RFC3339).ExportSetting.Builder
timeLastModified(Date timeLastModified)
The update date and time of the export setting (formatted according to RFC3339).
-
-
-
Method Detail
-
exportSettingKey
public ExportSetting.Builder exportSettingKey(String exportSettingKey)
The internal identifier of the export setting.- Parameters:
exportSettingKey
- the value to set- Returns:
- this builder
-
fleetId
public ExportSetting.Builder fleetId(String fleetId)
The OCID of the fleet.- Parameters:
fleetId
- the value to set- Returns:
- this builder
-
exportDuration
public ExportSetting.Builder exportDuration(ExportDuration exportDuration)
The duration of data to be exported for fleets.- Parameters:
exportDuration
- the value to set- Returns:
- this builder
-
exportResources
public ExportSetting.Builder exportResources(ExportResources exportResources)
Resource to export data associated from the fleets.- Parameters:
exportResources
- the value to set- Returns:
- this builder
-
isCrossRegionAcknowledged
public ExportSetting.Builder isCrossRegionAcknowledged(Boolean isCrossRegionAcknowledged)
Acknowledgement for cross region target bucket configuration.- Parameters:
isCrossRegionAcknowledged
- the value to set- Returns:
- this builder
-
targetBucketName
public ExportSetting.Builder targetBucketName(String targetBucketName)
The name of the bucket where data will be exported.- Parameters:
targetBucketName
- the value to set- Returns:
- this builder
-
targetBucketNamespace
public ExportSetting.Builder targetBucketNamespace(String targetBucketNamespace)
The namespace of the bucket where data will be exported.- Parameters:
targetBucketNamespace
- the value to set- Returns:
- this builder
-
targetBucketRegion
public ExportSetting.Builder targetBucketRegion(String targetBucketRegion)
The id of the region of the target bucket.- Parameters:
targetBucketRegion
- the value to set- Returns:
- this builder
-
exportFrequency
public ExportSetting.Builder exportFrequency(ExportFrequency exportFrequency)
Schedule at which data will be exported.- Parameters:
exportFrequency
- the value to set- Returns:
- this builder
-
isEnabled
public ExportSetting.Builder isEnabled(Boolean isEnabled)
ExportSetting flag to store enabled or disabled status.- Parameters:
isEnabled
- the value to set- Returns:
- this builder
-
timeCreated
public ExportSetting.Builder timeCreated(Date timeCreated)
The creation date and time of the export setting (formatted according to RFC3339).- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeLastModified
public ExportSetting.Builder timeLastModified(Date timeLastModified)
The update date and time of the export setting (formatted according to RFC3339).- Parameters:
timeLastModified
- the value to set- Returns:
- this builder
-
build
public ExportSetting build()
-
copy
public ExportSetting.Builder copy(ExportSetting model)
-
-