public Job withDestinationPackageVersions(java.util.Collection<String> destinationPackageVersions) {
        setDestinationPackageVersions(destinationPackageVersions);
        return this;
    }
<p>
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully
completes. The package version must be in either the Published or Deprecated state when the job deploys. For more
information, see <a href=
"https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle"
>Package version lifecycle</a>.The package version must be in either the Published or Deprecated state when the
job deploys. For more information, see <a href=
"https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle"
>Package version lifecycle</a>.
</p>
<p>
<b>Note:</b>The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
</p>

@param destinationPackageVersions
       The package version Amazon Resource Names (ARNs) that are installed on the device when the job
       successfully completes. The package version must be in either the Published or Deprecated state when the
       job deploys. For more information, see <a href=
       "https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle"
       >Package version lifecycle</a>.The package version must be in either the Published or Deprecated state
       when the job deploys. For more information, see <a href=
       "https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle"
       >Package version lifecycle</a>.</p>
       <p>
       <b>Note:</b>The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are
       allowed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/Job.java