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

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

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

Placement.setGroupName介绍

[英]The name of the placement group the instance is in.
[中]实例所在的放置组的名称。

代码示例

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

/**
 * <p>
 * The name of the placement group the instance is in.
 * </p>
 * 
 * @param groupName
 *        The name of the placement group the instance is in.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Placement withGroupName(String groupName) {
  setGroupName(groupName);
  return this;
}

代码示例来源:origin: h2oai/h2o-2

run.withSecurityGroupIds(securityGroup);
Placement placement = new Placement();
placement.setGroupName(USER);
run.withPlacement(placement);
BlockDeviceMapping map = new BlockDeviceMapping();

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

placement.setGroupName(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;

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

/**
 * <p>
 * The name of the placement group the instance is in.
 * </p>
 * 
 * @param groupName
 *        The name of the placement group the instance is in.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Placement withGroupName(String groupName) {
  setGroupName(groupName);
  return this;
}

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

placement.setGroupName(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;

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

placement.setGroupName(StringStaxUnmarshaller.getInstance().unmarshall(context));
continue;

相关文章