a ftD@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d Z d d Z ed dZejddZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZedd Zejd!d Zed"d#Zejd$d#Zed%d&Zejd'd&Zed(d)Zejd*d)Zed+d,Zejd-d,Zed.d/Zejd0d/Zd1d2Zd3d4Zd5d6Zd7S)8 ExportSettingz% Export settings of a fleet. LAST_30_DAYS LAST_60_DAYS LAST_90_DAYSMANAGED_INSTANCE"MANAGED_INSTANCE_PLUS_JAVA_RUNTIME3MANAGED_INSTANCE_PLUS_JAVA_RUNTIME_PLUS_APPLICATIONDAILYWEEKLYMONTHLYc Ksddddddddddddd |_ddddd d d d d dddd |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ dS)a Initializes a new ExportSetting object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param export_setting_key: The value to assign to the export_setting_key property of this ExportSetting. :type export_setting_key: str :param fleet_id: The value to assign to the fleet_id property of this ExportSetting. :type fleet_id: str :param export_duration: The value to assign to the export_duration property of this ExportSetting. Allowed values for this property are: "LAST_30_DAYS", "LAST_60_DAYS", "LAST_90_DAYS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type export_duration: str :param export_resources: The value to assign to the export_resources property of this ExportSetting. Allowed values for this property are: "MANAGED_INSTANCE", "MANAGED_INSTANCE_PLUS_JAVA_RUNTIME", "MANAGED_INSTANCE_PLUS_JAVA_RUNTIME_PLUS_APPLICATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type export_resources: str :param is_cross_region_acknowledged: The value to assign to the is_cross_region_acknowledged property of this ExportSetting. :type is_cross_region_acknowledged: bool :param target_bucket_name: The value to assign to the target_bucket_name property of this ExportSetting. :type target_bucket_name: str :param target_bucket_namespace: The value to assign to the target_bucket_namespace property of this ExportSetting. :type target_bucket_namespace: str :param target_bucket_region: The value to assign to the target_bucket_region property of this ExportSetting. :type target_bucket_region: str :param export_frequency: The value to assign to the export_frequency property of this ExportSetting. Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type export_frequency: str :param is_enabled: The value to assign to the is_enabled property of this ExportSetting. :type is_enabled: bool :param time_created: The value to assign to the time_created property of this ExportSetting. :type time_created: datetime :param time_last_modified: The value to assign to the time_last_modified property of this ExportSetting. :type time_last_modified: datetime strboolZdatetime) export_setting_keyfleet_idexport_durationexport_resourcesis_cross_region_acknowledgedtarget_bucket_nametarget_bucket_namespacetarget_bucket_regionexport_frequency is_enabled time_createdtime_last_modifiedZexportSettingKeyZfleetIdZexportDurationZexportResourcesZisCrossRegionAcknowledgedZtargetBucketNameZtargetBucketNamespaceZtargetBucketRegionZexportFrequencyZ isEnabledZ timeCreatedZtimeLastModifiedN)Z swagger_typesZ attribute_map_export_setting_key _fleet_id_export_duration_export_resources_is_cross_region_acknowledged_target_bucket_name_target_bucket_namespace_target_bucket_region_export_frequency _is_enabled _time_created_time_last_modified)selfkwargsr,A/usr/lib/python3.9/site-packages/oci/jms/models/export_setting.py__init__6sL=zExportSetting.__init__cCs|jS)z Gets the export_setting_key of this ExportSetting. The internal identifier of the export setting. :return: The export_setting_key of this ExportSetting. :rtype: str rr*r,r,r-rs z ExportSetting.export_setting_keycCs ||_dS)z Sets the export_setting_key of this ExportSetting. The internal identifier of the export setting. :param export_setting_key: The export_setting_key of this ExportSetting. :type: str Nr/)r*rr,r,r-rs cCs|jS)z Gets the fleet_id of this ExportSetting. The `OCID`__ of the fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The fleet_id of this ExportSetting. :rtype: str rr0r,r,r-rs zExportSetting.fleet_idcCs ||_dS)a Sets the fleet_id of this ExportSetting. The `OCID`__ of the fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param fleet_id: The fleet_id of this ExportSetting. :type: str Nr1)r*rr,r,r-rs cCs|jS)a Gets the export_duration of this ExportSetting. The duration of data to be exported for fleets. Allowed values for this property are: "LAST_30_DAYS", "LAST_60_DAYS", "LAST_90_DAYS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The export_duration of this ExportSetting. :rtype: str )r r0r,r,r-rs zExportSetting.export_durationcCs gd}t||sd}||_dS)z Sets the export_duration of this ExportSetting. The duration of data to be exported for fleets. :param export_duration: The export_duration of this ExportSetting. :type: str )rrr UNKNOWN_ENUM_VALUEN)rr )r*rallowed_valuesr,r,r-rs  cCs|jS)a Gets the export_resources of this ExportSetting. Resource to export data associated from the fleets. Allowed values for this property are: "MANAGED_INSTANCE", "MANAGED_INSTANCE_PLUS_JAVA_RUNTIME", "MANAGED_INSTANCE_PLUS_JAVA_RUNTIME_PLUS_APPLICATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The export_resources of this ExportSetting. :rtype: str )r!r0r,r,r-rs zExportSetting.export_resourcescCs gd}t||sd}||_dS)z Sets the export_resources of this ExportSetting. Resource to export data associated from the fleets. :param export_resources: The export_resources of this ExportSetting. :type: str )r r r r2N)rr!)r*rr3r,r,r-rs  cCs|jS)z Gets the is_cross_region_acknowledged of this ExportSetting. Acknowledgement for cross region target bucket configuration. :return: The is_cross_region_acknowledged of this ExportSetting. :rtype: bool r"r0r,r,r-r s z*ExportSetting.is_cross_region_acknowledgedcCs ||_dS)a Sets the is_cross_region_acknowledged of this ExportSetting. Acknowledgement for cross region target bucket configuration. :param is_cross_region_acknowledged: The is_cross_region_acknowledged of this ExportSetting. :type: bool Nr4)r*rr,r,r-rs cCs|jS)z Gets the target_bucket_name of this ExportSetting. The name of the bucket where data will be exported. :return: The target_bucket_name of this ExportSetting. :rtype: str r#r0r,r,r-r%s z ExportSetting.target_bucket_namecCs ||_dS)z Sets the target_bucket_name of this ExportSetting. The name of the bucket where data will be exported. :param target_bucket_name: The target_bucket_name of this ExportSetting. :type: str Nr5)r*rr,r,r-r1s cCs|jS)z Gets the target_bucket_namespace of this ExportSetting. The namespace of the bucket where data will be exported. :return: The target_bucket_namespace of this ExportSetting. :rtype: str r$r0r,r,r-r=s z%ExportSetting.target_bucket_namespacecCs ||_dS)z Sets the target_bucket_namespace of this ExportSetting. The namespace of the bucket where data will be exported. :param target_bucket_namespace: The target_bucket_namespace of this ExportSetting. :type: str Nr6)r*rr,r,r-rIs cCs|jS)z Gets the target_bucket_region of this ExportSetting. The id of the region of the target bucket. :return: The target_bucket_region of this ExportSetting. :rtype: str r%r0r,r,r-rUs z"ExportSetting.target_bucket_regioncCs ||_dS)z Sets the target_bucket_region of this ExportSetting. The id of the region of the target bucket. :param target_bucket_region: The target_bucket_region of this ExportSetting. :type: str Nr7)r*rr,r,r-ras cCs|jS)a Gets the export_frequency of this ExportSetting. Schedule at which data will be exported. Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The export_frequency of this ExportSetting. :rtype: str )r&r0r,r,r-rms zExportSetting.export_frequencycCs gd}t||sd}||_dS)z Sets the export_frequency of this ExportSetting. Schedule at which data will be exported. :param export_frequency: The export_frequency of this ExportSetting. :type: str )r rrr2N)rr&)r*rr3r,r,r-r|s  cCs|jS)z **[Required]** Gets the is_enabled of this ExportSetting. ExportSetting flag to store enabled or disabled status. :return: The is_enabled of this ExportSetting. :rtype: bool r'r0r,r,r-rs zExportSetting.is_enabledcCs ||_dS)z Sets the is_enabled of this ExportSetting. ExportSetting flag to store enabled or disabled status. :param is_enabled: The is_enabled of this ExportSetting. :type: bool Nr8)r*rr,r,r-rs cCs|jS)a+ Gets the time_created of this ExportSetting. The creation date and time of the export setting (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :return: The time_created of this ExportSetting. :rtype: datetime r(r0r,r,r-rs zExportSetting.time_createdcCs ||_dS)a6 Sets the time_created of this ExportSetting. The creation date and time of the export setting (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :param time_created: The time_created of this ExportSetting. :type: datetime Nr9)r*rr,r,r-rs cCs|jS)a5 Gets the time_last_modified of this ExportSetting. The update date and time of the export setting (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :return: The time_last_modified of this ExportSetting. :rtype: datetime r)r0r,r,r-rs z ExportSetting.time_last_modifiedcCs ||_dS)aF Sets the time_last_modified of this ExportSetting. The update date and time of the export setting (formatted according to `RFC3339`__). __ https://datatracker.ietf.org/doc/html/rfc3339 :param time_last_modified: The time_last_modified of this ExportSetting. :type: datetime Nr:)r*rr,r,r-rs cCst|SN)rr0r,r,r-__repr__szExportSetting.__repr__cCs|dur dS|j|jkS)NF)__dict__r*otherr,r,r-__eq__szExportSetting.__eq__cCs ||k Sr;r,r>r,r,r-__ne__szExportSetting.__ne__N)__name__ __module__ __qualname____doc__ZEXPORT_DURATION_LAST_30_DAYSZEXPORT_DURATION_LAST_60_DAYSZEXPORT_DURATION_LAST_90_DAYSZ!EXPORT_RESOURCES_MANAGED_INSTANCEZ3EXPORT_RESOURCES_MANAGED_INSTANCE_PLUS_JAVA_RUNTIMEZDEXPORT_RESOURCES_MANAGED_INSTANCE_PLUS_JAVA_RUNTIME_PLUS_APPLICATIONZEXPORT_FREQUENCY_DAILYZEXPORT_FREQUENCY_WEEKLYZEXPORT_FREQUENCY_MONTHLYr.propertyrsetterrrrrrrrrrrrr<r@rAr,r,r,r-r s|g                        rN)Zoci.utilrrrZoci.decoratorsrobjectrr,r,r,r-s