Interface CreateAssetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAssetRequest.Builder,CreateAssetRequest>,IoTSiteWiseRequest.Builder,SdkBuilder<CreateAssetRequest.Builder,CreateAssetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAssetRequest
public static interface CreateAssetRequest.Builder extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<CreateAssetRequest.Builder,CreateAssetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateAssetRequest.BuilderassetDescription(String assetDescription)A description for the asset.CreateAssetRequest.BuilderassetModelId(String assetModelId)The ID of the asset model from which to create the asset.CreateAssetRequest.BuilderassetName(String assetName)A friendly name for the asset.CreateAssetRequest.BuilderclientToken(String clientToken)A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.CreateAssetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAssetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateAssetRequest.Buildertags(Map<String,String> tags)A list of key-value pairs that contain metadata for the asset.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
assetName
CreateAssetRequest.Builder assetName(String assetName)
A friendly name for the asset.
- Parameters:
assetName- A friendly name for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetModelId
CreateAssetRequest.Builder assetModelId(String assetModelId)
The ID of the asset model from which to create the asset.
- Parameters:
assetModelId- The ID of the asset model from which to create the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateAssetRequest.Builder clientToken(String clientToken)
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
- Parameters:
clientToken- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateAssetRequest.Builder tags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
- Parameters:
tags- A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetDescription
CreateAssetRequest.Builder assetDescription(String assetDescription)
A description for the asset.
- Parameters:
assetDescription- A description for the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAssetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAssetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-