All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.mediaconvert.CfnJobTemplateProps Maven / Gradle / Ivy

There is a newer version: 1.204.0
Show newest version
package software.amazon.awscdk.services.mediaconvert;

/**
 * Properties for defining a `AWS::MediaConvert::JobTemplate`.
 * 

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html */ @javax.annotation.Generated(value = "jsii-pacmak/1.15.0 (build 585166b)", date = "2020-12-07T12:18:48.558Z") @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.mediaconvert.$Module.class, fqn = "@aws-cdk/aws-mediaconvert.CfnJobTemplateProps") @software.amazon.jsii.Jsii.Proxy(CfnJobTemplateProps.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public interface CfnJobTemplateProps extends software.amazon.jsii.JsiiSerializable { /** * `AWS::MediaConvert::JobTemplate.SettingsJson`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-settingsjson */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @org.jetbrains.annotations.NotNull java.lang.Object getSettingsJson(); /** * `AWS::MediaConvert::JobTemplate.AccelerationSettings`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-accelerationsettings */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.Object getAccelerationSettings() { return null; } /** * `AWS::MediaConvert::JobTemplate.Category`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-category */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getCategory() { return null; } /** * `AWS::MediaConvert::JobTemplate.Description`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-description */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getDescription() { return null; } /** * `AWS::MediaConvert::JobTemplate.HopDestinations`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-hopdestinations */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.Object getHopDestinations() { return null; } /** * `AWS::MediaConvert::JobTemplate.Name`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-name */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getName() { return null; } /** * `AWS::MediaConvert::JobTemplate.Priority`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-priority */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.Number getPriority() { return null; } /** * `AWS::MediaConvert::JobTemplate.Queue`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-queue */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getQueue() { return null; } /** * `AWS::MediaConvert::JobTemplate.StatusUpdateInterval`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-statusupdateinterval */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.String getStatusUpdateInterval() { return null; } /** * `AWS::MediaConvert::JobTemplate.Tags`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-tags */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.Object getTags() { return null; } /** * @return a {@link Builder} of {@link CfnJobTemplateProps} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) static Builder builder() { return new Builder(); } /** * A builder for {@link CfnJobTemplateProps} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { private java.lang.Object settingsJson; private java.lang.Object accelerationSettings; private java.lang.String category; private java.lang.String description; private java.lang.Object hopDestinations; private java.lang.String name; private java.lang.Number priority; private java.lang.String queue; private java.lang.String statusUpdateInterval; private java.lang.Object tags; /** * Sets the value of {@link CfnJobTemplateProps#getSettingsJson} * @param settingsJson `AWS::MediaConvert::JobTemplate.SettingsJson`. This parameter is required. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder settingsJson(java.lang.Object settingsJson) { this.settingsJson = settingsJson; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getAccelerationSettings} * @param accelerationSettings `AWS::MediaConvert::JobTemplate.AccelerationSettings`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder accelerationSettings(software.amazon.awscdk.core.IResolvable accelerationSettings) { this.accelerationSettings = accelerationSettings; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getAccelerationSettings} * @param accelerationSettings `AWS::MediaConvert::JobTemplate.AccelerationSettings`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder accelerationSettings(software.amazon.awscdk.services.mediaconvert.CfnJobTemplate.AccelerationSettingsProperty accelerationSettings) { this.accelerationSettings = accelerationSettings; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getCategory} * @param category `AWS::MediaConvert::JobTemplate.Category`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder category(java.lang.String category) { this.category = category; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getDescription} * @param description `AWS::MediaConvert::JobTemplate.Description`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder description(java.lang.String description) { this.description = description; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getHopDestinations} * @param hopDestinations `AWS::MediaConvert::JobTemplate.HopDestinations`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder hopDestinations(software.amazon.awscdk.core.IResolvable hopDestinations) { this.hopDestinations = hopDestinations; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getHopDestinations} * @param hopDestinations `AWS::MediaConvert::JobTemplate.HopDestinations`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder hopDestinations(java.util.List hopDestinations) { this.hopDestinations = hopDestinations; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getName} * @param name `AWS::MediaConvert::JobTemplate.Name`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder name(java.lang.String name) { this.name = name; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getPriority} * @param priority `AWS::MediaConvert::JobTemplate.Priority`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder priority(java.lang.Number priority) { this.priority = priority; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getQueue} * @param queue `AWS::MediaConvert::JobTemplate.Queue`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder queue(java.lang.String queue) { this.queue = queue; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getStatusUpdateInterval} * @param statusUpdateInterval `AWS::MediaConvert::JobTemplate.StatusUpdateInterval`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder statusUpdateInterval(java.lang.String statusUpdateInterval) { this.statusUpdateInterval = statusUpdateInterval; return this; } /** * Sets the value of {@link CfnJobTemplateProps#getTags} * @param tags `AWS::MediaConvert::JobTemplate.Tags`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder tags(java.lang.Object tags) { this.tags = tags; return this; } /** * Builds the configured instance. * @return a new instance of {@link CfnJobTemplateProps} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public CfnJobTemplateProps build() { return new Jsii$Proxy(settingsJson, accelerationSettings, category, description, hopDestinations, name, priority, queue, statusUpdateInterval, tags); } } /** * An implementation for {@link CfnJobTemplateProps} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnJobTemplateProps { private final java.lang.Object settingsJson; private final java.lang.Object accelerationSettings; private final java.lang.String category; private final java.lang.String description; private final java.lang.Object hopDestinations; private final java.lang.String name; private final java.lang.Number priority; private final java.lang.String queue; private final java.lang.String statusUpdateInterval; private final java.lang.Object tags; /** * Constructor that initializes the object based on values retrieved from the JsiiObject. * @param objRef Reference to the JSII managed object. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); this.settingsJson = software.amazon.jsii.Kernel.get(this, "settingsJson", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.accelerationSettings = software.amazon.jsii.Kernel.get(this, "accelerationSettings", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.category = software.amazon.jsii.Kernel.get(this, "category", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.description = software.amazon.jsii.Kernel.get(this, "description", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.hopDestinations = software.amazon.jsii.Kernel.get(this, "hopDestinations", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); this.name = software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.priority = software.amazon.jsii.Kernel.get(this, "priority", software.amazon.jsii.NativeType.forClass(java.lang.Number.class)); this.queue = software.amazon.jsii.Kernel.get(this, "queue", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.statusUpdateInterval = software.amazon.jsii.Kernel.get(this, "statusUpdateInterval", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.tags = software.amazon.jsii.Kernel.get(this, "tags", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ protected Jsii$Proxy(final java.lang.Object settingsJson, final java.lang.Object accelerationSettings, final java.lang.String category, final java.lang.String description, final java.lang.Object hopDestinations, final java.lang.String name, final java.lang.Number priority, final java.lang.String queue, final java.lang.String statusUpdateInterval, final java.lang.Object tags) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.settingsJson = java.util.Objects.requireNonNull(settingsJson, "settingsJson is required"); this.accelerationSettings = accelerationSettings; this.category = category; this.description = description; this.hopDestinations = hopDestinations; this.name = name; this.priority = priority; this.queue = queue; this.statusUpdateInterval = statusUpdateInterval; this.tags = tags; } @Override public final java.lang.Object getSettingsJson() { return this.settingsJson; } @Override public final java.lang.Object getAccelerationSettings() { return this.accelerationSettings; } @Override public final java.lang.String getCategory() { return this.category; } @Override public final java.lang.String getDescription() { return this.description; } @Override public final java.lang.Object getHopDestinations() { return this.hopDestinations; } @Override public final java.lang.String getName() { return this.name; } @Override public final java.lang.Number getPriority() { return this.priority; } @Override public final java.lang.String getQueue() { return this.queue; } @Override public final java.lang.String getStatusUpdateInterval() { return this.statusUpdateInterval; } @Override public final java.lang.Object getTags() { return this.tags; } @Override @software.amazon.jsii.Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); data.set("settingsJson", om.valueToTree(this.getSettingsJson())); if (this.getAccelerationSettings() != null) { data.set("accelerationSettings", om.valueToTree(this.getAccelerationSettings())); } if (this.getCategory() != null) { data.set("category", om.valueToTree(this.getCategory())); } if (this.getDescription() != null) { data.set("description", om.valueToTree(this.getDescription())); } if (this.getHopDestinations() != null) { data.set("hopDestinations", om.valueToTree(this.getHopDestinations())); } if (this.getName() != null) { data.set("name", om.valueToTree(this.getName())); } if (this.getPriority() != null) { data.set("priority", om.valueToTree(this.getPriority())); } if (this.getQueue() != null) { data.set("queue", om.valueToTree(this.getQueue())); } if (this.getStatusUpdateInterval() != null) { data.set("statusUpdateInterval", om.valueToTree(this.getStatusUpdateInterval())); } if (this.getTags() != null) { data.set("tags", om.valueToTree(this.getTags())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@aws-cdk/aws-mediaconvert.CfnJobTemplateProps")); struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); obj.set("$jsii.struct", struct); return obj; } @Override public final boolean equals(final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; CfnJobTemplateProps.Jsii$Proxy that = (CfnJobTemplateProps.Jsii$Proxy) o; if (!settingsJson.equals(that.settingsJson)) return false; if (this.accelerationSettings != null ? !this.accelerationSettings.equals(that.accelerationSettings) : that.accelerationSettings != null) return false; if (this.category != null ? !this.category.equals(that.category) : that.category != null) return false; if (this.description != null ? !this.description.equals(that.description) : that.description != null) return false; if (this.hopDestinations != null ? !this.hopDestinations.equals(that.hopDestinations) : that.hopDestinations != null) return false; if (this.name != null ? !this.name.equals(that.name) : that.name != null) return false; if (this.priority != null ? !this.priority.equals(that.priority) : that.priority != null) return false; if (this.queue != null ? !this.queue.equals(that.queue) : that.queue != null) return false; if (this.statusUpdateInterval != null ? !this.statusUpdateInterval.equals(that.statusUpdateInterval) : that.statusUpdateInterval != null) return false; return this.tags != null ? this.tags.equals(that.tags) : that.tags == null; } @Override public final int hashCode() { int result = this.settingsJson.hashCode(); result = 31 * result + (this.accelerationSettings != null ? this.accelerationSettings.hashCode() : 0); result = 31 * result + (this.category != null ? this.category.hashCode() : 0); result = 31 * result + (this.description != null ? this.description.hashCode() : 0); result = 31 * result + (this.hopDestinations != null ? this.hopDestinations.hashCode() : 0); result = 31 * result + (this.name != null ? this.name.hashCode() : 0); result = 31 * result + (this.priority != null ? this.priority.hashCode() : 0); result = 31 * result + (this.queue != null ? this.queue.hashCode() : 0); result = 31 * result + (this.statusUpdateInterval != null ? this.statusUpdateInterval.hashCode() : 0); result = 31 * result + (this.tags != null ? this.tags.hashCode() : 0); return result; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy