/** * The Reserved Instance listing. * * @return The Reserved Instance listing. */ public java.util.List<ReservedInstancesListing> getReservedInstancesListings() { if (reservedInstancesListings == null) { reservedInstancesListings = new com.amazonaws.internal.ListWithAutoConstructFlag<ReservedInstancesListing>(); reservedInstancesListings.setAutoConstruct(true); } return reservedInstancesListings; }
/** * The Reserved Instance listing. * * @param reservedInstancesListings The Reserved Instance listing. */ public void setReservedInstancesListings(java.util.Collection<ReservedInstancesListing> reservedInstancesListings) { if (reservedInstancesListings == null) { this.reservedInstancesListings = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<ReservedInstancesListing> reservedInstancesListingsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<ReservedInstancesListing>(reservedInstancesListings.size()); reservedInstancesListingsCopy.addAll(reservedInstancesListings); this.reservedInstancesListings = reservedInstancesListingsCopy; }
/** * Information about one or more network interfaces. * * @param networkInterfaces Information about one or more network interfaces. */ public void setNetworkInterfaces(java.util.Collection<NetworkInterface> networkInterfaces) { if (networkInterfaces == null) { this.networkInterfaces = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<NetworkInterface> networkInterfacesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<NetworkInterface>(networkInterfaces.size()); networkInterfacesCopy.addAll(networkInterfaces); this.networkInterfaces = networkInterfacesCopy; }
/** * Information about one or more network interfaces. * * @return Information about one or more network interfaces. */ public java.util.List<NetworkInterface> getNetworkInterfaces() { if (networkInterfaces == null) { networkInterfaces = new com.amazonaws.internal.ListWithAutoConstructFlag<NetworkInterface>(); networkInterfaces.setAutoConstruct(true); } return networkInterfaces; }
/** * One or more instances. * * @param instances One or more instances. */ public void setInstances(java.util.Collection<String> instances) { if (instances == null) { this.instances = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> instancesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(instances.size()); instancesCopy.addAll(instances); this.instances = instancesCopy; }
/** * Any tags assigned to the resource. * * @return Any tags assigned to the resource. */ public java.util.List<Tag> getTags() { if (tags == null) { tags = new com.amazonaws.internal.ListWithAutoConstructFlag<Tag>(); tags.setAutoConstruct(true); } return tags; }
/** * Information about the stale inbound rules in the security group. * * @param staleIpPermissions Information about the stale inbound rules in the security group. */ public void setStaleIpPermissions(java.util.Collection<StaleIpPermission> staleIpPermissions) { if (staleIpPermissions == null) { this.staleIpPermissions = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<StaleIpPermission> staleIpPermissionsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<StaleIpPermission>(staleIpPermissions.size()); staleIpPermissionsCopy.addAll(staleIpPermissions); this.staleIpPermissions = staleIpPermissionsCopy; }
/** * Information about the NAT gateways. * * @return Information about the NAT gateways. */ public java.util.List<NatGateway> getNatGateways() { if (natGateways == null) { natGateways = new com.amazonaws.internal.ListWithAutoConstructFlag<NatGateway>(); natGateways.setAutoConstruct(true); } return natGateways; }
/** * Information about the NAT gateways. * * @param natGateways Information about the NAT gateways. */ public void setNatGateways(java.util.Collection<NatGateway> natGateways) { if (natGateways == null) { this.natGateways = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<NatGateway> natGatewaysCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<NatGateway>(natGateways.size()); natGatewaysCopy.addAll(natGateways); this.natGateways = natGatewaysCopy; }
/** * Any messages about the Availability Zone. * * @return Any messages about the Availability Zone. */ public java.util.List<AvailabilityZoneMessage> getMessages() { if (messages == null) { messages = new com.amazonaws.internal.ListWithAutoConstructFlag<AvailabilityZoneMessage>(); messages.setAutoConstruct(true); } return messages; }
/** * One or more private IP addresses. * * @param privateIpAddresses One or more private IP addresses. */ public void setPrivateIpAddresses(java.util.Collection<PrivateIpAddressSpecification> privateIpAddresses) { if (privateIpAddresses == null) { this.privateIpAddresses = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<PrivateIpAddressSpecification> privateIpAddressesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<PrivateIpAddressSpecification>(privateIpAddresses.size()); privateIpAddressesCopy.addAll(privateIpAddresses); this.privateIpAddresses = privateIpAddressesCopy; }
/** * Information about the configuration of your Spot fleet. * * @return Information about the configuration of your Spot fleet. */ public java.util.List<SpotFleetRequestConfig> getSpotFleetRequestConfigs() { if (spotFleetRequestConfigs == null) { spotFleetRequestConfigs = new com.amazonaws.internal.ListWithAutoConstructFlag<SpotFleetRequestConfig>(); spotFleetRequestConfigs.setAutoConstruct(true); } return spotFleetRequestConfigs; }
/** * One or more subnet IDs. <p>Default: Describes all your subnets. * * @param subnetIds One or more subnet IDs. <p>Default: Describes all your subnets. */ public void setSubnetIds(java.util.Collection<String> subnetIds) { if (subnetIds == null) { this.subnetIds = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> subnetIdsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(subnetIds.size()); subnetIdsCopy.addAll(subnetIds); this.subnetIds = subnetIdsCopy; }
/** * One or more Spot instance request IDs. * * @return One or more Spot instance request IDs. */ public java.util.List<String> getSpotInstanceRequestIds() { if (spotInstanceRequestIds == null) { spotInstanceRequestIds = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(); spotInstanceRequestIds.setAutoConstruct(true); } return spotInstanceRequestIds; }
/** * One or more endpoint IDs. * * @param vpcEndpointIds One or more endpoint IDs. */ public void setVpcEndpointIds(java.util.Collection<String> vpcEndpointIds) { if (vpcEndpointIds == null) { this.vpcEndpointIds = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> vpcEndpointIdsCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(vpcEndpointIds.size()); vpcEndpointIdsCopy.addAll(vpcEndpointIds); this.vpcEndpointIds = vpcEndpointIdsCopy; }
/** * Any tags assigned to the Internet gateway. * * @return Any tags assigned to the Internet gateway. */ public java.util.List<Tag> getTags() { if (tags == null) { tags = new com.amazonaws.internal.ListWithAutoConstructFlag<Tag>(); tags.setAutoConstruct(true); } return tags; }
/** * One or more network interfaces. * * @param networkInterfaces One or more network interfaces. */ public void setNetworkInterfaces(java.util.Collection<InstanceNetworkInterfaceSpecification> networkInterfaces) { if (networkInterfaces == null) { this.networkInterfaces = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<InstanceNetworkInterfaceSpecification> networkInterfacesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<InstanceNetworkInterfaceSpecification>(networkInterfaces.size()); networkInterfacesCopy.addAll(networkInterfaces); this.networkInterfaces = networkInterfacesCopy; }
/** * Any tags assigned to the customer gateway. * * @return Any tags assigned to the customer gateway. */ public java.util.List<Tag> getTags() { if (tags == null) { tags = new com.amazonaws.internal.ListWithAutoConstructFlag<Tag>(); tags.setAutoConstruct(true); } return tags; }
/** * The names of the attributes. * * @param attributeNames The names of the attributes. */ public void setAttributeNames(java.util.Collection<String> attributeNames) { if (attributeNames == null) { this.attributeNames = null; return; } com.amazonaws.internal.ListWithAutoConstructFlag<String> attributeNamesCopy = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(attributeNames.size()); attributeNamesCopy.addAll(attributeNames); this.attributeNames = attributeNamesCopy; }
/** * A list of domain names that match the expression. * * @return A list of domain names that match the expression. */ public java.util.List<String> getDomainNames() { if (domainNames == null) { domainNames = new com.amazonaws.internal.ListWithAutoConstructFlag<String>(); domainNames.setAutoConstruct(true); } return domainNames; }