本文整理了Java中com.amazonaws.services.ec2.model.Instance.getSourceDestCheck()
方法的一些代码示例,展示了Instance.getSourceDestCheck()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Instance.getSourceDestCheck()
方法的具体详情如下:
包路径:com.amazonaws.services.ec2.model.Instance
类名称:Instance
方法名:getSourceDestCheck
[英]Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true
means that checking is enabled, and false
means that checking is disabled. The value must be false
for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.
[中]指定是否启用VPC中启动的实例执行NAT。这控制是否在实例上启用源/目标检查。true
表示启用检查,false
表示禁用检查。该值必须为false
,实例才能执行NAT。有关更多信息,请参阅Amazon虚拟私有云用户指南中的NAT Instances。
代码示例来源:origin: aws/aws-sdk-java
if (getSecurityGroups() != null)
sb.append("SecurityGroups: ").append(getSecurityGroups()).append(",");
if (getSourceDestCheck() != null)
sb.append("SourceDestCheck: ").append(getSourceDestCheck()).append(",");
if (getSpotInstanceRequestId() != null)
sb.append("SpotInstanceRequestId: ").append(getSpotInstanceRequestId()).append(",");
代码示例来源:origin: aws/aws-sdk-java
hashCode = prime * hashCode + ((getRootDeviceType() == null) ? 0 : getRootDeviceType().hashCode());
hashCode = prime * hashCode + ((getSecurityGroups() == null) ? 0 : getSecurityGroups().hashCode());
hashCode = prime * hashCode + ((getSourceDestCheck() == null) ? 0 : getSourceDestCheck().hashCode());
hashCode = prime * hashCode + ((getSpotInstanceRequestId() == null) ? 0 : getSpotInstanceRequestId().hashCode());
hashCode = prime * hashCode + ((getSriovNetSupport() == null) ? 0 : getSriovNetSupport().hashCode());
代码示例来源:origin: aws/aws-sdk-java
if (other.getSecurityGroups() != null && other.getSecurityGroups().equals(this.getSecurityGroups()) == false)
return false;
if (other.getSourceDestCheck() == null ^ this.getSourceDestCheck() == null)
return false;
if (other.getSourceDestCheck() != null && other.getSourceDestCheck().equals(this.getSourceDestCheck()) == false)
return false;
if (other.getSpotInstanceRequestId() == null ^ this.getSpotInstanceRequestId() == null)
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
if (getSecurityGroups() != null)
sb.append("SecurityGroups: ").append(getSecurityGroups()).append(",");
if (getSourceDestCheck() != null)
sb.append("SourceDestCheck: ").append(getSourceDestCheck()).append(",");
if (getSpotInstanceRequestId() != null)
sb.append("SpotInstanceRequestId: ").append(getSpotInstanceRequestId()).append(",");
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
hashCode = prime * hashCode + ((getRootDeviceType() == null) ? 0 : getRootDeviceType().hashCode());
hashCode = prime * hashCode + ((getSecurityGroups() == null) ? 0 : getSecurityGroups().hashCode());
hashCode = prime * hashCode + ((getSourceDestCheck() == null) ? 0 : getSourceDestCheck().hashCode());
hashCode = prime * hashCode + ((getSpotInstanceRequestId() == null) ? 0 : getSpotInstanceRequestId().hashCode());
hashCode = prime * hashCode + ((getSriovNetSupport() == null) ? 0 : getSriovNetSupport().hashCode());
代码示例来源:origin: airbnb/billow
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.getSecurityGroups() != null && other.getSecurityGroups().equals(this.getSecurityGroups()) == false)
return false;
if (other.getSourceDestCheck() == null ^ this.getSourceDestCheck() == null)
return false;
if (other.getSourceDestCheck() != null && other.getSourceDestCheck().equals(this.getSourceDestCheck()) == false)
return false;
if (other.getSpotInstanceRequestId() == null ^ this.getSpotInstanceRequestId() == null)
内容来源于网络,如有侵权,请联系作者删除!