Class CfnGeofenceCollectionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.location.CfnGeofenceCollectionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGeofenceCollectionPropsMixin>
- Enclosing class:
CfnGeofenceCollectionPropsMixin
@Stability(Stable)
public static final class CfnGeofenceCollectionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGeofenceCollectionPropsMixin>
A fluent builder for
CfnGeofenceCollectionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()collectionName(String collectionName) A custom name for the geofence collection.create()create(CfnPropertyMixinOptions options) description(String description) An optional description for the geofence collection.A key identifier for an AWS KMS customer managed key .pricingPlan(String pricingPlan) Deprecated.this property has been deprecatedpricingPlanDataSource(String pricingPlanDataSource) Deprecated.this property has been deprecatedApplies one or more tags to the geofence collection.
-
Method Details
-
create
@Stability(Stable) public static CfnGeofenceCollectionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGeofenceCollectionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGeofenceCollectionPropsMixin.Builder.
-
collectionName
@Stability(Stable) public CfnGeofenceCollectionPropsMixin.Builder collectionName(String 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- See Also:
-
description
An optional description for the geofence collection.- Parameters:
description- An optional description for the geofence collection. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
pricingPlan
@Stability(Deprecated) @Deprecated public CfnGeofenceCollectionPropsMixin.Builder pricingPlan(String pricingPlan) Deprecated.this property has been deprecated- Parameters:
pricingPlan- This parameter is required.- Returns:
this- See Also:
-
pricingPlanDataSource
@Stability(Deprecated) @Deprecated public CfnGeofenceCollectionPropsMixin.Builder pricingPlanDataSource(String pricingPlanDataSource) Deprecated.this property has been deprecated(deprecated) This shape is deprecated since 2022-02-01: Deprecated.No longer allowed.
- Parameters:
pricingPlanDataSource- This shape is deprecated since 2022-02-01: Deprecated. This parameter is required.- Returns:
this- See Also:
-
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: + - = . _ : /
- Parameters:
tags- Applies one or more tags to the geofence collection. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGeofenceCollectionPropsMixin>- Returns:
- a newly built instance of
CfnGeofenceCollectionPropsMixin.
-