Interface DescribeDatasetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoSyncResponse.Builder,CopyableBuilder<DescribeDatasetResponse.Builder,,DescribeDatasetResponse> SdkBuilder<DescribeDatasetResponse.Builder,,DescribeDatasetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDatasetResponse
@Mutable
@NotThreadSafe
public static interface DescribeDatasetResponse.Builder
extends CognitoSyncResponse.Builder, SdkPojo, CopyableBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeDatasetResponse.Builderdataset(Consumer<Dataset.Builder> dataset) Meta data for a collection of data for an identity.Meta data for a collection of data for an identity.Methods inherited from interface software.amazon.awssdk.services.cognitosync.model.CognitoSyncResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
dataset
Meta data for a collection of data for an identity. An identity can have multiple datasets. A dataset can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs.- Parameters:
dataset- Meta data for a collection of data for an identity. An identity can have multiple datasets. A dataset can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataset
Meta data for a collection of data for an identity. An identity can have multiple datasets. A dataset can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs. This is a convenience method that creates an instance of theDataset.Builderavoiding the need to create one manually viaDataset.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataset(Dataset).- Parameters:
dataset- a consumer that will call methods onDataset.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-