Interface CreateComputationModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateComputationModelResponse.Builder,,CreateComputationModelResponse> IoTSiteWiseResponse.Builder,SdkBuilder<CreateComputationModelResponse.Builder,,CreateComputationModelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateComputationModelResponse
@Mutable
@NotThreadSafe
public static interface CreateComputationModelResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<CreateComputationModelResponse.Builder,CreateComputationModelResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncomputationModelArn(String computationModelArn) The ARN of the computation model, which has the following format.computationModelId(String computationModelId) The ID of the computation model.computationModelStatus(Consumer<ComputationModelStatus.Builder> computationModelStatus) The status of the computation model, containing a state (CREATING after successfully calling this operation) and any error messages.computationModelStatus(ComputationModelStatus computationModelStatus) The status of the computation model, containing a state (CREATING after successfully calling this operation) and any error messages.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 theComputationModelStatus.Builderavoiding the need to create one manually viaComputationModelStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomputationModelStatus(ComputationModelStatus).- Parameters:
computationModelStatus- a consumer that will call methods onComputationModelStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-