com.amazonaws.services.lexmodelbuilding.model.GetMigrationResult Maven / Gradle / Ivy
Show all versions of aws-java-sdk-lexmodelbuilding Show documentation
/*
* 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.lexmodelbuilding.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class GetMigrationResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
/**
*
* The unique identifier of the migration. This is the same as the identifier used when calling the
* GetMigration
operation.
*
*/
private String migrationId;
/**
*
* The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*/
private String v1BotName;
/**
*
* The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*/
private String v1BotVersion;
/**
*
* The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*/
private String v1BotLocale;
/**
*
* The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
*
*/
private String v2BotId;
/**
*
* The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
*
*/
private String v2BotRole;
/**
*
* Indicates the status of the migration. When the status is COMPLETE
the migration is finished and the
* bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the
* migration.
*
*/
private String migrationStatus;
/**
*
* The strategy used to conduct the migration.
*
*
* -
*
* CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
*
*
* -
*
* UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated.
* It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is
* created in the Amazon Lex V2 bot.
*
*
*
*/
private String migrationStrategy;
/**
*
* The date and time that the migration started.
*
*/
private java.util.Date migrationTimestamp;
/**
*
* A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2.
* You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
*
*
* For more information, see Migrating a bot
* in the Amazon Lex V2 developer guide.
*
*/
private java.util.List alerts;
/**
*
* The unique identifier of the migration. This is the same as the identifier used when calling the
* GetMigration
operation.
*
*
* @param migrationId
* The unique identifier of the migration. This is the same as the identifier used when calling the
* GetMigration
operation.
*/
public void setMigrationId(String migrationId) {
this.migrationId = migrationId;
}
/**
*
* The unique identifier of the migration. This is the same as the identifier used when calling the
* GetMigration
operation.
*
*
* @return The unique identifier of the migration. This is the same as the identifier used when calling the
* GetMigration
operation.
*/
public String getMigrationId() {
return this.migrationId;
}
/**
*
* The unique identifier of the migration. This is the same as the identifier used when calling the
* GetMigration
operation.
*
*
* @param migrationId
* The unique identifier of the migration. This is the same as the identifier used when calling the
* GetMigration
operation.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetMigrationResult withMigrationId(String migrationId) {
setMigrationId(migrationId);
return this;
}
/**
*
* The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @param v1BotName
* The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*/
public void setV1BotName(String v1BotName) {
this.v1BotName = v1BotName;
}
/**
*
* The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @return The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*/
public String getV1BotName() {
return this.v1BotName;
}
/**
*
* The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @param v1BotName
* The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetMigrationResult withV1BotName(String v1BotName) {
setV1BotName(v1BotName);
return this;
}
/**
*
* The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @param v1BotVersion
* The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*/
public void setV1BotVersion(String v1BotVersion) {
this.v1BotVersion = v1BotVersion;
}
/**
*
* The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @return The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*/
public String getV1BotVersion() {
return this.v1BotVersion;
}
/**
*
* The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @param v1BotVersion
* The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetMigrationResult withV1BotVersion(String v1BotVersion) {
setV1BotVersion(v1BotVersion);
return this;
}
/**
*
* The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @param v1BotLocale
* The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
* @see Locale
*/
public void setV1BotLocale(String v1BotLocale) {
this.v1BotLocale = v1BotLocale;
}
/**
*
* The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @return The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
* @see Locale
*/
public String getV1BotLocale() {
return this.v1BotLocale;
}
/**
*
* The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @param v1BotLocale
* The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
* @return Returns a reference to this object so that method calls can be chained together.
* @see Locale
*/
public GetMigrationResult withV1BotLocale(String v1BotLocale) {
setV1BotLocale(v1BotLocale);
return this;
}
/**
*
* The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*
*
* @param v1BotLocale
* The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
* @return Returns a reference to this object so that method calls can be chained together.
* @see Locale
*/
public GetMigrationResult withV1BotLocale(Locale v1BotLocale) {
this.v1BotLocale = v1BotLocale.toString();
return this;
}
/**
*
* The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
*
*
* @param v2BotId
* The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
*/
public void setV2BotId(String v2BotId) {
this.v2BotId = v2BotId;
}
/**
*
* The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
*
*
* @return The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
*/
public String getV2BotId() {
return this.v2BotId;
}
/**
*
* The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
*
*
* @param v2BotId
* The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetMigrationResult withV2BotId(String v2BotId) {
setV2BotId(v2BotId);
return this;
}
/**
*
* The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
*
*
* @param v2BotRole
* The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
*/
public void setV2BotRole(String v2BotRole) {
this.v2BotRole = v2BotRole;
}
/**
*
* The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
*
*
* @return The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
*/
public String getV2BotRole() {
return this.v2BotRole;
}
/**
*
* The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
*
*
* @param v2BotRole
* The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetMigrationResult withV2BotRole(String v2BotRole) {
setV2BotRole(v2BotRole);
return this;
}
/**
*
* Indicates the status of the migration. When the status is COMPLETE
the migration is finished and the
* bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the
* migration.
*
*
* @param migrationStatus
* Indicates the status of the migration. When the status is COMPLETE
the migration is finished
* and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to
* complete the migration.
* @see MigrationStatus
*/
public void setMigrationStatus(String migrationStatus) {
this.migrationStatus = migrationStatus;
}
/**
*
* Indicates the status of the migration. When the status is COMPLETE
the migration is finished and the
* bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the
* migration.
*
*
* @return Indicates the status of the migration. When the status is COMPLETE
the migration is finished
* and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to
* complete the migration.
* @see MigrationStatus
*/
public String getMigrationStatus() {
return this.migrationStatus;
}
/**
*
* Indicates the status of the migration. When the status is COMPLETE
the migration is finished and the
* bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the
* migration.
*
*
* @param migrationStatus
* Indicates the status of the migration. When the status is COMPLETE
the migration is finished
* and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to
* complete the migration.
* @return Returns a reference to this object so that method calls can be chained together.
* @see MigrationStatus
*/
public GetMigrationResult withMigrationStatus(String migrationStatus) {
setMigrationStatus(migrationStatus);
return this;
}
/**
*
* Indicates the status of the migration. When the status is COMPLETE
the migration is finished and the
* bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the
* migration.
*
*
* @param migrationStatus
* Indicates the status of the migration. When the status is COMPLETE
the migration is finished
* and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to
* complete the migration.
* @return Returns a reference to this object so that method calls can be chained together.
* @see MigrationStatus
*/
public GetMigrationResult withMigrationStatus(MigrationStatus migrationStatus) {
this.migrationStatus = migrationStatus.toString();
return this;
}
/**
*
* The strategy used to conduct the migration.
*
*
* -
*
* CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
*
*
* -
*
* UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated.
* It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is
* created in the Amazon Lex V2 bot.
*
*
*
*
* @param migrationStrategy
* The strategy used to conduct the migration.
*
* -
*
* CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new
* bot.
*
*
* -
*
* UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being
* migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new
* locale is created in the Amazon Lex V2 bot.
*
*
* @see MigrationStrategy
*/
public void setMigrationStrategy(String migrationStrategy) {
this.migrationStrategy = migrationStrategy;
}
/**
*
* The strategy used to conduct the migration.
*
*
* -
*
* CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
*
*
* -
*
* UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated.
* It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is
* created in the Amazon Lex V2 bot.
*
*
*
*
* @return The strategy used to conduct the migration.
*
* -
*
* CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new
* bot.
*
*
* -
*
* UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being
* migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a
* new locale is created in the Amazon Lex V2 bot.
*
*
* @see MigrationStrategy
*/
public String getMigrationStrategy() {
return this.migrationStrategy;
}
/**
*
* The strategy used to conduct the migration.
*
*
* -
*
* CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
*
*
* -
*
* UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated.
* It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is
* created in the Amazon Lex V2 bot.
*
*
*
*
* @param migrationStrategy
* The strategy used to conduct the migration.
*
* -
*
* CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new
* bot.
*
*
* -
*
* UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being
* migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new
* locale is created in the Amazon Lex V2 bot.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
* @see MigrationStrategy
*/
public GetMigrationResult withMigrationStrategy(String migrationStrategy) {
setMigrationStrategy(migrationStrategy);
return this;
}
/**
*
* The strategy used to conduct the migration.
*
*
* -
*
* CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot.
*
*
* -
*
* UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated.
* It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is
* created in the Amazon Lex V2 bot.
*
*
*
*
* @param migrationStrategy
* The strategy used to conduct the migration.
*
* -
*
* CREATE_NEW
- Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new
* bot.
*
*
* -
*
* UPDATE_EXISTING
- Overwrites the existing Amazon Lex V2 bot metadata and the locale being
* migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new
* locale is created in the Amazon Lex V2 bot.
*
*
* @return Returns a reference to this object so that method calls can be chained together.
* @see MigrationStrategy
*/
public GetMigrationResult withMigrationStrategy(MigrationStrategy migrationStrategy) {
this.migrationStrategy = migrationStrategy.toString();
return this;
}
/**
*
* The date and time that the migration started.
*
*
* @param migrationTimestamp
* The date and time that the migration started.
*/
public void setMigrationTimestamp(java.util.Date migrationTimestamp) {
this.migrationTimestamp = migrationTimestamp;
}
/**
*
* The date and time that the migration started.
*
*
* @return The date and time that the migration started.
*/
public java.util.Date getMigrationTimestamp() {
return this.migrationTimestamp;
}
/**
*
* The date and time that the migration started.
*
*
* @param migrationTimestamp
* The date and time that the migration started.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetMigrationResult withMigrationTimestamp(java.util.Date migrationTimestamp) {
setMigrationTimestamp(migrationTimestamp);
return this;
}
/**
*
* A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2.
* You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
*
*
* For more information, see Migrating a bot
* in the Amazon Lex V2 developer guide.
*
*
* @return A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon
* Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex
* V2.
*
* For more information, see Migrating a
* bot in the Amazon Lex V2 developer guide.
*/
public java.util.List getAlerts() {
return alerts;
}
/**
*
* A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2.
* You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
*
*
* For more information, see Migrating a bot
* in the Amazon Lex V2 developer guide.
*
*
* @param alerts
* A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon
* Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex
* V2.
*
* For more information, see Migrating a
* bot in the Amazon Lex V2 developer guide.
*/
public void setAlerts(java.util.Collection alerts) {
if (alerts == null) {
this.alerts = null;
return;
}
this.alerts = new java.util.ArrayList(alerts);
}
/**
*
* A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2.
* You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
*
*
* For more information, see Migrating a bot
* in the Amazon Lex V2 developer guide.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setAlerts(java.util.Collection)} or {@link #withAlerts(java.util.Collection)} if you want to override the
* existing values.
*
*
* @param alerts
* A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon
* Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex
* V2.
*
* For more information, see Migrating a
* bot in the Amazon Lex V2 developer guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetMigrationResult withAlerts(MigrationAlert... alerts) {
if (this.alerts == null) {
setAlerts(new java.util.ArrayList(alerts.length));
}
for (MigrationAlert ele : alerts) {
this.alerts.add(ele);
}
return this;
}
/**
*
* A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2.
* You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2.
*
*
* For more information, see Migrating a bot
* in the Amazon Lex V2 developer guide.
*
*
* @param alerts
* A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon
* Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex
* V2.
*
* For more information, see Migrating a
* bot in the Amazon Lex V2 developer guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetMigrationResult withAlerts(java.util.Collection alerts) {
setAlerts(alerts);
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 (getMigrationId() != null)
sb.append("MigrationId: ").append(getMigrationId()).append(",");
if (getV1BotName() != null)
sb.append("V1BotName: ").append(getV1BotName()).append(",");
if (getV1BotVersion() != null)
sb.append("V1BotVersion: ").append(getV1BotVersion()).append(",");
if (getV1BotLocale() != null)
sb.append("V1BotLocale: ").append(getV1BotLocale()).append(",");
if (getV2BotId() != null)
sb.append("V2BotId: ").append(getV2BotId()).append(",");
if (getV2BotRole() != null)
sb.append("V2BotRole: ").append(getV2BotRole()).append(",");
if (getMigrationStatus() != null)
sb.append("MigrationStatus: ").append(getMigrationStatus()).append(",");
if (getMigrationStrategy() != null)
sb.append("MigrationStrategy: ").append(getMigrationStrategy()).append(",");
if (getMigrationTimestamp() != null)
sb.append("MigrationTimestamp: ").append(getMigrationTimestamp()).append(",");
if (getAlerts() != null)
sb.append("Alerts: ").append(getAlerts());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof GetMigrationResult == false)
return false;
GetMigrationResult other = (GetMigrationResult) obj;
if (other.getMigrationId() == null ^ this.getMigrationId() == null)
return false;
if (other.getMigrationId() != null && other.getMigrationId().equals(this.getMigrationId()) == false)
return false;
if (other.getV1BotName() == null ^ this.getV1BotName() == null)
return false;
if (other.getV1BotName() != null && other.getV1BotName().equals(this.getV1BotName()) == false)
return false;
if (other.getV1BotVersion() == null ^ this.getV1BotVersion() == null)
return false;
if (other.getV1BotVersion() != null && other.getV1BotVersion().equals(this.getV1BotVersion()) == false)
return false;
if (other.getV1BotLocale() == null ^ this.getV1BotLocale() == null)
return false;
if (other.getV1BotLocale() != null && other.getV1BotLocale().equals(this.getV1BotLocale()) == false)
return false;
if (other.getV2BotId() == null ^ this.getV2BotId() == null)
return false;
if (other.getV2BotId() != null && other.getV2BotId().equals(this.getV2BotId()) == false)
return false;
if (other.getV2BotRole() == null ^ this.getV2BotRole() == null)
return false;
if (other.getV2BotRole() != null && other.getV2BotRole().equals(this.getV2BotRole()) == false)
return false;
if (other.getMigrationStatus() == null ^ this.getMigrationStatus() == null)
return false;
if (other.getMigrationStatus() != null && other.getMigrationStatus().equals(this.getMigrationStatus()) == false)
return false;
if (other.getMigrationStrategy() == null ^ this.getMigrationStrategy() == null)
return false;
if (other.getMigrationStrategy() != null && other.getMigrationStrategy().equals(this.getMigrationStrategy()) == false)
return false;
if (other.getMigrationTimestamp() == null ^ this.getMigrationTimestamp() == null)
return false;
if (other.getMigrationTimestamp() != null && other.getMigrationTimestamp().equals(this.getMigrationTimestamp()) == false)
return false;
if (other.getAlerts() == null ^ this.getAlerts() == null)
return false;
if (other.getAlerts() != null && other.getAlerts().equals(this.getAlerts()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getMigrationId() == null) ? 0 : getMigrationId().hashCode());
hashCode = prime * hashCode + ((getV1BotName() == null) ? 0 : getV1BotName().hashCode());
hashCode = prime * hashCode + ((getV1BotVersion() == null) ? 0 : getV1BotVersion().hashCode());
hashCode = prime * hashCode + ((getV1BotLocale() == null) ? 0 : getV1BotLocale().hashCode());
hashCode = prime * hashCode + ((getV2BotId() == null) ? 0 : getV2BotId().hashCode());
hashCode = prime * hashCode + ((getV2BotRole() == null) ? 0 : getV2BotRole().hashCode());
hashCode = prime * hashCode + ((getMigrationStatus() == null) ? 0 : getMigrationStatus().hashCode());
hashCode = prime * hashCode + ((getMigrationStrategy() == null) ? 0 : getMigrationStrategy().hashCode());
hashCode = prime * hashCode + ((getMigrationTimestamp() == null) ? 0 : getMigrationTimestamp().hashCode());
hashCode = prime * hashCode + ((getAlerts() == null) ? 0 : getAlerts().hashCode());
return hashCode;
}
@Override
public GetMigrationResult clone() {
try {
return (GetMigrationResult) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}