public java.util.List<Target> getTargets() {
        if (targets == null) {
            targets = new com.amazonaws.internal.SdkInternalList<Target>();
        }
        return targets;
    }
<p>
An array of search criteria that targets managed nodes using a Key,Value combination that you specify. Targets is
required if you don't provide one or more managed node IDs in the call.
</p>

@return An array of search criteria that targets managed nodes using a Key,Value combination that you specify.
        Targets is required if you don't provide one or more managed node IDs in the call.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/Command.java