Interface CreateComputationModelResponse.Builder

  • Method Details

    • computationModelId

      CreateComputationModelResponse.Builder computationModelId(String computationModelId)

      The ID of the computation model.

      Parameters:
      computationModelId - The ID of the computation model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computationModelArn

      CreateComputationModelResponse.Builder computationModelArn(String computationModelArn)

      The ARN of the computation model, which has the following format.

      arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}

      Parameters:
      computationModelArn - The ARN of the computation model, which has the following format.

      arn:${Partition}:iotsitewise:${Region}:${Account}:computation-model/${ComputationModelId}

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computationModelStatus

      CreateComputationModelResponse.Builder computationModelStatus(ComputationModelStatus computationModelStatus)

      The status of the computation model, containing a state (CREATING after successfully calling this operation) and any error messages.

      Parameters:
      computationModelStatus - The status of the computation model, containing a state (CREATING after successfully calling this operation) and any error messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computationModelStatus

      default CreateComputationModelResponse.Builder computationModelStatus(Consumer<ComputationModelStatus.Builder> computationModelStatus)

      The status of the computation model, containing a state (CREATING after successfully calling this operation) and any error messages.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to computationModelStatus(ComputationModelStatus).

      Parameters:
      computationModelStatus - a consumer that will call methods on ComputationModelStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: