/** * The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different * Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An * ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets. * * @param subnetIds * The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different * Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An * ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBrokerResult withSubnetIds(java.util.Collection<String> subnetIds) { setSubnetIds(subnetIds); return this; }
/** * The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different * Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An * ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets. * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setSubnetIds(java.util.Collection)} or {@link #withSubnetIds(java.util.Collection)} if you want to * override the existing values. * </p> * * @param subnetIds * The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different * Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An * ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBrokerResult withSubnetIds(String... subnetIds) { if (this.subnetIds == null) { setSubnetIds(new java.util.ArrayList<String>(subnetIds.length)); } for (String ele : subnetIds) { this.subnetIds.add(ele); } return this; }
describeBrokerResult.setSubnetIds(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));
/** * The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different * Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An * ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets. * * @param subnetIds * The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different * Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An * ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBrokerResult withSubnetIds(java.util.Collection<String> subnetIds) { setSubnetIds(subnetIds); return this; }
/** * The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different * Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An * ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets. * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setSubnetIds(java.util.Collection)} or {@link #withSubnetIds(java.util.Collection)} if you want to * override the existing values. * </p> * * @param subnetIds * The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different * Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default subnet). An * ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBrokerResult withSubnetIds(String... subnetIds) { if (this.subnetIds == null) { setSubnetIds(new java.util.ArrayList<String>(subnetIds.length)); } for (String ele : subnetIds) { this.subnetIds.add(ele); } return this; }
describeBrokerResult.setSubnetIds(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));