本文整理了Java中com.amazonaws.services.ec2.model.Instance.getVirtualizationType()
方法的一些代码示例,展示了Instance.getVirtualizationType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Instance.getVirtualizationType()
方法的具体详情如下:
包路径:com.amazonaws.services.ec2.model.Instance
类名称:Instance
方法名:getVirtualizationType
[英]The virtualization type of the instance.
[中]实例的虚拟化类型。
代码示例来源:origin: aws/aws-sdk-java
if (getTags() != null)
sb.append("Tags: ").append(getTags()).append(",");
if (getVirtualizationType() != null)
sb.append("VirtualizationType: ").append(getVirtualizationType()).append(",");
if (getCpuOptions() != null)
sb.append("CpuOptions: ").append(getCpuOptions()).append(",");
代码示例来源:origin: aws/aws-sdk-java
hashCode = prime * hashCode + ((getStateReason() == null) ? 0 : getStateReason().hashCode());
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
hashCode = prime * hashCode + ((getVirtualizationType() == null) ? 0 : getVirtualizationType().hashCode());
hashCode = prime * hashCode + ((getCpuOptions() == null) ? 0 : getCpuOptions().hashCode());
hashCode = prime * hashCode + ((getCapacityReservationId() == null) ? 0 : getCapacityReservationId().hashCode());
代码示例来源:origin: aws/aws-sdk-java
if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
return false;
if (other.getVirtualizationType() == null ^ this.getVirtualizationType() == null)
return false;
if (other.getVirtualizationType() != null && other.getVirtualizationType().equals(this.getVirtualizationType()) == false)
return false;
if (other.getCpuOptions() == null ^ this.getCpuOptions() == null)
代码示例来源:origin: aws-amplify/aws-sdk-android
if (getRootDeviceName() != null) sb.append("RootDeviceName: " + getRootDeviceName() + ",");
if (getBlockDeviceMappings() != null) sb.append("BlockDeviceMappings: " + getBlockDeviceMappings() + ",");
if (getVirtualizationType() != null) sb.append("VirtualizationType: " + getVirtualizationType() + ",");
if (getInstanceLifecycle() != null) sb.append("InstanceLifecycle: " + getInstanceLifecycle() + ",");
if (getSpotInstanceRequestId() != null) sb.append("SpotInstanceRequestId: " + getSpotInstanceRequestId() + ",");
代码示例来源:origin: aws-amplify/aws-sdk-android
hashCode = prime * hashCode + ((getRootDeviceName() == null) ? 0 : getRootDeviceName().hashCode());
hashCode = prime * hashCode + ((getBlockDeviceMappings() == null) ? 0 : getBlockDeviceMappings().hashCode());
hashCode = prime * hashCode + ((getVirtualizationType() == null) ? 0 : getVirtualizationType().hashCode());
hashCode = prime * hashCode + ((getInstanceLifecycle() == null) ? 0 : getInstanceLifecycle().hashCode());
hashCode = prime * hashCode + ((getSpotInstanceRequestId() == null) ? 0 : getSpotInstanceRequestId().hashCode());
代码示例来源:origin: aws-amplify/aws-sdk-android
if (other.getBlockDeviceMappings() == null ^ this.getBlockDeviceMappings() == null) return false;
if (other.getBlockDeviceMappings() != null && other.getBlockDeviceMappings().equals(this.getBlockDeviceMappings()) == false) return false;
if (other.getVirtualizationType() == null ^ this.getVirtualizationType() == null) return false;
if (other.getVirtualizationType() != null && other.getVirtualizationType().equals(this.getVirtualizationType()) == false) return false;
if (other.getInstanceLifecycle() == null ^ this.getInstanceLifecycle() == null) return false;
if (other.getInstanceLifecycle() != null && other.getInstanceLifecycle().equals(this.getInstanceLifecycle()) == false) return false;
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
if (getTags() != null)
sb.append("Tags: ").append(getTags()).append(",");
if (getVirtualizationType() != null)
sb.append("VirtualizationType: ").append(getVirtualizationType()).append(",");
if (getCpuOptions() != null)
sb.append("CpuOptions: ").append(getCpuOptions()).append(",");
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
hashCode = prime * hashCode + ((getStateReason() == null) ? 0 : getStateReason().hashCode());
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
hashCode = prime * hashCode + ((getVirtualizationType() == null) ? 0 : getVirtualizationType().hashCode());
hashCode = prime * hashCode + ((getCpuOptions() == null) ? 0 : getCpuOptions().hashCode());
hashCode = prime * hashCode + ((getCapacityReservationId() == null) ? 0 : getCapacityReservationId().hashCode());
代码示例来源:origin: org.apache.airavata/airavata-xbaya-gui
/**
* @see org.apache.airavata.xbaya.ui.widgets.TableRenderable#getValue(int)
*/
@Override
public Object getValue(int index) {
switch (index) {
case 0:
return this.instance.getInstanceId();
case 1:
return this.instance.getImageId();
case 2:
return this.instance.getRootDeviceType();
case 3:
return this.instance.getInstanceType();
case 4:
return this.instance.getState().getName();
case 5:
return this.instance.getKeyName();
case 6:
return this.instance.getMonitoring().getState();
case 7:
return this.instance.getVirtualizationType();
case 8:
return this.instance.getPlacement().getGroupName();
default:
return null;
}
}
代码示例来源:origin: airbnb/billow
this.stateTransitionReason = instance.getStateTransitionReason();
this.spotInstanceRequest = instance.getSpotInstanceRequestId();
this.virtualizationType = instance.getVirtualizationType();
this.sourceDestCheck = instance.getSourceDestCheck();
this.launchTime = new DateTime(instance.getLaunchTime());
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
return false;
if (other.getVirtualizationType() == null ^ this.getVirtualizationType() == null)
return false;
if (other.getVirtualizationType() != null && other.getVirtualizationType().equals(this.getVirtualizationType()) == false)
return false;
if (other.getCpuOptions() == null ^ this.getCpuOptions() == null)
内容来源于网络,如有侵权,请联系作者删除!