Class PartialCodeConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.PartialCodeConfiguration
-
public final class PartialCodeConfiguration extends Object
Configuration for a scoring code asset.
-
-
Constructor Summary
Constructors Constructor Description PartialCodeConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
codeId()
Get the codeId property: ARM resource ID of the code asset.String
scoringScript()
Get the scoringScript property: The script to execute on startup.void
validate()
Validates the instance.PartialCodeConfiguration
withCodeId(String codeId)
Set the codeId property: ARM resource ID of the code asset.PartialCodeConfiguration
withScoringScript(String scoringScript)
Set the scoringScript property: The script to execute on startup.
-
-
-
Method Detail
-
codeId
public String codeId()
Get the codeId property: ARM resource ID of the code asset.- Returns:
- the codeId value.
-
withCodeId
public PartialCodeConfiguration withCodeId(String codeId)
Set the codeId property: ARM resource ID of the code asset.- Parameters:
codeId
- the codeId value to set.- Returns:
- the PartialCodeConfiguration object itself.
-
scoringScript
public String scoringScript()
Get the scoringScript property: The script to execute on startup. eg. "score.py".- Returns:
- the scoringScript value.
-
withScoringScript
public PartialCodeConfiguration withScoringScript(String scoringScript)
Set the scoringScript property: The script to execute on startup. eg. "score.py".- Parameters:
scoringScript
- the scoringScript value to set.- Returns:
- the PartialCodeConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-