@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGeofenceCollectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateGeofenceCollectionRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateGeofenceCollectionRequest | addTagsEntry(String key,
            String value)Add a single Tags entry | 
| CreateGeofenceCollectionRequest | clearTagsEntries()Removes all the entries added into Tags. | 
| CreateGeofenceCollectionRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getCollectionName()
 A custom name for the geofence collection. | 
| String | getDescription()
 An optional description for the geofence collection. | 
| String | getKmsKeyId()
 A key identifier for an Amazon
 Web Services KMS customer managed key. | 
| String | getPricingPlan()Deprecated.  | 
| String | getPricingPlanDataSource()Deprecated.  | 
| Map<String,String> | getTags()
 Applies one or more tags to the geofence collection. | 
| int | hashCode() | 
| void | setCollectionName(String collectionName)
 A custom name for the geofence collection. | 
| void | setDescription(String description)
 An optional description for the geofence collection. | 
| void | setKmsKeyId(String kmsKeyId)
 A key identifier for an Amazon
 Web Services KMS customer managed key. | 
| void | setPricingPlan(String pricingPlan)Deprecated.  | 
| void | setPricingPlanDataSource(String pricingPlanDataSource)Deprecated.  | 
| void | setTags(Map<String,String> tags)
 Applies one or more tags to the geofence collection. | 
| String | toString()Returns a string representation of this object. | 
| CreateGeofenceCollectionRequest | withCollectionName(String collectionName)
 A custom name for the geofence collection. | 
| CreateGeofenceCollectionRequest | withDescription(String description)
 An optional description for the geofence collection. | 
| CreateGeofenceCollectionRequest | withKmsKeyId(String kmsKeyId)
 A key identifier for an Amazon
 Web Services KMS customer managed key. | 
| CreateGeofenceCollectionRequest | withPricingPlan(PricingPlan pricingPlan)Deprecated.  | 
| CreateGeofenceCollectionRequest | withPricingPlan(String pricingPlan)Deprecated.  | 
| CreateGeofenceCollectionRequest | withPricingPlanDataSource(String pricingPlanDataSource)Deprecated.  | 
| CreateGeofenceCollectionRequest | withTags(Map<String,String> tags)
 Applies one or more tags to the geofence collection. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCollectionName(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.
 
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.
        
public String getCollectionName()
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.
 
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.
         
public CreateGeofenceCollectionRequest withCollectionName(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.
 
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.
        
@Deprecated public void setPricingPlan(String pricingPlan)
 No longer used. If included, the only allowed value is RequestBasedUsage.
 
pricingPlan - No longer used. If included, the only allowed value is RequestBasedUsage.PricingPlan@Deprecated public String getPricingPlan()
 No longer used. If included, the only allowed value is RequestBasedUsage.
 
RequestBasedUsage.PricingPlan@Deprecated public CreateGeofenceCollectionRequest withPricingPlan(String pricingPlan)
 No longer used. If included, the only allowed value is RequestBasedUsage.
 
pricingPlan - No longer used. If included, the only allowed value is RequestBasedUsage.PricingPlan@Deprecated public CreateGeofenceCollectionRequest withPricingPlan(PricingPlan pricingPlan)
 No longer used. If included, the only allowed value is RequestBasedUsage.
 
pricingPlan - No longer used. If included, the only allowed value is RequestBasedUsage.PricingPlan@Deprecated public void setPricingPlanDataSource(String pricingPlanDataSource)
This parameter is no longer used.
pricingPlanDataSource - This parameter is no longer used.@Deprecated public String getPricingPlanDataSource()
This parameter is no longer used.
@Deprecated public CreateGeofenceCollectionRequest withPricingPlanDataSource(String pricingPlanDataSource)
This parameter is no longer used.
pricingPlanDataSource - This parameter is no longer used.public void setDescription(String description)
An optional description for the geofence collection.
description - An optional description for the geofence collection.public String getDescription()
An optional description for the geofence collection.
public CreateGeofenceCollectionRequest withDescription(String description)
An optional description for the geofence collection.
description - An optional description for the geofence collection.public Map<String,String> getTags()
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: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
         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: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
public void setTags(Map<String,String> 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: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
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: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
public CreateGeofenceCollectionRequest withTags(Map<String,String> 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: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
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: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
public CreateGeofenceCollectionRequest addTagsEntry(String key, String value)
public CreateGeofenceCollectionRequest clearTagsEntries()
public void setKmsKeyId(String kmsKeyId)
A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
kmsKeyId - A key identifier for an Amazon Web Services KMS
        customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.public String getKmsKeyId()
A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
public CreateGeofenceCollectionRequest withKmsKeyId(String kmsKeyId)
A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
kmsKeyId - A key identifier for an Amazon Web Services KMS
        customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.public String toString()
toString in class ObjectObject.toString()public CreateGeofenceCollectionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()