com.amazonaws.services.ec2.model.Instance.setSpotInstanceRequestId()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中com.amazonaws.services.ec2.model.Instance.setSpotInstanceRequestId()方法的一些代码示例,展示了Instance.setSpotInstanceRequestId()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Instance.setSpotInstanceRequestId()方法的具体详情如下:
包路径:com.amazonaws.services.ec2.model.Instance
类名称:Instance
方法名:setSpotInstanceRequestId

Instance.setSpotInstanceRequestId介绍

[英]If the request is a Spot Instance request, the ID of the request.
[中]如果请求是Spot实例请求,则为请求的ID。

代码示例

代码示例来源:origin: aws/aws-sdk-java

/**
 * <p>
 * If the request is a Spot Instance request, the ID of the request.
 * </p>
 * 
 * @param spotInstanceRequestId
 *        If the request is a Spot Instance request, the ID of the request.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Instance withSpotInstanceRequestId(String spotInstanceRequestId) {
  setSpotInstanceRequestId(spotInstanceRequestId);
  return this;
}

代码示例来源:origin: aws/aws-sdk-java

instance.setSpotInstanceRequestId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;

代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2

/**
 * <p>
 * If the request is a Spot Instance request, the ID of the request.
 * </p>
 * 
 * @param spotInstanceRequestId
 *        If the request is a Spot Instance request, the ID of the request.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Instance withSpotInstanceRequestId(String spotInstanceRequestId) {
  setSpotInstanceRequestId(spotInstanceRequestId);
  return this;
}

代码示例来源:origin: aws-amplify/aws-sdk-android

instance.setSpotInstanceRequestId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;

代码示例来源:origin: com.amazonaws/aws-java-sdk-ec2

instance.setSpotInstanceRequestId(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;

相关文章

Instance类方法