* The unique identifier of the slot that was updated. *
*/ private String slotId; /** ** The updated name of the slot. *
*/ private String slotName; /** ** The updated description of the bot. *
*/ private String description; /** ** The updated identifier of the slot type that provides values for the slot. *
*/ private String slotTypeId; /** ** The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot. *
*/ private SlotValueElicitationSetting valueElicitationSetting; /** ** The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs. *
*/ private ObfuscationSetting obfuscationSetting; /** ** The identifier of the bot that contains the slot. *
*/ private String botId; /** *
* The version of the bot that contains the slot. Will always be DRAFT
.
*
* The locale that contains the slot. *
*/ private String localeId; /** ** The intent that contains the slot. *
*/ private String intentId; /** ** The timestamp of the date and time that the slot was created. *
*/ private java.util.Date creationDateTime; /** ** The timestamp of the date and time that the slot was last updated. *
*/ private java.util.Date lastUpdatedDateTime; /** ** Indicates whether the slot accepts multiple values in one response. *
*/ private MultipleValuesSetting multipleValuesSetting; /** ** Specifications for the constituent sub slots and the expression for the composite slot. *
*/ private SubSlotSetting subSlotSetting; /** ** The unique identifier of the slot that was updated. *
* * @param slotId * The unique identifier of the slot that was updated. */ public void setSlotId(String slotId) { this.slotId = slotId; } /** ** The unique identifier of the slot that was updated. *
* * @return The unique identifier of the slot that was updated. */ public String getSlotId() { return this.slotId; } /** ** The unique identifier of the slot that was updated. *
* * @param slotId * The unique identifier of the slot that was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withSlotId(String slotId) { setSlotId(slotId); return this; } /** ** The updated name of the slot. *
* * @param slotName * The updated name of the slot. */ public void setSlotName(String slotName) { this.slotName = slotName; } /** ** The updated name of the slot. *
* * @return The updated name of the slot. */ public String getSlotName() { return this.slotName; } /** ** The updated name of the slot. *
* * @param slotName * The updated name of the slot. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withSlotName(String slotName) { setSlotName(slotName); return this; } /** ** The updated description of the bot. *
* * @param description * The updated description of the bot. */ public void setDescription(String description) { this.description = description; } /** ** The updated description of the bot. *
* * @return The updated description of the bot. */ public String getDescription() { return this.description; } /** ** The updated description of the bot. *
* * @param description * The updated description of the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withDescription(String description) { setDescription(description); return this; } /** ** The updated identifier of the slot type that provides values for the slot. *
* * @param slotTypeId * The updated identifier of the slot type that provides values for the slot. */ public void setSlotTypeId(String slotTypeId) { this.slotTypeId = slotTypeId; } /** ** The updated identifier of the slot type that provides values for the slot. *
* * @return The updated identifier of the slot type that provides values for the slot. */ public String getSlotTypeId() { return this.slotTypeId; } /** ** The updated identifier of the slot type that provides values for the slot. *
* * @param slotTypeId * The updated identifier of the slot type that provides values for the slot. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withSlotTypeId(String slotTypeId) { setSlotTypeId(slotTypeId); return this; } /** ** The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot. *
* * @param valueElicitationSetting * The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the * slot. */ public void setValueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting) { this.valueElicitationSetting = valueElicitationSetting; } /** ** The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot. *
* * @return The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the * slot. */ public SlotValueElicitationSetting getValueElicitationSetting() { return this.valueElicitationSetting; } /** ** The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the slot. *
* * @param valueElicitationSetting * The updated prompts that Amazon Lex sends to the user to elicit a response that provides a value for the * slot. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withValueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting) { setValueElicitationSetting(valueElicitationSetting); return this; } /** ** The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs. *
* * @param obfuscationSetting * The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs. */ public void setObfuscationSetting(ObfuscationSetting obfuscationSetting) { this.obfuscationSetting = obfuscationSetting; } /** ** The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs. *
* * @return The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs. */ public ObfuscationSetting getObfuscationSetting() { return this.obfuscationSetting; } /** ** The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs. *
* * @param obfuscationSetting * The updated setting that determines whether the slot value is obfuscated in the Amazon CloudWatch logs. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withObfuscationSetting(ObfuscationSetting obfuscationSetting) { setObfuscationSetting(obfuscationSetting); return this; } /** ** The identifier of the bot that contains the slot. *
* * @param botId * The identifier of the bot that contains the slot. */ public void setBotId(String botId) { this.botId = botId; } /** ** The identifier of the bot that contains the slot. *
* * @return The identifier of the bot that contains the slot. */ public String getBotId() { return this.botId; } /** ** The identifier of the bot that contains the slot. *
* * @param botId * The identifier of the bot that contains the slot. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withBotId(String botId) { setBotId(botId); return this; } /** *
* The version of the bot that contains the slot. Will always be DRAFT
.
*
DRAFT
.
*/
public void setBotVersion(String botVersion) {
this.botVersion = botVersion;
}
/**
*
* The version of the bot that contains the slot. Will always be DRAFT
.
*
DRAFT
.
*/
public String getBotVersion() {
return this.botVersion;
}
/**
*
* The version of the bot that contains the slot. Will always be DRAFT
.
*
DRAFT
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateSlotResult withBotVersion(String botVersion) {
setBotVersion(botVersion);
return this;
}
/**
* * The locale that contains the slot. *
* * @param localeId * The locale that contains the slot. */ public void setLocaleId(String localeId) { this.localeId = localeId; } /** ** The locale that contains the slot. *
* * @return The locale that contains the slot. */ public String getLocaleId() { return this.localeId; } /** ** The locale that contains the slot. *
* * @param localeId * The locale that contains the slot. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withLocaleId(String localeId) { setLocaleId(localeId); return this; } /** ** The intent that contains the slot. *
* * @param intentId * The intent that contains the slot. */ public void setIntentId(String intentId) { this.intentId = intentId; } /** ** The intent that contains the slot. *
* * @return The intent that contains the slot. */ public String getIntentId() { return this.intentId; } /** ** The intent that contains the slot. *
* * @param intentId * The intent that contains the slot. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withIntentId(String intentId) { setIntentId(intentId); return this; } /** ** The timestamp of the date and time that the slot was created. *
* * @param creationDateTime * The timestamp of the date and time that the slot was created. */ public void setCreationDateTime(java.util.Date creationDateTime) { this.creationDateTime = creationDateTime; } /** ** The timestamp of the date and time that the slot was created. *
* * @return The timestamp of the date and time that the slot was created. */ public java.util.Date getCreationDateTime() { return this.creationDateTime; } /** ** The timestamp of the date and time that the slot was created. *
* * @param creationDateTime * The timestamp of the date and time that the slot was created. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withCreationDateTime(java.util.Date creationDateTime) { setCreationDateTime(creationDateTime); return this; } /** ** The timestamp of the date and time that the slot was last updated. *
* * @param lastUpdatedDateTime * The timestamp of the date and time that the slot was last updated. */ public void setLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { this.lastUpdatedDateTime = lastUpdatedDateTime; } /** ** The timestamp of the date and time that the slot was last updated. *
* * @return The timestamp of the date and time that the slot was last updated. */ public java.util.Date getLastUpdatedDateTime() { return this.lastUpdatedDateTime; } /** ** The timestamp of the date and time that the slot was last updated. *
* * @param lastUpdatedDateTime * The timestamp of the date and time that the slot was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { setLastUpdatedDateTime(lastUpdatedDateTime); return this; } /** ** Indicates whether the slot accepts multiple values in one response. *
* * @param multipleValuesSetting * Indicates whether the slot accepts multiple values in one response. */ public void setMultipleValuesSetting(MultipleValuesSetting multipleValuesSetting) { this.multipleValuesSetting = multipleValuesSetting; } /** ** Indicates whether the slot accepts multiple values in one response. *
* * @return Indicates whether the slot accepts multiple values in one response. */ public MultipleValuesSetting getMultipleValuesSetting() { return this.multipleValuesSetting; } /** ** Indicates whether the slot accepts multiple values in one response. *
* * @param multipleValuesSetting * Indicates whether the slot accepts multiple values in one response. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withMultipleValuesSetting(MultipleValuesSetting multipleValuesSetting) { setMultipleValuesSetting(multipleValuesSetting); return this; } /** ** Specifications for the constituent sub slots and the expression for the composite slot. *
* * @param subSlotSetting * Specifications for the constituent sub slots and the expression for the composite slot. */ public void setSubSlotSetting(SubSlotSetting subSlotSetting) { this.subSlotSetting = subSlotSetting; } /** ** Specifications for the constituent sub slots and the expression for the composite slot. *
* * @return Specifications for the constituent sub slots and the expression for the composite slot. */ public SubSlotSetting getSubSlotSetting() { return this.subSlotSetting; } /** ** Specifications for the constituent sub slots and the expression for the composite slot. *
* * @param subSlotSetting * Specifications for the constituent sub slots and the expression for the composite slot. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateSlotResult withSubSlotSetting(SubSlotSetting subSlotSetting) { setSubSlotSetting(subSlotSetting); 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 (getSlotId() != null) sb.append("SlotId: ").append(getSlotId()).append(","); if (getSlotName() != null) sb.append("SlotName: ").append(getSlotName()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getSlotTypeId() != null) sb.append("SlotTypeId: ").append(getSlotTypeId()).append(","); if (getValueElicitationSetting() != null) sb.append("ValueElicitationSetting: ").append(getValueElicitationSetting()).append(","); if (getObfuscationSetting() != null) sb.append("ObfuscationSetting: ").append(getObfuscationSetting()).append(","); if (getBotId() != null) sb.append("BotId: ").append(getBotId()).append(","); if (getBotVersion() != null) sb.append("BotVersion: ").append(getBotVersion()).append(","); if (getLocaleId() != null) sb.append("LocaleId: ").append(getLocaleId()).append(","); if (getIntentId() != null) sb.append("IntentId: ").append(getIntentId()).append(","); if (getCreationDateTime() != null) sb.append("CreationDateTime: ").append(getCreationDateTime()).append(","); if (getLastUpdatedDateTime() != null) sb.append("LastUpdatedDateTime: ").append(getLastUpdatedDateTime()).append(","); if (getMultipleValuesSetting() != null) sb.append("MultipleValuesSetting: ").append(getMultipleValuesSetting()).append(","); if (getSubSlotSetting() != null) sb.append("SubSlotSetting: ").append(getSubSlotSetting()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateSlotResult == false) return false; UpdateSlotResult other = (UpdateSlotResult) obj; if (other.getSlotId() == null ^ this.getSlotId() == null) return false; if (other.getSlotId() != null && other.getSlotId().equals(this.getSlotId()) == false) return false; if (other.getSlotName() == null ^ this.getSlotName() == null) return false; if (other.getSlotName() != null && other.getSlotName().equals(this.getSlotName()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getSlotTypeId() == null ^ this.getSlotTypeId() == null) return false; if (other.getSlotTypeId() != null && other.getSlotTypeId().equals(this.getSlotTypeId()) == false) return false; if (other.getValueElicitationSetting() == null ^ this.getValueElicitationSetting() == null) return false; if (other.getValueElicitationSetting() != null && other.getValueElicitationSetting().equals(this.getValueElicitationSetting()) == false) return false; if (other.getObfuscationSetting() == null ^ this.getObfuscationSetting() == null) return false; if (other.getObfuscationSetting() != null && other.getObfuscationSetting().equals(this.getObfuscationSetting()) == false) return false; if (other.getBotId() == null ^ this.getBotId() == null) return false; if (other.getBotId() != null && other.getBotId().equals(this.getBotId()) == false) return false; if (other.getBotVersion() == null ^ this.getBotVersion() == null) return false; if (other.getBotVersion() != null && other.getBotVersion().equals(this.getBotVersion()) == false) return false; if (other.getLocaleId() == null ^ this.getLocaleId() == null) return false; if (other.getLocaleId() != null && other.getLocaleId().equals(this.getLocaleId()) == false) return false; if (other.getIntentId() == null ^ this.getIntentId() == null) return false; if (other.getIntentId() != null && other.getIntentId().equals(this.getIntentId()) == false) return false; if (other.getCreationDateTime() == null ^ this.getCreationDateTime() == null) return false; if (other.getCreationDateTime() != null && other.getCreationDateTime().equals(this.getCreationDateTime()) == false) return false; if (other.getLastUpdatedDateTime() == null ^ this.getLastUpdatedDateTime() == null) return false; if (other.getLastUpdatedDateTime() != null && other.getLastUpdatedDateTime().equals(this.getLastUpdatedDateTime()) == false) return false; if (other.getMultipleValuesSetting() == null ^ this.getMultipleValuesSetting() == null) return false; if (other.getMultipleValuesSetting() != null && other.getMultipleValuesSetting().equals(this.getMultipleValuesSetting()) == false) return false; if (other.getSubSlotSetting() == null ^ this.getSubSlotSetting() == null) return false; if (other.getSubSlotSetting() != null && other.getSubSlotSetting().equals(this.getSubSlotSetting()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSlotId() == null) ? 0 : getSlotId().hashCode()); hashCode = prime * hashCode + ((getSlotName() == null) ? 0 : getSlotName().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getSlotTypeId() == null) ? 0 : getSlotTypeId().hashCode()); hashCode = prime * hashCode + ((getValueElicitationSetting() == null) ? 0 : getValueElicitationSetting().hashCode()); hashCode = prime * hashCode + ((getObfuscationSetting() == null) ? 0 : getObfuscationSetting().hashCode()); hashCode = prime * hashCode + ((getBotId() == null) ? 0 : getBotId().hashCode()); hashCode = prime * hashCode + ((getBotVersion() == null) ? 0 : getBotVersion().hashCode()); hashCode = prime * hashCode + ((getLocaleId() == null) ? 0 : getLocaleId().hashCode()); hashCode = prime * hashCode + ((getIntentId() == null) ? 0 : getIntentId().hashCode()); hashCode = prime * hashCode + ((getCreationDateTime() == null) ? 0 : getCreationDateTime().hashCode()); hashCode = prime * hashCode + ((getLastUpdatedDateTime() == null) ? 0 : getLastUpdatedDateTime().hashCode()); hashCode = prime * hashCode + ((getMultipleValuesSetting() == null) ? 0 : getMultipleValuesSetting().hashCode()); hashCode = prime * hashCode + ((getSubSlotSetting() == null) ? 0 : getSubSlotSetting().hashCode()); return hashCode; } @Override public UpdateSlotResult clone() { try { return (UpdateSlotResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }