本文整理了Java中com.amazonaws.services.ec2.model.Placement.setHostId()
方法的一些代码示例,展示了Placement.setHostId()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Placement.setHostId()
方法的具体详情如下:
包路径:com.amazonaws.services.ec2.model.Placement
类名称:Placement
方法名:setHostId
[英]The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the ImportInstance command.
[中]实例所在的专用主机的ID。ImportInstance命令不支持此参数。
代码示例来源:origin: aws/aws-sdk-java
/**
* <p>
* The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the
* <a>ImportInstance</a> command.
* </p>
*
* @param hostId
* The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the
* <a>ImportInstance</a> command.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Placement withHostId(String hostId) {
setHostId(hostId);
return this;
}
代码示例来源:origin: aws/aws-sdk-java
placement.setHostId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
/**
* <p>
* The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the
* <a>ImportInstance</a> command.
* </p>
*
* @param hostId
* The ID of the Dedicated Host on which the instance resides. This parameter is not supported for the
* <a>ImportInstance</a> command.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Placement withHostId(String hostId) {
setHostId(hostId);
return this;
}
代码示例来源:origin: aws-amplify/aws-sdk-android
placement.setHostId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
placement.setHostId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
内容来源于网络,如有侵权,请联系作者删除!