com.amazonaws.services.mediaconvert.model.StatusUpdateInterval Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-mediaconvert Show documentation
Show all versions of aws-java-sdk-mediaconvert Show documentation
The AWS Java SDK for AWS Elemental MediaConvert module holds the client classes that are used for communicating with AWS Elemental MediaConvert Service
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.mediaconvert.model;
import javax.annotation.Generated;
/**
* Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. Set the interval, in seconds,
* between status updates. MediaConvert sends an update at this interval from the time the service begins processing
* your job to the time it completes the transcode or encounters an error.
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public enum StatusUpdateInterval {
SECONDS_10("SECONDS_10"),
SECONDS_12("SECONDS_12"),
SECONDS_15("SECONDS_15"),
SECONDS_20("SECONDS_20"),
SECONDS_30("SECONDS_30"),
SECONDS_60("SECONDS_60"),
SECONDS_120("SECONDS_120"),
SECONDS_180("SECONDS_180"),
SECONDS_240("SECONDS_240"),
SECONDS_300("SECONDS_300"),
SECONDS_360("SECONDS_360"),
SECONDS_420("SECONDS_420"),
SECONDS_480("SECONDS_480"),
SECONDS_540("SECONDS_540"),
SECONDS_600("SECONDS_600");
private String value;
private StatusUpdateInterval(String value) {
this.value = value;
}
@Override
public String toString() {
return this.value;
}
/**
* Use this in place of valueOf.
*
* @param value
* real value
* @return StatusUpdateInterval corresponding to the value
*
* @throws IllegalArgumentException
* If the specified value does not map to one of the known values in this enum.
*/
public static StatusUpdateInterval fromValue(String value) {
if (value == null || "".equals(value)) {
throw new IllegalArgumentException("Value cannot be null or empty!");
}
for (StatusUpdateInterval enumEntry : StatusUpdateInterval.values()) {
if (enumEntry.toString().equals(value)) {
return enumEntry;
}
}
throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
}
}