Class GeofenceCollectionProps.Builder
java.lang.Object
software.amazon.awscdk.services.location.alpha.GeofenceCollectionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GeofenceCollectionProps>
- Enclosing interface:
GeofenceCollectionProps
@Stability(Experimental)
public static final class GeofenceCollectionProps.Builder
extends Object
implements software.amazon.jsii.Builder<GeofenceCollectionProps>
A builder for
GeofenceCollectionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofGeofenceCollectionProps.getDescription()
geofenceCollectionName
(String geofenceCollectionName) Sets the value ofGeofenceCollectionProps.getGeofenceCollectionName()
Sets the value ofGeofenceCollectionProps.getKmsKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofGeofenceCollectionProps.getDescription()
- Parameters:
description
- A description for the geofence collection.- Returns:
this
-
geofenceCollectionName
@Stability(Experimental) public GeofenceCollectionProps.Builder geofenceCollectionName(String geofenceCollectionName) Sets the value ofGeofenceCollectionProps.getGeofenceCollectionName()
- Parameters:
geofenceCollectionName
- A name for the geofence collection. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, periods and underscores.- Returns:
this
-
kmsKey
Sets the value ofGeofenceCollectionProps.getKmsKey()
- Parameters:
kmsKey
- The customer managed to encrypt your data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GeofenceCollectionProps>
- Returns:
- a new instance of
GeofenceCollectionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-