Class CfnDatasetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognitosync.CfnDatasetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetMixinProps>
- Enclosing interface:
CfnDatasetMixinProps
@Stability(Stable)
public static final class CfnDatasetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetMixinProps>
A builder for
CfnDatasetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetName(String datasetName) Sets the value ofCfnDatasetMixinProps.getDatasetName()identityId(String identityId) Sets the value ofCfnDatasetMixinProps.getIdentityId()identityPoolId(String identityPoolId) Sets the value ofCfnDatasetMixinProps.getIdentityPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetName
Sets the value ofCfnDatasetMixinProps.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 ofCfnDatasetMixinProps.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 ofCfnDatasetMixinProps.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<CfnDatasetMixinProps>- Returns:
- a new instance of
CfnDatasetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-