Class CfnGeofenceCollectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.location.CfnGeofenceCollectionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeofenceCollectionProps>
- Enclosing interface:
- CfnGeofenceCollectionProps
@Stability(Stable)
public static final class CfnGeofenceCollectionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeofenceCollectionProps>
A builder for
CfnGeofenceCollectionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.collectionName(String collectionName) Sets the value ofCfnGeofenceCollectionProps.getCollectionName()description(String description) Sets the value ofCfnGeofenceCollectionProps.getDescription()Sets the value ofCfnGeofenceCollectionProps.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectionName
Sets the value ofCfnGeofenceCollectionProps.getCollectionName()- Parameters:
collectionName- A custom name for the geofence collection. This parameter is required. Requirements:- Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
- Must be a unique geofence collection name.
- No spaces allowed. For example,
ExampleGeofenceCollection.
- Returns:
this
-
description
Sets the value ofCfnGeofenceCollectionProps.getDescription()- Parameters:
description- An optional description for the geofence collection.- Returns:
this
-
kmsKeyId
Sets the value ofCfnGeofenceCollectionProps.getKmsKeyId()- Parameters:
kmsKeyId- A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeofenceCollectionProps>- Returns:
- a new instance of
CfnGeofenceCollectionProps - Throws:
NullPointerException- if any required attribute was not provided
-