Class SageMakerModel.SageMakerModelBuilder<C extends SageMakerModel,B extends SageMakerModel.SageMakerModelBuilder<C,B>>

Enclosing class:
SageMakerModel

public abstract static class SageMakerModel.SageMakerModelBuilder<C extends SageMakerModel,B extends SageMakerModel.SageMakerModelBuilder<C,B>> extends Asset.AssetBuilder<C,B>
  • Constructor Details

    • SageMakerModelBuilder

      public SageMakerModelBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class Asset.AssetBuilder<C extends SageMakerModel,B extends SageMakerModel.SageMakerModelBuilder<C,B>>
    • typeName

      public B typeName(String typeName)
      Fixed typeName for SageMakerModels.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends SageMakerModel,B extends SageMakerModel.SageMakerModelBuilder<C,B>>
      Returns:
      this.
    • aiModel

      public B aiModel(IAIModel aiModel)
      Model containing the versions.
      Returns:
      this.
    • awsAccountId

      public B awsAccountId(String awsAccountId)
      12-digit number that uniquely identifies an AWS account.
      Returns:
      this.
    • awsArn

      public B awsArn(String awsArn)
      DEPRECATED: This legacy attribute must be unique across all AWS asset instances. This can create non-obvious edge cases for creating / updating assets, and we therefore recommended NOT using it. See and use cloudResourceName instead.
      Returns:
      this.
    • awsOwnerId

      public B awsOwnerId(String awsOwnerId)
      Root user's ID.
      Returns:
      this.
    • awsOwnerName

      public B awsOwnerName(String awsOwnerName)
      Root user's name.
      Returns:
      this.
    • awsPartition

      public B awsPartition(String awsPartition)
      Group of AWS region and service objects.
      Returns:
      this.
    • awsRegion

      public B awsRegion(String awsRegion)
      Physical region where the data center in which the asset exists is clustered.
      Returns:
      this.
    • awsResourceId

      public B awsResourceId(String awsResourceId)
      Unique resource ID assigned when a new resource is created.
      Returns:
      this.
    • awsService

      public B awsService(String awsService)
      Type of service in which the asset exists.
      Returns:
      this.
    • awsTag

      public B awsTag(AwsTag awsTag)
    • awsTags

      public B awsTags(Collection<? extends AwsTag> awsTags)
    • clearAwsTags

      public B clearAwsTags()
    • cloudUniformResourceName

      public B cloudUniformResourceName(String cloudUniformResourceName)
      Uniform resource name (URN) for the asset: AWS ARN, Google Cloud URI, Azure resource ID, Oracle OCID, and so on.
      Returns:
      this.
    • ethicalAIAccountabilityConfig

      public B ethicalAIAccountabilityConfig(EthicalAIAccountabilityConfig ethicalAIAccountabilityConfig)
      Accountability configuration for ensuring the ethical use of an AI asset
      Returns:
      this.
    • ethicalAIBiasMitigationConfig

      public B ethicalAIBiasMitigationConfig(EthicalAIBiasMitigationConfig ethicalAIBiasMitigationConfig)
      Bias mitigation configuration for ensuring the ethical use of an AI asset
      Returns:
      this.
    • ethicalAIEnvironmentalConsciousnessConfig

      public B ethicalAIEnvironmentalConsciousnessConfig(EthicalAIEnvironmentalConsciousnessConfig ethicalAIEnvironmentalConsciousnessConfig)
      Environmental consciousness configuration for ensuring the ethical use of an AI asset
      Returns:
      this.
    • ethicalAIFairnessConfig

      public B ethicalAIFairnessConfig(EthicalAIFairnessConfig ethicalAIFairnessConfig)
      Fairness configuration for ensuring the ethical use of an AI asset
      Returns:
      this.
    • ethicalAIPrivacyConfig

      public B ethicalAIPrivacyConfig(EthicalAIPrivacyConfig ethicalAIPrivacyConfig)
      Privacy configuration for ensuring the ethical use of an AI asset
      Returns:
      this.
    • ethicalAIReliabilityAndSafetyConfig

      public B ethicalAIReliabilityAndSafetyConfig(EthicalAIReliabilityAndSafetyConfig ethicalAIReliabilityAndSafetyConfig)
      Reliability and safety configuration for ensuring the ethical use of an AI asset
      Returns:
      this.
    • ethicalAITransparencyConfig

      public B ethicalAITransparencyConfig(EthicalAITransparencyConfig ethicalAITransparencyConfig)
      Transparency configuration for ensuring the ethical use of an AI asset
      Returns:
      this.
    • inputToAirflowTask

      public B inputToAirflowTask(IAirflowTask inputToAirflowTask)
    • inputToAirflowTasks

      public B inputToAirflowTasks(Collection<? extends IAirflowTask> inputToAirflowTasks)
    • clearInputToAirflowTasks

      public B clearInputToAirflowTasks()
    • inputToProcess

      public B inputToProcess(ILineageProcess inputToProcess)
    • inputToProcesses

      public B inputToProcesses(Collection<? extends ILineageProcess> inputToProcesses)
    • clearInputToProcesses

      public B clearInputToProcesses()
    • inputToSparkJob

      public B inputToSparkJob(ISparkJob inputToSparkJob)
    • inputToSparkJobs

      public B inputToSparkJobs(Collection<? extends ISparkJob> inputToSparkJobs)
    • clearInputToSparkJobs

      public B clearInputToSparkJobs()
    • modelImplementedAttribute

      public B modelImplementedAttribute(IModelAttribute modelImplementedAttribute)
    • modelImplementedAttributes

      public B modelImplementedAttributes(Collection<? extends IModelAttribute> modelImplementedAttributes)
    • clearModelImplementedAttributes

      public B clearModelImplementedAttributes()
    • modelImplementedEntity

      public B modelImplementedEntity(IModelEntity modelImplementedEntity)
    • modelImplementedEntities

      public B modelImplementedEntities(Collection<? extends IModelEntity> modelImplementedEntities)
    • clearModelImplementedEntities

      public B clearModelImplementedEntities()
    • outputFromAirflowTask

      public B outputFromAirflowTask(IAirflowTask outputFromAirflowTask)
    • outputFromAirflowTasks

      public B outputFromAirflowTasks(Collection<? extends IAirflowTask> outputFromAirflowTasks)
    • clearOutputFromAirflowTasks

      public B clearOutputFromAirflowTasks()
    • outputFromProcess

      public B outputFromProcess(ILineageProcess outputFromProcess)
    • outputFromProcesses

      public B outputFromProcesses(Collection<? extends ILineageProcess> outputFromProcesses)
    • clearOutputFromProcesses

      public B clearOutputFromProcesses()
    • outputFromSparkJob

      public B outputFromSparkJob(ISparkJob outputFromSparkJob)
    • outputFromSparkJobs

      public B outputFromSparkJobs(Collection<? extends ISparkJob> outputFromSparkJobs)
    • clearOutputFromSparkJobs

      public B clearOutputFromSparkJobs()
    • partialChildField

      public B partialChildField(IPartialField partialChildField)
    • partialChildFields

      public B partialChildFields(Collection<? extends IPartialField> partialChildFields)
    • clearPartialChildFields

      public B clearPartialChildFields()
    • partialChildObject

      public B partialChildObject(IPartialObject partialChildObject)
    • partialChildObjects

      public B partialChildObjects(Collection<? extends IPartialObject> partialChildObjects)
    • clearPartialChildObjects

      public B clearPartialChildObjects()
    • sageMakerModelContainerImage

      public B sageMakerModelContainerImage(String sageMakerModelContainerImage)
      Docker container image used for the model.
      Returns:
      this.
    • sageMakerModelDeployment

      public B sageMakerModelDeployment(ISageMakerModelDeployment sageMakerModelDeployment)
    • sageMakerModelDeployments

      public B sageMakerModelDeployments(Collection<? extends ISageMakerModelDeployment> sageMakerModelDeployments)
    • clearSageMakerModelDeployments

      public B clearSageMakerModelDeployments()
    • sageMakerModelExecutionRoleArn

      public B sageMakerModelExecutionRoleArn(String sageMakerModelExecutionRoleArn)
      ARN of the IAM role used by the model for accessing AWS resources.
      Returns:
      this.
    • sageMakerModelGroup

      public B sageMakerModelGroup(ISageMakerModelGroup sageMakerModelGroup)
      SageMaker Model Group that contains the models.
      Returns:
      this.
    • sageMakerModelModelGroupName

      public B sageMakerModelModelGroupName(String sageMakerModelModelGroupName)
      Name of the parent Model Group.
      Returns:
      this.
    • sageMakerModelModelGroupQualifiedName

      public B sageMakerModelModelGroupQualifiedName(String sageMakerModelModelGroupQualifiedName)
      Qualified name of the parent Model Group.
      Returns:
      this.
    • sageMakerModelStatus

      public B sageMakerModelStatus(String sageMakerModelStatus)
      Status of the SageMaker Model Package (ACTIVE or INACTIVE).
      Returns:
      this.
    • sageMakerModelVersion

      public B sageMakerModelVersion(String sageMakerModelVersion)
      Version of the SageMaker Model Package.
      Returns:
      this.
    • sageMakerS3Uri

      public B sageMakerS3Uri(String sageMakerS3Uri)
      Primary S3 URI associated with this SageMaker asset.
      Returns:
      this.
    • self

      protected abstract B self()
      Specified by:
      self in class Asset.AssetBuilder<C extends SageMakerModel,B extends SageMakerModel.SageMakerModelBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class Asset.AssetBuilder<C extends SageMakerModel,B extends SageMakerModel.SageMakerModelBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class Asset.AssetBuilder<C extends SageMakerModel,B extends SageMakerModel.SageMakerModelBuilder<C,B>>