Interface Model.Builder

    • Method Detail

      • modelName

        Model.Builder modelName​(String modelName)

        The name of the model.

        Parameters:
        modelName - The name of the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • primaryContainer

        Model.Builder primaryContainer​(ContainerDefinition primaryContainer)
        Sets the value of the PrimaryContainer property for this object.
        Parameters:
        primaryContainer - The new value for the PrimaryContainer property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containers

        Model.Builder containers​(Collection<ContainerDefinition> containers)

        The containers in the inference pipeline.

        Parameters:
        containers - The containers in the inference pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containers

        Model.Builder containers​(ContainerDefinition... containers)

        The containers in the inference pipeline.

        Parameters:
        containers - The containers in the inference pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inferenceExecutionConfig

        Model.Builder inferenceExecutionConfig​(InferenceExecutionConfig inferenceExecutionConfig)
        Sets the value of the InferenceExecutionConfig property for this object.
        Parameters:
        inferenceExecutionConfig - The new value for the InferenceExecutionConfig property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • executionRoleArn

        Model.Builder executionRoleArn​(String executionRoleArn)

        The Amazon Resource Name (ARN) of the IAM role that you specified for the model.

        Parameters:
        executionRoleArn - The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcConfig

        Model.Builder vpcConfig​(VpcConfig vpcConfig)
        Sets the value of the VpcConfig property for this object.
        Parameters:
        vpcConfig - The new value for the VpcConfig property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        Model.Builder creationTime​(Instant creationTime)

        A timestamp that indicates when the model was created.

        Parameters:
        creationTime - A timestamp that indicates when the model was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelArn

        Model.Builder modelArn​(String modelArn)

        The Amazon Resource Name (ARN) of the model.

        Parameters:
        modelArn - The Amazon Resource Name (ARN) of the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableNetworkIsolation

        Model.Builder enableNetworkIsolation​(Boolean enableNetworkIsolation)

        Isolates the model container. No inbound or outbound network calls can be made to or from the model container.

        Parameters:
        enableNetworkIsolation - Isolates the model container. No inbound or outbound network calls can be made to or from the model container.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Model.Builder tags​(Tag... tags)

        A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

        Parameters:
        tags - A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Model.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • deploymentRecommendation

        Model.Builder deploymentRecommendation​(DeploymentRecommendation deploymentRecommendation)

        A set of recommended deployment configurations for the model.

        Parameters:
        deploymentRecommendation - A set of recommended deployment configurations for the model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.