* The current runtime update mode of the function. *
*/ private String updateRuntimeOn; /** *
* The ARN of the runtime the function is configured to use. If the runtime update mode is Manual, the ARN is
* returned, otherwise null
is returned.
*
* The Amazon Resource Name (ARN) of your function. *
*/ private String functionArn; /** ** The current runtime update mode of the function. *
* * @param updateRuntimeOn * The current runtime update mode of the function. * @see UpdateRuntimeOn */ public void setUpdateRuntimeOn(String updateRuntimeOn) { this.updateRuntimeOn = updateRuntimeOn; } /** ** The current runtime update mode of the function. *
* * @return The current runtime update mode of the function. * @see UpdateRuntimeOn */ public String getUpdateRuntimeOn() { return this.updateRuntimeOn; } /** ** The current runtime update mode of the function. *
* * @param updateRuntimeOn * The current runtime update mode of the function. * @return Returns a reference to this object so that method calls can be chained together. * @see UpdateRuntimeOn */ public GetRuntimeManagementConfigResult withUpdateRuntimeOn(String updateRuntimeOn) { setUpdateRuntimeOn(updateRuntimeOn); return this; } /** ** The current runtime update mode of the function. *
* * @param updateRuntimeOn * The current runtime update mode of the function. * @return Returns a reference to this object so that method calls can be chained together. * @see UpdateRuntimeOn */ public GetRuntimeManagementConfigResult withUpdateRuntimeOn(UpdateRuntimeOn updateRuntimeOn) { this.updateRuntimeOn = updateRuntimeOn.toString(); return this; } /** *
* The ARN of the runtime the function is configured to use. If the runtime update mode is Manual, the ARN is
* returned, otherwise null
is returned.
*
null
is returned.
*/
public void setRuntimeVersionArn(String runtimeVersionArn) {
this.runtimeVersionArn = runtimeVersionArn;
}
/**
*
* The ARN of the runtime the function is configured to use. If the runtime update mode is Manual, the ARN is
* returned, otherwise null
is returned.
*
null
is returned.
*/
public String getRuntimeVersionArn() {
return this.runtimeVersionArn;
}
/**
*
* The ARN of the runtime the function is configured to use. If the runtime update mode is Manual, the ARN is
* returned, otherwise null
is returned.
*
null
is returned.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetRuntimeManagementConfigResult withRuntimeVersionArn(String runtimeVersionArn) {
setRuntimeVersionArn(runtimeVersionArn);
return this;
}
/**
* * The Amazon Resource Name (ARN) of your function. *
* * @param functionArn * The Amazon Resource Name (ARN) of your function. */ public void setFunctionArn(String functionArn) { this.functionArn = functionArn; } /** ** The Amazon Resource Name (ARN) of your function. *
* * @return The Amazon Resource Name (ARN) of your function. */ public String getFunctionArn() { return this.functionArn; } /** ** The Amazon Resource Name (ARN) of your function. *
* * @param functionArn * The Amazon Resource Name (ARN) of your function. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRuntimeManagementConfigResult withFunctionArn(String functionArn) { setFunctionArn(functionArn); 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 (getUpdateRuntimeOn() != null) sb.append("UpdateRuntimeOn: ").append(getUpdateRuntimeOn()).append(","); if (getRuntimeVersionArn() != null) sb.append("RuntimeVersionArn: ").append(getRuntimeVersionArn()).append(","); if (getFunctionArn() != null) sb.append("FunctionArn: ").append(getFunctionArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetRuntimeManagementConfigResult == false) return false; GetRuntimeManagementConfigResult other = (GetRuntimeManagementConfigResult) obj; if (other.getUpdateRuntimeOn() == null ^ this.getUpdateRuntimeOn() == null) return false; if (other.getUpdateRuntimeOn() != null && other.getUpdateRuntimeOn().equals(this.getUpdateRuntimeOn()) == false) return false; if (other.getRuntimeVersionArn() == null ^ this.getRuntimeVersionArn() == null) return false; if (other.getRuntimeVersionArn() != null && other.getRuntimeVersionArn().equals(this.getRuntimeVersionArn()) == false) return false; if (other.getFunctionArn() == null ^ this.getFunctionArn() == null) return false; if (other.getFunctionArn() != null && other.getFunctionArn().equals(this.getFunctionArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getUpdateRuntimeOn() == null) ? 0 : getUpdateRuntimeOn().hashCode()); hashCode = prime * hashCode + ((getRuntimeVersionArn() == null) ? 0 : getRuntimeVersionArn().hashCode()); hashCode = prime * hashCode + ((getFunctionArn() == null) ? 0 : getFunctionArn().hashCode()); return hashCode; } @Override public GetRuntimeManagementConfigResult clone() { try { return (GetRuntimeManagementConfigResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }