本文整理了Java中com.amazonaws.services.ec2.model.Instance.setRootDeviceName()
方法的一些代码示例,展示了Instance.setRootDeviceName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Instance.setRootDeviceName()
方法的具体详情如下:
包路径:com.amazonaws.services.ec2.model.Instance
类名称:Instance
方法名:setRootDeviceName
[英]The device name of the root device volume (for example, /dev/sda1
).
[中]根设备卷的设备名称(例如,/dev/sda1
)。
代码示例来源:origin: aws/aws-sdk-java
/**
* <p>
* The device name of the root device volume (for example, <code>/dev/sda1</code>).
* </p>
*
* @param rootDeviceName
* The device name of the root device volume (for example, <code>/dev/sda1</code>).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Instance withRootDeviceName(String rootDeviceName) {
setRootDeviceName(rootDeviceName);
return this;
}
代码示例来源:origin: aws/aws-sdk-java
instance.setRootDeviceName(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
/**
* <p>
* The device name of the root device volume (for example, <code>/dev/sda1</code>).
* </p>
*
* @param rootDeviceName
* The device name of the root device volume (for example, <code>/dev/sda1</code>).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public Instance withRootDeviceName(String rootDeviceName) {
setRootDeviceName(rootDeviceName);
return this;
}
代码示例来源:origin: aws-amplify/aws-sdk-android
instance.setRootDeviceName(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2
instance.setRootDeviceName(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;
内容来源于网络,如有侵权,请联系作者删除!