@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSlotMigration() == null) ? 0 : getSlotMigration().hashCode()); return hashCode; }
/** * Constructs a new DeleteCacheClusterRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param cacheClusterId * The cluster identifier for the cluster to be deleted. This parameter is not case sensitive. */ public DeleteCacheClusterRequest(String cacheClusterId) { setCacheClusterId(cacheClusterId); }
/** * Constructs a new ModifyCacheClusterRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param cacheClusterId * The cluster identifier. This value is stored as a lowercase string. */ public ModifyCacheClusterRequest(String cacheClusterId) { setCacheClusterId(cacheClusterId); }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCacheClusterId() == null) ? 0 : getCacheClusterId().hashCode()); hashCode = prime * hashCode + ((getCacheNodeId() == null) ? 0 : getCacheNodeId().hashCode()); hashCode = prime * hashCode + ((getReadEndpoint() == null) ? 0 : getReadEndpoint().hashCode()); hashCode = prime * hashCode + ((getPreferredAvailabilityZone() == null) ? 0 : getPreferredAvailabilityZone().hashCode()); hashCode = prime * hashCode + ((getCurrentRole() == null) ? 0 : getCurrentRole().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPrimaryClusterId() == null) ? 0 : getPrimaryClusterId().hashCode()); hashCode = prime * hashCode + ((getAutomaticFailoverStatus() == null) ? 0 : getAutomaticFailoverStatus().hashCode()); hashCode = prime * hashCode + ((getResharding() == null) ? 0 : getResharding().hashCode()); return hashCode; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSubnetIdentifier() == null) ? 0 : getSubnetIdentifier().hashCode()); hashCode = prime * hashCode + ((getSubnetAvailabilityZone() == null) ? 0 : getSubnetAvailabilityZone().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ReshardingStatus == false) return false; ReshardingStatus other = (ReshardingStatus) obj; if (other.getSlotMigration() == null ^ this.getSlotMigration() == null) return false; if (other.getSlotMigration() != null && other.getSlotMigration().equals(this.getSlotMigration()) == false) return false; return true; }
/** * Constructs a new DescribeCacheParametersRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param cacheParameterGroupName * The name of a specific cache parameter group to return details for. */ public DescribeCacheParametersRequest(String cacheParameterGroupName) { setCacheParameterGroupName(cacheParameterGroupName); }
/** * Constructs a new ParameterNameValue object. Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param parameterName * The name of the parameter. */ public ParameterNameValue(String parameterName) { setParameterName(parameterName); }
/** * Constructs a new DescribeCacheSecurityGroupsRequest object. Callers should use the setter or fluent setter * (with...) methods to initialize any additional object members. * * @param cacheSecurityGroupName * The name of the cache security group to return details for. */ public DescribeCacheSecurityGroupsRequest(String cacheSecurityGroupName) { setCacheSecurityGroupName(cacheSecurityGroupName); }
/** * Constructs a new DescribeCacheParameterGroupsRequest object. Callers should use the setter or fluent setter * (with...) methods to initialize any additional object members. * * @param cacheParameterGroupName * The name of a specific cache parameter group to return details for. */ public DescribeCacheParameterGroupsRequest(String cacheParameterGroupName) { setCacheParameterGroupName(cacheParameterGroupName); }
/** * <p> * The event source to retrieve events for. If no value is specified, all events are returned. * </p> * * @param sourceType * The event source to retrieve events for. If no value is specified, all events are returned. * @see SourceType */ public void setSourceType(SourceType sourceType) { withSourceType(sourceType); }
/** * <p> * Specifies the origin of this event - a cluster, a parameter group, a security group, etc. * </p> * * @param sourceType * Specifies the origin of this event - a cluster, a parameter group, a security group, etc. * @see SourceType */ public void setSourceType(SourceType sourceType) { withSourceType(sourceType); }
/** * @param pendingModifiedValues * @return Returns a reference to this object so that method calls can be chained together. */ public CacheCluster withPendingModifiedValues(PendingModifiedValues pendingModifiedValues) { setPendingModifiedValues(pendingModifiedValues); return this; }
/** * <p> * The earliest cache engine version to which the parameter can apply. * </p> * * @param minimumEngineVersion * The earliest cache engine version to which the parameter can apply. * @return Returns a reference to this object so that method calls can be chained together. */ public CacheNodeTypeSpecificParameter withMinimumEngineVersion(String minimumEngineVersion) { setMinimumEngineVersion(minimumEngineVersion); return this; }
/** * <p> * The hostname for connecting to this cache node. * </p> * * @param endpoint * The hostname for connecting to this cache node. * @return Returns a reference to this object so that method calls can be chained together. */ public CacheNode withEndpoint(Endpoint endpoint) { setEndpoint(endpoint); return this; }
/** * <p> * The Availability Zone where this node was created and now resides. * </p> * * @param customerAvailabilityZone * The Availability Zone where this node was created and now resides. * @return Returns a reference to this object so that method calls can be chained together. */ public CacheNode withCustomerAvailabilityZone(String customerAvailabilityZone) { setCustomerAvailabilityZone(customerAvailabilityZone); return this; }
/** * <p> * The URL of the web page where you can download the latest ElastiCache client library. * </p> * * @param clientDownloadLandingPage * The URL of the web page where you can download the latest ElastiCache client library. * @return Returns a reference to this object so that method calls can be chained together. */ public CacheCluster withClientDownloadLandingPage(String clientDownloadLandingPage) { setClientDownloadLandingPage(clientDownloadLandingPage); return this; }
/** * <p> * This parameter is currently disabled. * </p> * * @param autoMinorVersionUpgrade * This parameter is currently disabled. * @return Returns a reference to this object so that method calls can be chained together. */ public CacheCluster withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) { setAutoMinorVersionUpgrade(autoMinorVersionUpgrade); return this; }
/** * <p> * The name of the cache engine. * </p> * * @param engine * The name of the cache engine. * @return Returns a reference to this object so that method calls can be chained together. */ public CacheEngineVersion withEngine(String engine) { setEngine(engine); return this; }