Class CfnDatasetProps.Builder
java.lang.Object
software.amazon.awscdk.services.cognitosync.CfnDatasetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetProps>
- Enclosing interface:
CfnDatasetProps
@Stability(Stable)
public static final class CfnDatasetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetProps>
A builder for
CfnDatasetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetName(String datasetName) Sets the value ofCfnDatasetProps.getDatasetName()identityId(String identityId) Sets the value ofCfnDatasetProps.getIdentityId()identityPoolId(String identityPoolId) Sets the value ofCfnDatasetProps.getIdentityPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetName
Sets the value ofCfnDatasetProps.getDatasetName()- Parameters:
datasetName- A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, underscore, dash, and dot.- Returns:
this
-
identityId
Sets the value ofCfnDatasetProps.getIdentityId()- Parameters:
identityId- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.- Returns:
this
-
identityPoolId
Sets the value ofCfnDatasetProps.getIdentityPoolId()- Parameters:
identityPoolId- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetProps>- Returns:
- a new instance of
CfnDatasetProps - Throws:
NullPointerException- if any required attribute was not provided
-