public void setInstances(java.util.Collection<Instance> instances) {
        if (instances == null) {
            this.instances = null;
            return;
        }

        this.instances = new java.util.ArrayList<Instance>(instances);
    }
<p>
An array of key-value pairs containing information about your instances.
</p>

@param instances
       An array of key-value pairs containing information about your instances.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetInstancesResult.java