Interface CreateAssetModelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAssetModelResponse.Builder,CreateAssetModelResponse>,IoTSiteWiseResponse.Builder,SdkBuilder<CreateAssetModelResponse.Builder,CreateAssetModelResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateAssetModelResponse
public static interface CreateAssetModelResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<CreateAssetModelResponse.Builder,CreateAssetModelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateAssetModelResponse.BuilderassetModelArn(String assetModelArn)The ARN of the asset model, which has the following format.CreateAssetModelResponse.BuilderassetModelId(String assetModelId)The ID of the asset model.default CreateAssetModelResponse.BuilderassetModelStatus(Consumer<AssetModelStatus.Builder> assetModelStatus)The status of the asset model, which contains a state (CREATINGafter successfully calling this operation) and any error message.CreateAssetModelResponse.BuilderassetModelStatus(AssetModelStatus assetModelStatus)The status of the asset model, which contains a state (CREATINGafter successfully calling this operation) and any error message.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
assetModelId
CreateAssetModelResponse.Builder assetModelId(String assetModelId)
The ID of the asset model. You can use this ID when you call other IoT SiteWise APIs.
- Parameters:
assetModelId- The ID of the asset model. You can use this ID when you call other IoT SiteWise APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelArn
CreateAssetModelResponse.Builder assetModelArn(String assetModelArn)
The ARN of the asset model, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}- Parameters:
assetModelArn- The ARN of the asset model, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:asset-model/${AssetModelId}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelStatus
CreateAssetModelResponse.Builder assetModelStatus(AssetModelStatus assetModelStatus)
The status of the asset model, which contains a state (
CREATINGafter successfully calling this operation) and any error message.- Parameters:
assetModelStatus- The status of the asset model, which contains a state (CREATINGafter successfully calling this operation) and any error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelStatus
default CreateAssetModelResponse.Builder assetModelStatus(Consumer<AssetModelStatus.Builder> assetModelStatus)
The status of the asset model, which contains a state (
This is a convenience method that creates an instance of theCREATINGafter successfully calling this operation) and any error message.AssetModelStatus.Builderavoiding the need to create one manually viaAssetModelStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassetModelStatus(AssetModelStatus).- Parameters:
assetModelStatus- a consumer that will call methods onAssetModelStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
assetModelStatus(AssetModelStatus)
-
-