Class CfnGeofenceCollectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.location.CfnGeofenceCollectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeofenceCollectionMixinProps>
- Enclosing interface:
CfnGeofenceCollectionMixinProps
@Stability(Stable)
public static final class CfnGeofenceCollectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeofenceCollectionMixinProps>
A builder for
CfnGeofenceCollectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.collectionName(String collectionName) Sets the value ofCfnGeofenceCollectionMixinProps.getCollectionName()description(String description) Sets the value ofCfnGeofenceCollectionMixinProps.getDescription()Sets the value ofCfnGeofenceCollectionMixinProps.getKmsKeyId()pricingPlan(String pricingPlan) Deprecated.this property has been deprecatedpricingPlanDataSource(String pricingPlanDataSource) Deprecated.this property has been deprecatedSets the value ofCfnGeofenceCollectionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectionName
@Stability(Stable) public CfnGeofenceCollectionMixinProps.Builder collectionName(String collectionName) Sets the value ofCfnGeofenceCollectionMixinProps.getCollectionName()- Parameters:
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.
- Returns:
this
-
description
Sets the value ofCfnGeofenceCollectionMixinProps.getDescription()- Parameters:
description- An optional description for the geofence collection.- Returns:
this
-
kmsKeyId
Sets the value ofCfnGeofenceCollectionMixinProps.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
-
pricingPlan
@Stability(Deprecated) @Deprecated public CfnGeofenceCollectionMixinProps.Builder pricingPlan(String pricingPlan) Deprecated.this property has been deprecatedSets the value ofCfnGeofenceCollectionMixinProps.getPricingPlan()- Parameters:
pricingPlan- the value to be set.- Returns:
this
-
pricingPlanDataSource
@Stability(Deprecated) @Deprecated public CfnGeofenceCollectionMixinProps.Builder pricingPlanDataSource(String pricingPlanDataSource) Deprecated.this property has been deprecatedSets the value ofCfnGeofenceCollectionMixinProps.getPricingPlanDataSource()- Parameters:
pricingPlanDataSource- This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.- Returns:
this
-
tags
Sets the value ofCfnGeofenceCollectionMixinProps.getTags()- Parameters:
tags- Applies one or more tags to the geofence collection. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.Format:
"key" : "value"Restrictions:
- Maximum 50 tags per resource
- Each resource tag must be unique with a maximum of one value.
- Maximum key length: 128 Unicode characters in UTF-8
- Maximum value length: 256 Unicode characters in UTF-8
- Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : /
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeofenceCollectionMixinProps>- Returns:
- a new instance of
CfnGeofenceCollectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-