Пример #1
0
 /**
  * The allowed tenancy of instances launched into the VPC.
  *
  * <p>Returns a reference to this object so that method calls can be chained together.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>default, dedicated
  *
  * @param instanceTenancy The allowed tenancy of instances launched into the VPC.
  * @return A reference to this updated object so that method calls can be chained together.
  * @see Tenancy
  */
 public Vpc withInstanceTenancy(Tenancy instanceTenancy) {
   this.instanceTenancy = instanceTenancy.toString();
   return this;
 }
Пример #2
0
 /**
  * The allowed tenancy of instances launched into the VPC.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>default, dedicated
  *
  * @param instanceTenancy The allowed tenancy of instances launched into the VPC.
  * @see Tenancy
  */
 public void setInstanceTenancy(Tenancy instanceTenancy) {
   this.instanceTenancy = instanceTenancy.toString();
 }