/** * <p> * The Amazon EMR release label, which determines the version of open-source application packages installed on the * cluster. Release labels are in the form <code>emr-x.x.x</code>, where x.x.x is an Amazon EMR release version, for * example, <code>emr-5.14.0</code>. For more information about Amazon EMR release versions and included application * versions and features, see <a * href="http://docs.aws.amazon.com/emr/latest/ReleaseGuide/">http://docs.aws.amazon.com * /emr/latest/ReleaseGuide/</a>. The release label applies only to Amazon EMR releases versions 4.x and later. * Earlier versions use <code>AmiVersion</code>. * </p> * * @param releaseLabel * The Amazon EMR release label, which determines the version of open-source application packages installed * on the cluster. Release labels are in the form <code>emr-x.x.x</code>, where x.x.x is an Amazon EMR * release version, for example, <code>emr-5.14.0</code>. For more information about Amazon EMR release * versions and included application versions and features, see <a * href="http://docs.aws.amazon.com/emr/latest/ReleaseGuide/" * >http://docs.aws.amazon.com/emr/latest/ReleaseGuide/</a>. The release label applies only to Amazon EMR * releases versions 4.x and later. Earlier versions use <code>AmiVersion</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public RunJobFlowRequest withReleaseLabel(String releaseLabel) { setReleaseLabel(releaseLabel); return this; }
/** * <p> * The Amazon EMR release label, which determines the version of open-source application packages installed on the * cluster. Release labels are in the form <code>emr-x.x.x</code>, where x.x.x is an Amazon EMR release version, for * example, <code>emr-5.14.0</code>. For more information about Amazon EMR release versions and included application * versions and features, see <a * href="http://docs.aws.amazon.com/emr/latest/ReleaseGuide/">http://docs.aws.amazon.com * /emr/latest/ReleaseGuide/</a>. The release label applies only to Amazon EMR releases versions 4.x and later. * Earlier versions use <code>AmiVersion</code>. * </p> * * @param releaseLabel * The Amazon EMR release label, which determines the version of open-source application packages installed * on the cluster. Release labels are in the form <code>emr-x.x.x</code>, where x.x.x is an Amazon EMR * release version, for example, <code>emr-5.14.0</code>. For more information about Amazon EMR release * versions and included application versions and features, see <a * href="http://docs.aws.amazon.com/emr/latest/ReleaseGuide/" * >http://docs.aws.amazon.com/emr/latest/ReleaseGuide/</a>. The release label applies only to Amazon EMR * releases versions 4.x and later. Earlier versions use <code>AmiVersion</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public RunJobFlowRequest withReleaseLabel(String releaseLabel) { setReleaseLabel(releaseLabel); return this; }
runJobFlowRequest.setReleaseLabel( jobEntry.getEmrRelease() ); runJobFlowRequest.setLogUri( stagingS3BucketUrl );
runJobFlowRequest.setReleaseLabel(emrClusterDefinition.getReleaseLabel());
runJobFlowRequest.setReleaseLabel(emrClusterDefinition.getReleaseLabel());