Interface UpdateDatasetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDatasetResponse.Builder,UpdateDatasetResponse>,IoTSiteWiseResponse.Builder,SdkBuilder<UpdateDatasetResponse.Builder,UpdateDatasetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateDatasetResponse
public static interface UpdateDatasetResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<UpdateDatasetResponse.Builder,UpdateDatasetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDatasetResponse.BuilderdatasetArn(String datasetArn)The ARN of the dataset.UpdateDatasetResponse.BuilderdatasetId(String datasetId)The ID of the dataset.default UpdateDatasetResponse.BuilderdatasetStatus(Consumer<DatasetStatus.Builder> datasetStatus)The status of the dataset.UpdateDatasetResponse.BuilderdatasetStatus(DatasetStatus datasetStatus)The status of the dataset.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
datasetId
UpdateDatasetResponse.Builder datasetId(String datasetId)
The ID of the dataset.
- Parameters:
datasetId- The ID of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetArn
UpdateDatasetResponse.Builder datasetArn(String datasetArn)
The ARN of the dataset. The format is
arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.- Parameters:
datasetArn- The ARN of the dataset. The format isarn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetStatus
UpdateDatasetResponse.Builder datasetStatus(DatasetStatus datasetStatus)
The status of the dataset. This contains the state and any error messages. State is
UPDATINGafter a successfull call to this API, and any associated error message. The state isACTIVEwhen ready to use.- Parameters:
datasetStatus- The status of the dataset. This contains the state and any error messages. State isUPDATINGafter a successfull call to this API, and any associated error message. The state isACTIVEwhen ready to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetStatus
default UpdateDatasetResponse.Builder datasetStatus(Consumer<DatasetStatus.Builder> datasetStatus)
The status of the dataset. This contains the state and any error messages. State is
This is a convenience method that creates an instance of theUPDATINGafter a successfull call to this API, and any associated error message. The state isACTIVEwhen ready to use.DatasetStatus.Builderavoiding the need to create one manually viaDatasetStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatasetStatus(DatasetStatus).- Parameters:
datasetStatus- a consumer that will call methods onDatasetStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
datasetStatus(DatasetStatus)
-
-