Class CfnGeofenceCollection.Builder
java.lang.Object
software.amazon.awscdk.services.location.CfnGeofenceCollection.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeofenceCollection>
- Enclosing class:
- CfnGeofenceCollection
@Stability(Stable)
public static final class CfnGeofenceCollection.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeofenceCollection>
A fluent builder for
CfnGeofenceCollection.-
Method Summary
Modifier and TypeMethodDescriptionbuild()collectionName(String collectionName) A custom name for the geofence collection.description(String description) An optional description for the geofence collection.A key identifier for an AWS KMS customer managed key .
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnGeofenceCollection.Builder.
-
collectionName
A custom name for the geofence collection.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.
- Parameters:
collectionName- A custom name for the geofence collection. This parameter is required.- Returns:
this
-
description
An optional description for the geofence collection.- Parameters:
description- An optional description for the geofence collection. This parameter is required.- Returns:
this
-
kmsKeyId
A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN.- Parameters:
kmsKeyId- A key identifier for an AWS KMS customer managed key . Enter a key ID, key ARN, alias name, or alias ARN. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeofenceCollection>- Returns:
- a newly built instance of
CfnGeofenceCollection.
-