本文整理了Java中com.amazonaws.services.ec2.model.Instance.getAmiLaunchIndex()
方法的一些代码示例,展示了Instance.getAmiLaunchIndex()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Instance.getAmiLaunchIndex()
方法的具体详情如下:
包路径:com.amazonaws.services.ec2.model.Instance
类名称:Instance
方法名:getAmiLaunchIndex
[英]The AMI launch index, which can be used to find this instance in the launch group.
[中]AMI启动索引,可用于在启动组中查找此实例。
代码示例来源:origin: aws/aws-sdk-java
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getAmiLaunchIndex() != null)
sb.append("AmiLaunchIndex: ").append(getAmiLaunchIndex()).append(",");
if (getImageId() != null)
sb.append("ImageId: ").append(getImageId()).append(",");
代码示例来源:origin: aws/aws-sdk-java
int hashCode = 1;
hashCode = prime * hashCode + ((getAmiLaunchIndex() == null) ? 0 : getAmiLaunchIndex().hashCode());
hashCode = prime * hashCode + ((getImageId() == null) ? 0 : getImageId().hashCode());
hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode());
代码示例来源:origin: aws/aws-sdk-java
return false;
Instance other = (Instance) obj;
if (other.getAmiLaunchIndex() == null ^ this.getAmiLaunchIndex() == null)
return false;
if (other.getAmiLaunchIndex() != null && other.getAmiLaunchIndex().equals(this.getAmiLaunchIndex()) == false)
return false;
if (other.getImageId() == null ^ this.getImageId() == null)
代码示例来源:origin: aws-amplify/aws-sdk-android
if (getStateTransitionReason() != null) sb.append("StateTransitionReason: " + getStateTransitionReason() + ",");
if (getKeyName() != null) sb.append("KeyName: " + getKeyName() + ",");
if (getAmiLaunchIndex() != null) sb.append("AmiLaunchIndex: " + getAmiLaunchIndex() + ",");
if (getProductCodes() != null) sb.append("ProductCodes: " + getProductCodes() + ",");
if (getInstanceType() != null) sb.append("InstanceType: " + getInstanceType() + ",");
代码示例来源:origin: aws-amplify/aws-sdk-android
hashCode = prime * hashCode + ((getStateTransitionReason() == null) ? 0 : getStateTransitionReason().hashCode());
hashCode = prime * hashCode + ((getKeyName() == null) ? 0 : getKeyName().hashCode());
hashCode = prime * hashCode + ((getAmiLaunchIndex() == null) ? 0 : getAmiLaunchIndex().hashCode());
hashCode = prime * hashCode + ((getProductCodes() == null) ? 0 : getProductCodes().hashCode());
hashCode = prime * hashCode + ((getInstanceType() == null) ? 0 : getInstanceType().hashCode());
代码示例来源:origin: aws-amplify/aws-sdk-android
if (other.getKeyName() == null ^ this.getKeyName() == null) return false;
if (other.getKeyName() != null && other.getKeyName().equals(this.getKeyName()) == false) return false;
if (other.getAmiLaunchIndex() == null ^ this.getAmiLaunchIndex() == null) return false;
if (other.getAmiLaunchIndex() != null && other.getAmiLaunchIndex().equals(this.getAmiLaunchIndex()) == false) return false;
if (other.getProductCodes() == null ^ this.getProductCodes() == null) return false;
if (other.getProductCodes() != null && other.getProductCodes().equals(this.getProductCodes()) == false) return false;
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getAmiLaunchIndex() != null)
sb.append("AmiLaunchIndex: ").append(getAmiLaunchIndex()).append(",");
if (getImageId() != null)
sb.append("ImageId: ").append(getImageId()).append(",");
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
int hashCode = 1;
hashCode = prime * hashCode + ((getAmiLaunchIndex() == null) ? 0 : getAmiLaunchIndex().hashCode());
hashCode = prime * hashCode + ((getImageId() == null) ? 0 : getImageId().hashCode());
hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode());
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
return false;
Instance other = (Instance) obj;
if (other.getAmiLaunchIndex() == null ^ this.getAmiLaunchIndex() == null)
return false;
if (other.getAmiLaunchIndex() != null && other.getAmiLaunchIndex().equals(this.getAmiLaunchIndex()) == false)
return false;
if (other.getImageId() == null ^ this.getImageId() == null)
内容来源于网络,如有侵权,请联系作者删除!