All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.location.model.UpdateGeofenceCollectionResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Location module holds the client classes that are used for communicating with Amazon Location Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.location.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 
 * @see AWS
 *      API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class UpdateGeofenceCollectionResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {

    /**
     * 

* The name of the updated geofence collection. *

*/ private String collectionName; /** *

* The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across Amazon Web * Services. *

*
    *
  • *

    * Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

    *
  • *
*/ private String collectionArn; /** *

* The time when the geofence collection was last updated in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ *

*/ private java.util.Date updateTime; /** *

* The name of the updated geofence collection. *

* * @param collectionName * The name of the updated geofence collection. */ public void setCollectionName(String collectionName) { this.collectionName = collectionName; } /** *

* The name of the updated geofence collection. *

* * @return The name of the updated geofence collection. */ public String getCollectionName() { return this.collectionName; } /** *

* The name of the updated geofence collection. *

* * @param collectionName * The name of the updated geofence collection. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateGeofenceCollectionResult withCollectionName(String collectionName) { setCollectionName(collectionName); return this; } /** *

* The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across Amazon Web * Services. *

*
    *
  • *

    * Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

    *
  • *
* * @param collectionArn * The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across * Amazon Web Services.

*
    *
  • *

    * Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

    *
  • */ public void setCollectionArn(String collectionArn) { this.collectionArn = collectionArn; } /** *

    * The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across Amazon Web * Services. *

    *
      *
    • *

      * Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

      *
    • *
    * * @return The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across * Amazon Web Services.

    *
      *
    • *

      * Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

      *
    • */ public String getCollectionArn() { return this.collectionArn; } /** *

      * The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across Amazon Web * Services. *

      *
        *
      • *

        * Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

        *
      • *
      * * @param collectionArn * The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across * Amazon Web Services.

      *
        *
      • *

        * Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateGeofenceCollectionResult withCollectionArn(String collectionArn) { setCollectionArn(collectionArn); return this; } /** *

        * The time when the geofence collection was last updated in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ *

        * * @param updateTime * The time when the geofence collection was last updated in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ */ public void setUpdateTime(java.util.Date updateTime) { this.updateTime = updateTime; } /** *

        * The time when the geofence collection was last updated in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ *

        * * @return The time when the geofence collection was last updated in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ */ public java.util.Date getUpdateTime() { return this.updateTime; } /** *

        * The time when the geofence collection was last updated in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ *

        * * @param updateTime * The time when the geofence collection was last updated in ISO 8601 format: * YYYY-MM-DDThh:mm:ss.sssZ * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateGeofenceCollectionResult withUpdateTime(java.util.Date updateTime) { setUpdateTime(updateTime); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getCollectionName() != null) sb.append("CollectionName: ").append(getCollectionName()).append(","); if (getCollectionArn() != null) sb.append("CollectionArn: ").append(getCollectionArn()).append(","); if (getUpdateTime() != null) sb.append("UpdateTime: ").append(getUpdateTime()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateGeofenceCollectionResult == false) return false; UpdateGeofenceCollectionResult other = (UpdateGeofenceCollectionResult) obj; if (other.getCollectionName() == null ^ this.getCollectionName() == null) return false; if (other.getCollectionName() != null && other.getCollectionName().equals(this.getCollectionName()) == false) return false; if (other.getCollectionArn() == null ^ this.getCollectionArn() == null) return false; if (other.getCollectionArn() != null && other.getCollectionArn().equals(this.getCollectionArn()) == false) return false; if (other.getUpdateTime() == null ^ this.getUpdateTime() == null) return false; if (other.getUpdateTime() != null && other.getUpdateTime().equals(this.getUpdateTime()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCollectionName() == null) ? 0 : getCollectionName().hashCode()); hashCode = prime * hashCode + ((getCollectionArn() == null) ? 0 : getCollectionArn().hashCode()); hashCode = prime * hashCode + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); return hashCode; } @Override public UpdateGeofenceCollectionResult clone() { try { return (UpdateGeofenceCollectionResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy