/** * Information about one or more key pairs. * * @param keyPairs Information about one or more key pairs. */ public void setKeyPairs(java.util.Collection<KeyPairInfo> keyPairs) { if (keyPairs == null) { this.keyPairs = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<KeyPairInfo> keyPairsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<KeyPairInfo>(keyPairs.size()); keyPairsCopy.addAll(keyPairs); this.keyPairs = keyPairsCopy; }
/** * A list of domain names that match the expression. * * @param domainNames A list of domain names that match the expression. */ public void setDomainNames(java.util.Collection<String> domainNames) { if (domainNames == null) { this.domainNames = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> domainNamesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(domainNames.size()); domainNamesCopy.addAll(domainNames); this.domainNames = domainNamesCopy; }
/** * One or more values for the account attribute. * * @param attributeValues One or more values for the account attribute. */ public void setAttributeValues(java.util.Collection<AccountAttributeValue> attributeValues) { if (attributeValues == null) { this.attributeValues = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<AccountAttributeValue> attributeValuesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<AccountAttributeValue>(attributeValues.size()); attributeValuesCopy.addAll(attributeValues); this.attributeValues = attributeValuesCopy; }
/** * One or more route table IDs. * * @param routeTableIds One or more route table IDs. */ public void setRouteTableIds(java.util.Collection<String> routeTableIds) { if (routeTableIds == null) { this.routeTableIds = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> routeTableIdsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(routeTableIds.size()); routeTableIdsCopy.addAll(routeTableIds); this.routeTableIds = routeTableIdsCopy; }
/** * A list of items that match the select expression. * * @param items A list of items that match the select expression. */ public void setItems(java.util.Collection<Item> items) { if (items == null) { this.items = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<Item> itemsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<Item>(items.size()); itemsCopy.addAll(items); this.items = itemsCopy; }
/** * The IDs of the Spot fleet requests. * * @param spotFleetRequestIds The IDs of the Spot fleet requests. */ public void setSpotFleetRequestIds(java.util.Collection<String> spotFleetRequestIds) { if (spotFleetRequestIds == null) { this.spotFleetRequestIds = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> spotFleetRequestIdsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(spotFleetRequestIds.size()); spotFleetRequestIdsCopy.addAll(spotFleetRequestIds); this.spotFleetRequestIds = spotFleetRequestIdsCopy; }
/** * One or more values for the DHCP option. * * @param values One or more values for the DHCP option. */ public void setValues(java.util.Collection<String> values) { if (values == null) { this.values = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> valuesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(values.size()); valuesCopy.addAll(values); this.values = valuesCopy; }
/** * Zero or more reservations. * * @param reservations Zero or more reservations. */ public void setReservations(java.util.Collection<Reservation> reservations) { if (reservations == null) { this.reservations = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<Reservation> reservationsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<Reservation>(reservations.size()); reservationsCopy.addAll(reservations); this.reservations = reservationsCopy; }
/** * One or more Spot instance requests. * * @param spotInstanceRequests One or more Spot instance requests. */ public void setSpotInstanceRequests(java.util.Collection<SpotInstanceRequest> spotInstanceRequests) { if (spotInstanceRequests == null) { this.spotInstanceRequests = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<SpotInstanceRequest> spotInstanceRequestsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<SpotInstanceRequest>(spotInstanceRequests.size()); spotInstanceRequestsCopy.addAll(spotInstanceRequests); this.spotInstanceRequests = spotInstanceRequestsCopy; }
/** * Information about one or more customer gateways. * * @param customerGateways Information about one or more customer gateways. */ public void setCustomerGateways(java.util.Collection<CustomerGateway> customerGateways) { if (customerGateways == null) { this.customerGateways = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<CustomerGateway> customerGatewaysCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<CustomerGateway>(customerGateways.size()); customerGatewaysCopy.addAll(customerGateways); this.customerGateways = customerGatewaysCopy; }
/** * One or more Elastic IP addresses. * * @param publicIps One or more Elastic IP addresses. */ public void setPublicIps(java.util.Collection<String> publicIps) { if (publicIps == null) { this.publicIps = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> publicIpsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(publicIps.size()); publicIpsCopy.addAll(publicIps); this.publicIps = publicIpsCopy; }
/** * Information about the endpoints that were not successfully deleted. * * @param unsuccessful Information about the endpoints that were not successfully deleted. */ public void setUnsuccessful(java.util.Collection<UnsuccessfulItem> unsuccessful) { if (unsuccessful == null) { this.unsuccessful = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<UnsuccessfulItem> unsuccessfulCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<UnsuccessfulItem>(unsuccessful.size()); unsuccessfulCopy.addAll(unsuccessful); this.unsuccessful = unsuccessfulCopy; }
/** * One or more VPC IDs. * * @param vpcIds One or more VPC IDs. */ public void setVpcIds(java.util.Collection<String> vpcIds) { if (vpcIds == null) { this.vpcIds = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> vpcIdsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(vpcIds.size()); vpcIdsCopy.addAll(vpcIds); this.vpcIds = vpcIdsCopy; }
/** * One or more DHCP options in the set. * * @param dhcpConfigurations One or more DHCP options in the set. */ public void setDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations) { if (dhcpConfigurations == null) { this.dhcpConfigurations = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<DhcpConfiguration> dhcpConfigurationsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<DhcpConfiguration>(dhcpConfigurations.size()); dhcpConfigurationsCopy.addAll(dhcpConfigurations); this.dhcpConfigurations = dhcpConfigurationsCopy; }
/** * A list of product codes. * * @param productCodes A list of product codes. */ public void setProductCodes(java.util.Collection<ProductCode> productCodes) { if (productCodes == null) { this.productCodes = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<ProductCode> productCodesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<ProductCode>(productCodes.size()); productCodesCopy.addAll(productCodes); this.productCodes = productCodesCopy; }
/** * Information about one or more network ACLs. * * @param networkAcls Information about one or more network ACLs. */ public void setNetworkAcls(java.util.Collection<NetworkAcl> networkAcls) { if (networkAcls == null) { this.networkAcls = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<NetworkAcl> networkAclsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<NetworkAcl>(networkAcls.size()); networkAclsCopy.addAll(networkAcls); this.networkAcls = networkAclsCopy; }
/** * A list of items on which to perform the operation. * * @param items A list of items on which to perform the operation. */ public void setItems(java.util.Collection<DeletableItem> items) { if (items == null) { this.items = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<DeletableItem> itemsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<DeletableItem>(items.size()); itemsCopy.addAll(items); this.items = itemsCopy; }
/** * A DHCP configuration option. * * @param dhcpConfigurations A DHCP configuration option. */ public void setDhcpConfigurations(java.util.Collection<DhcpConfiguration> dhcpConfigurations) { if (dhcpConfigurations == null) { this.dhcpConfigurations = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<DhcpConfiguration> dhcpConfigurationsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<DhcpConfiguration>(dhcpConfigurations.size()); dhcpConfigurationsCopy.addAll(dhcpConfigurations); this.dhcpConfigurations = dhcpConfigurationsCopy; }
/** * Any tags assigned to the instance. * * @param tags Any tags assigned to the instance. */ public void setTags(java.util.Collection<Tag> tags) { if (tags == null) { this.tags = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<Tag> tagsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<Tag>(tags.size()); tagsCopy.addAll(tags); this.tags = tagsCopy; }
/** * Information about the volumes. * * @param volumes Information about the volumes. */ public void setVolumes(java.util.Collection<Volume> volumes) { if (volumes == null) { this.volumes = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<Volume> volumesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<Volume>(volumes.size()); volumesCopy.addAll(volumes); this.volumes = volumesCopy; }