class_docstr: Helper class that processes the job settings.
  
  It validates the job settings and provides default values if necessary.
code: def __init__(
      self,
      role_arn: str = None,
      s3_model_data_url: str = None,
      instance_type: str = None,
      env_vars: Dict[str, str] = None,
      sagemaker_session: Session = None,
  ):
      self.sagemaker_session = sagemaker_session or Session()
  
      self.role_arn = resolve_value_from_config(
          direct_input=role_arn,
          config_path=SERVE_ROLE_ARN,
          sagemaker_session=self.sagemaker_session,
      )
      self.s3_model_data_url = resolve_value_from_config(
          direct_input=s3_model_data_url,
          config_path=SERVE_S3_MODEL_DATA_URI,
          sagemaker_session=self.sagemaker_session,
      )
      self.instance_type = resolve_value_from_config(
          direct_input=instance_type,
          config_path=SERVE_INSTANCE_TYPE,
          sagemaker_session=self.sagemaker_session,
      )
      self.env_vars = resolve_value_from_config(
          direct_input=env_vars,
          config_path=SERVE_ENVIRONMENT_VARIABLES,
          default_value={},
          sagemaker_session=self.sagemaker_session,
      )
      self.telemetry_opt_out = resolve_value_from_config(
          direct_input=None,
          config_path=TELEMETRY_OPT_OUT_PATH,
          default_value=False,
          sagemaker_session=self.sagemaker_session,
      )
  
imports: from __future__ import absolute_import
  from typing import Dict
  from sagemaker.session import Session
  from sagemaker.utils import resolve_value_from_config
  from sagemaker.config.config_schema import SERVE_ENVIRONMENT_VARIABLES, SERVE_INSTANCE_TYPE, SERVE_ROLE_ARN, SERVE_S3_MODEL_DATA_URI, TELEMETRY_OPT_OUT_PATH
label_desc: Use image node_id 1 to create a new _ServeSettings object from inherited base classes: object with example: obj = _ServeSettings(role_arn, s3_model_data_url, instance_type, env_vars, sagemaker_session)