# coding: utf-8
# Copyright (c) 2016, 2025, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210610


from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel  # noqa: F401
from oci.decorators import init_model_state_from_kwargs


@init_model_state_from_kwargs
class UpdateFleetAdvancedFeatureConfigurationDetails(object):
    """
    Details object containing advanced feature configurations to be updated.
    Ensure that the namespace and bucket storage are created prior to turning on the JfrRecording or CryptoEventAnalysis feature.
    """

    def __init__(self, **kwargs):
        """
        Initializes a new UpdateFleetAdvancedFeatureConfigurationDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param analytic_namespace:
            The value to assign to the analytic_namespace property of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type analytic_namespace: str

        :param analytic_bucket_name:
            The value to assign to the analytic_bucket_name property of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type analytic_bucket_name: str

        :param lcm:
            The value to assign to the lcm property of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type lcm: oci.jms.models.Lcm

        :param crypto_event_analysis:
            The value to assign to the crypto_event_analysis property of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type crypto_event_analysis: oci.jms.models.CryptoEventAnalysis

        :param advanced_usage_tracking:
            The value to assign to the advanced_usage_tracking property of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type advanced_usage_tracking: oci.jms.models.AdvancedUsageTracking

        :param jfr_recording:
            The value to assign to the jfr_recording property of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type jfr_recording: oci.jms.models.JfrRecording

        :param performance_tuning_analysis:
            The value to assign to the performance_tuning_analysis property of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type performance_tuning_analysis: oci.jms.models.PerformanceTuningAnalysis

        :param java_migration_analysis:
            The value to assign to the java_migration_analysis property of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type java_migration_analysis: oci.jms.models.JavaMigrationAnalysis

        """
        self.swagger_types = {
            'analytic_namespace': 'str',
            'analytic_bucket_name': 'str',
            'lcm': 'Lcm',
            'crypto_event_analysis': 'CryptoEventAnalysis',
            'advanced_usage_tracking': 'AdvancedUsageTracking',
            'jfr_recording': 'JfrRecording',
            'performance_tuning_analysis': 'PerformanceTuningAnalysis',
            'java_migration_analysis': 'JavaMigrationAnalysis'
        }
        self.attribute_map = {
            'analytic_namespace': 'analyticNamespace',
            'analytic_bucket_name': 'analyticBucketName',
            'lcm': 'lcm',
            'crypto_event_analysis': 'cryptoEventAnalysis',
            'advanced_usage_tracking': 'advancedUsageTracking',
            'jfr_recording': 'jfrRecording',
            'performance_tuning_analysis': 'performanceTuningAnalysis',
            'java_migration_analysis': 'javaMigrationAnalysis'
        }
        self._analytic_namespace = None
        self._analytic_bucket_name = None
        self._lcm = None
        self._crypto_event_analysis = None
        self._advanced_usage_tracking = None
        self._jfr_recording = None
        self._performance_tuning_analysis = None
        self._java_migration_analysis = None

    @property
    def analytic_namespace(self):
        """
        Gets the analytic_namespace of this UpdateFleetAdvancedFeatureConfigurationDetails.
        Namespace for the Fleet advanced feature.


        :return: The analytic_namespace of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :rtype: str
        """
        return self._analytic_namespace

    @analytic_namespace.setter
    def analytic_namespace(self, analytic_namespace):
        """
        Sets the analytic_namespace of this UpdateFleetAdvancedFeatureConfigurationDetails.
        Namespace for the Fleet advanced feature.


        :param analytic_namespace: The analytic_namespace of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type: str
        """
        self._analytic_namespace = analytic_namespace

    @property
    def analytic_bucket_name(self):
        """
        Gets the analytic_bucket_name of this UpdateFleetAdvancedFeatureConfigurationDetails.
        Bucket name required to store JFR and related data.


        :return: The analytic_bucket_name of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :rtype: str
        """
        return self._analytic_bucket_name

    @analytic_bucket_name.setter
    def analytic_bucket_name(self, analytic_bucket_name):
        """
        Sets the analytic_bucket_name of this UpdateFleetAdvancedFeatureConfigurationDetails.
        Bucket name required to store JFR and related data.


        :param analytic_bucket_name: The analytic_bucket_name of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type: str
        """
        self._analytic_bucket_name = analytic_bucket_name

    @property
    def lcm(self):
        """
        Gets the lcm of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :return: The lcm of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :rtype: oci.jms.models.Lcm
        """
        return self._lcm

    @lcm.setter
    def lcm(self, lcm):
        """
        Sets the lcm of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :param lcm: The lcm of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type: oci.jms.models.Lcm
        """
        self._lcm = lcm

    @property
    def crypto_event_analysis(self):
        """
        Gets the crypto_event_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :return: The crypto_event_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :rtype: oci.jms.models.CryptoEventAnalysis
        """
        return self._crypto_event_analysis

    @crypto_event_analysis.setter
    def crypto_event_analysis(self, crypto_event_analysis):
        """
        Sets the crypto_event_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :param crypto_event_analysis: The crypto_event_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type: oci.jms.models.CryptoEventAnalysis
        """
        self._crypto_event_analysis = crypto_event_analysis

    @property
    def advanced_usage_tracking(self):
        """
        Gets the advanced_usage_tracking of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :return: The advanced_usage_tracking of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :rtype: oci.jms.models.AdvancedUsageTracking
        """
        return self._advanced_usage_tracking

    @advanced_usage_tracking.setter
    def advanced_usage_tracking(self, advanced_usage_tracking):
        """
        Sets the advanced_usage_tracking of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :param advanced_usage_tracking: The advanced_usage_tracking of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type: oci.jms.models.AdvancedUsageTracking
        """
        self._advanced_usage_tracking = advanced_usage_tracking

    @property
    def jfr_recording(self):
        """
        Gets the jfr_recording of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :return: The jfr_recording of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :rtype: oci.jms.models.JfrRecording
        """
        return self._jfr_recording

    @jfr_recording.setter
    def jfr_recording(self, jfr_recording):
        """
        Sets the jfr_recording of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :param jfr_recording: The jfr_recording of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type: oci.jms.models.JfrRecording
        """
        self._jfr_recording = jfr_recording

    @property
    def performance_tuning_analysis(self):
        """
        Gets the performance_tuning_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :return: The performance_tuning_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :rtype: oci.jms.models.PerformanceTuningAnalysis
        """
        return self._performance_tuning_analysis

    @performance_tuning_analysis.setter
    def performance_tuning_analysis(self, performance_tuning_analysis):
        """
        Sets the performance_tuning_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :param performance_tuning_analysis: The performance_tuning_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type: oci.jms.models.PerformanceTuningAnalysis
        """
        self._performance_tuning_analysis = performance_tuning_analysis

    @property
    def java_migration_analysis(self):
        """
        Gets the java_migration_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :return: The java_migration_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :rtype: oci.jms.models.JavaMigrationAnalysis
        """
        return self._java_migration_analysis

    @java_migration_analysis.setter
    def java_migration_analysis(self, java_migration_analysis):
        """
        Sets the java_migration_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.

        :param java_migration_analysis: The java_migration_analysis of this UpdateFleetAdvancedFeatureConfigurationDetails.
        :type: oci.jms.models.JavaMigrationAnalysis
        """
        self._java_migration_analysis = java_migration_analysis

    def __repr__(self):
        return formatted_flat_dict(self)

    def __eq__(self, other):
        if other is None:
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        return not self == other
