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 Details

    • 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. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.

      Parameters:
      assetModelId - The ID of the asset model from which to create the asset. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
      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

      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.
    • assetId

      The ID to assign to the asset, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.

      Parameters:
      assetId - The ID to assign to the asset, if desired. IoT SiteWise automatically generates a unique ID for you, so this parameter is never required. However, if you prefer to supply your own ID instead, you can specify it here in UUID format. If you specify your own ID, it must be globally unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assetExternalId

      CreateAssetRequest.Builder assetExternalId(String assetExternalId)

      An external ID to assign to the asset. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.

      Parameters:
      assetExternalId - An external ID to assign to the asset. The external ID must be unique within your Amazon Web Services account. For more information, see Using external IDs in the IoT SiteWise User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateAssetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.