Class: AWSCDK::Sagemaker::CfnModelCard::BusinessDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnModelCard::BusinessDetailsProperty
- Defined in:
- sagemaker/cfn_model_card.rb
Overview
Information about how the model supports business goals.
Instance Attribute Summary collapse
-
#business_problem ⇒ String?
readonly
The specific business problem that the model is trying to solve.
-
#business_stakeholders ⇒ String?
readonly
The relevant stakeholders for the model.
-
#line_of_business ⇒ String?
readonly
The broader business need that the model is serving.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(business_problem: nil, business_stakeholders: nil, line_of_business: nil) ⇒ BusinessDetailsProperty
constructor
A new instance of BusinessDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(business_problem: nil, business_stakeholders: nil, line_of_business: nil) ⇒ BusinessDetailsProperty
Returns a new instance of BusinessDetailsProperty.
766 767 768 769 770 771 772 773 |
# File 'sagemaker/cfn_model_card.rb', line 766 def initialize(business_problem: nil, business_stakeholders: nil, line_of_business: nil) @business_problem = business_problem Jsii::Type.check_type(@business_problem, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "businessProblem") unless @business_problem.nil? @business_stakeholders = business_stakeholders Jsii::Type.check_type(@business_stakeholders, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "businessStakeholders") unless @business_stakeholders.nil? @line_of_business = line_of_business Jsii::Type.check_type(@line_of_business, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "lineOfBusiness") unless @line_of_business.nil? end |
Instance Attribute Details
#business_problem ⇒ String? (readonly)
The specific business problem that the model is trying to solve.
779 780 781 |
# File 'sagemaker/cfn_model_card.rb', line 779 def business_problem @business_problem end |
#business_stakeholders ⇒ String? (readonly)
The relevant stakeholders for the model.
784 785 786 |
# File 'sagemaker/cfn_model_card.rb', line 784 def business_stakeholders @business_stakeholders end |
#line_of_business ⇒ String? (readonly)
The broader business need that the model is serving.
789 790 791 |
# File 'sagemaker/cfn_model_card.rb', line 789 def line_of_business @line_of_business end |
Class Method Details
.jsii_properties ⇒ Object
791 792 793 794 795 796 797 |
# File 'sagemaker/cfn_model_card.rb', line 791 def self.jsii_properties { :business_problem => "businessProblem", :business_stakeholders => "businessStakeholders", :line_of_business => "lineOfBusiness", } end |
Instance Method Details
#to_jsii ⇒ Object
799 800 801 802 803 804 805 806 807 |
# File 'sagemaker/cfn_model_card.rb', line 799 def to_jsii result = {} result.merge!({ "businessProblem" => @business_problem, "businessStakeholders" => @business_stakeholders, "lineOfBusiness" => @line_of_business, }) result.compact end |