本文整理了Java中com.amazonaws.services.cloudformation.model.Output.getDescription()
方法的一些代码示例,展示了Output.getDescription()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Output.getDescription()
方法的具体详情如下:
包路径:com.amazonaws.services.cloudformation.model.Output
类名称:Output
方法名:getDescription
[英]User defined description associated with the output.
[中]与输出关联的用户定义描述。
代码示例来源:origin: aws/aws-sdk-java
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getOutputKey() == null) ? 0 : getOutputKey().hashCode());
hashCode = prime * hashCode + ((getOutputValue() == null) ? 0 : getOutputValue().hashCode());
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getExportName() == null) ? 0 : getExportName().hashCode());
return hashCode;
}
代码示例来源:origin: aws/aws-sdk-java
/**
* 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 (getOutputKey() != null)
sb.append("OutputKey: ").append(getOutputKey()).append(",");
if (getOutputValue() != null)
sb.append("OutputValue: ").append(getOutputValue()).append(",");
if (getDescription() != null)
sb.append("Description: ").append(getDescription()).append(",");
if (getExportName() != null)
sb.append("ExportName: ").append(getExportName());
sb.append("}");
return sb.toString();
}
代码示例来源:origin: aws/aws-sdk-java
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof Output == false)
return false;
Output other = (Output) obj;
if (other.getOutputKey() == null ^ this.getOutputKey() == null)
return false;
if (other.getOutputKey() != null && other.getOutputKey().equals(this.getOutputKey()) == false)
return false;
if (other.getOutputValue() == null ^ this.getOutputValue() == null)
return false;
if (other.getOutputValue() != null && other.getOutputValue().equals(this.getOutputValue()) == 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.getExportName() == null ^ this.getExportName() == null)
return false;
if (other.getExportName() != null && other.getExportName().equals(this.getExportName()) == false)
return false;
return true;
}
代码示例来源:origin: com.amazonaws/aws-java-sdk-cloudformation
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getOutputKey() == null) ? 0 : getOutputKey().hashCode());
hashCode = prime * hashCode + ((getOutputValue() == null) ? 0 : getOutputValue().hashCode());
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getExportName() == null) ? 0 : getExportName().hashCode());
return hashCode;
}
代码示例来源:origin: com.amazonaws/aws-java-sdk-cloudformation
/**
* 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 (getOutputKey() != null)
sb.append("OutputKey: ").append(getOutputKey()).append(",");
if (getOutputValue() != null)
sb.append("OutputValue: ").append(getOutputValue()).append(",");
if (getDescription() != null)
sb.append("Description: ").append(getDescription()).append(",");
if (getExportName() != null)
sb.append("ExportName: ").append(getExportName());
sb.append("}");
return sb.toString();
}
代码示例来源:origin: com.amazonaws/aws-java-sdk-cloudformation
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof Output == false)
return false;
Output other = (Output) obj;
if (other.getOutputKey() == null ^ this.getOutputKey() == null)
return false;
if (other.getOutputKey() != null && other.getOutputKey().equals(this.getOutputKey()) == false)
return false;
if (other.getOutputValue() == null ^ this.getOutputValue() == null)
return false;
if (other.getOutputValue() != null && other.getOutputValue().equals(this.getOutputValue()) == 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.getExportName() == null ^ this.getExportName() == null)
return false;
if (other.getExportName() != null && other.getExportName().equals(this.getExportName()) == false)
return false;
return true;
}
代码示例来源:origin: classmethod/gradle-aws-plugin
private void printOutputs(Stack stack) {
getLogger().info("==== Outputs ====");
stack.getOutputs().stream()
.forEach(o -> getLogger().info("{} ({}) = {}", o.getOutputKey(), o.getDescription(), o.getOutputValue()));
}
}
内容来源于网络,如有侵权,请联系作者删除!