/** * <p> * Information about the IPv6 CIDR blocks associated with the subnet. * </p> * * @param ipv6CidrBlockAssociationSet * Information about the IPv6 CIDR blocks associated with the subnet. * @return Returns a reference to this object so that method calls can be chained together. */ public Subnet withIpv6CidrBlockAssociationSet(java.util.Collection<SubnetIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet) { setIpv6CidrBlockAssociationSet(ipv6CidrBlockAssociationSet); return this; }
/** * <p> * Information about the IPv6 CIDR blocks associated with the subnet. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setIpv6CidrBlockAssociationSet(java.util.Collection)} or * {@link #withIpv6CidrBlockAssociationSet(java.util.Collection)} if you want to override the existing values. * </p> * * @param ipv6CidrBlockAssociationSet * Information about the IPv6 CIDR blocks associated with the subnet. * @return Returns a reference to this object so that method calls can be chained together. */ public Subnet withIpv6CidrBlockAssociationSet(SubnetIpv6CidrBlockAssociation... ipv6CidrBlockAssociationSet) { if (this.ipv6CidrBlockAssociationSet == null) { setIpv6CidrBlockAssociationSet(new com.amazonaws.internal.SdkInternalList<SubnetIpv6CidrBlockAssociation>(ipv6CidrBlockAssociationSet.length)); } for (SubnetIpv6CidrBlockAssociation ele : ipv6CidrBlockAssociationSet) { this.ipv6CidrBlockAssociationSet.add(ele); } return this; }
/** * <p> * Information about the IPv6 CIDR blocks associated with the subnet. * </p> * * @param ipv6CidrBlockAssociationSet * Information about the IPv6 CIDR blocks associated with the subnet. * @return Returns a reference to this object so that method calls can be chained together. */ public Subnet withIpv6CidrBlockAssociationSet(java.util.Collection<SubnetIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet) { setIpv6CidrBlockAssociationSet(ipv6CidrBlockAssociationSet); return this; }
/** * <p> * Information about the IPv6 CIDR blocks associated with the subnet. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setIpv6CidrBlockAssociationSet(java.util.Collection)} or * {@link #withIpv6CidrBlockAssociationSet(java.util.Collection)} if you want to override the existing values. * </p> * * @param ipv6CidrBlockAssociationSet * Information about the IPv6 CIDR blocks associated with the subnet. * @return Returns a reference to this object so that method calls can be chained together. */ public Subnet withIpv6CidrBlockAssociationSet(SubnetIpv6CidrBlockAssociation... ipv6CidrBlockAssociationSet) { if (this.ipv6CidrBlockAssociationSet == null) { setIpv6CidrBlockAssociationSet(new com.amazonaws.internal.SdkInternalList<SubnetIpv6CidrBlockAssociation>(ipv6CidrBlockAssociationSet.length)); } for (SubnetIpv6CidrBlockAssociation ele : ipv6CidrBlockAssociationSet) { this.ipv6CidrBlockAssociationSet.add(ele); } return this; }