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

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

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

/**
 * A CloudFormation `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.544Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.mediaconvert.$Module.class, fqn = "@aws-cdk/aws-mediaconvert.CfnJobTemplate") public class CfnJobTemplate extends software.amazon.awscdk.core.CfnResource implements software.amazon.awscdk.core.IInspectable { protected CfnJobTemplate(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected CfnJobTemplate(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } static { CFN_RESOURCE_TYPE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.mediaconvert.CfnJobTemplate.class, "CFN_RESOURCE_TYPE_NAME", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * Create a new `AWS::MediaConvert::JobTemplate`. *

* @param scope - scope in which this resource is defined. This parameter is required. * @param id - scoped id of the resource. This parameter is required. * @param props - resource properties. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public CfnJobTemplate(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.mediaconvert.CfnJobTemplateProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** * (experimental) Examines the CloudFormation resource and discloses attributes. *

* @param inspector - tree inspector to collect and process attributes. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void inspect(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.TreeInspector inspector) { software.amazon.jsii.Kernel.call(this, "inspect", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(inspector, "inspector is required") }); } /** * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override protected @org.jetbrains.annotations.NotNull java.util.Map renderProperties(final @org.jetbrains.annotations.NotNull java.util.Map props) { return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.call(this, "renderProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)), new Object[] { java.util.Objects.requireNonNull(props, "props is required") })); } /** * The CloudFormation resource type name for this resource class. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static java.lang.String CFN_RESOURCE_TYPE_NAME; /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getAttrArn() { return software.amazon.jsii.Kernel.get(this, "attrArn", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getAttrName() { return software.amazon.jsii.Kernel.get(this, "attrName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) protected @org.jetbrains.annotations.NotNull java.util.Map getCfnProperties() { return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "cfnProperties", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** * `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) public @org.jetbrains.annotations.NotNull software.amazon.awscdk.core.TagManager getTags() { return software.amazon.jsii.Kernel.get(this, "tags", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.core.TagManager.class)); } /** * `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) public @org.jetbrains.annotations.NotNull java.lang.Object getSettingsJson() { return software.amazon.jsii.Kernel.get(this, "settingsJson", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** * `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) public void setSettingsJson(final @org.jetbrains.annotations.NotNull java.lang.Object value) { software.amazon.jsii.Kernel.set(this, "settingsJson", java.util.Objects.requireNonNull(value, "settingsJson is required")); } /** * `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) public @org.jetbrains.annotations.Nullable java.lang.Object getAccelerationSettings() { return software.amazon.jsii.Kernel.get(this, "accelerationSettings", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** * `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) public void setAccelerationSettings(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "accelerationSettings", value); } /** * `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) public void setAccelerationSettings(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.mediaconvert.CfnJobTemplate.AccelerationSettingsProperty value) { software.amazon.jsii.Kernel.set(this, "accelerationSettings", value); } /** * `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) public @org.jetbrains.annotations.Nullable java.lang.String getCategory() { return software.amazon.jsii.Kernel.get(this, "category", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * `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) public void setCategory(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "category", value); } /** * `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) public @org.jetbrains.annotations.Nullable java.lang.String getDescription() { return software.amazon.jsii.Kernel.get(this, "description", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * `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) public void setDescription(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "description", value); } /** * `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) public @org.jetbrains.annotations.Nullable java.lang.Object getHopDestinations() { return software.amazon.jsii.Kernel.get(this, "hopDestinations", software.amazon.jsii.NativeType.forClass(java.lang.Object.class)); } /** * `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) public void setHopDestinations(final @org.jetbrains.annotations.Nullable software.amazon.awscdk.core.IResolvable value) { software.amazon.jsii.Kernel.set(this, "hopDestinations", value); } /** * `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) public void setHopDestinations(final @org.jetbrains.annotations.Nullable java.util.List value) { software.amazon.jsii.Kernel.set(this, "hopDestinations", value); } /** * `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) public @org.jetbrains.annotations.Nullable java.lang.String getName() { return software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * `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) public void setName(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "name", value); } /** * `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) public @org.jetbrains.annotations.Nullable java.lang.Number getPriority() { return software.amazon.jsii.Kernel.get(this, "priority", software.amazon.jsii.NativeType.forClass(java.lang.Number.class)); } /** * `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) public void setPriority(final @org.jetbrains.annotations.Nullable java.lang.Number value) { software.amazon.jsii.Kernel.set(this, "priority", value); } /** * `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) public @org.jetbrains.annotations.Nullable java.lang.String getQueue() { return software.amazon.jsii.Kernel.get(this, "queue", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * `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) public void setQueue(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "queue", value); } /** * `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) public @org.jetbrains.annotations.Nullable java.lang.String getStatusUpdateInterval() { return software.amazon.jsii.Kernel.get(this, "statusUpdateInterval", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * `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) public void setStatusUpdateInterval(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "statusUpdateInterval", value); } /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-accelerationsettings.html */ @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.mediaconvert.$Module.class, fqn = "@aws-cdk/aws-mediaconvert.CfnJobTemplate.AccelerationSettingsProperty") @software.amazon.jsii.Jsii.Proxy(AccelerationSettingsProperty.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static interface AccelerationSettingsProperty extends software.amazon.jsii.JsiiSerializable { /** * `CfnJobTemplate.AccelerationSettingsProperty.Mode`. *

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-accelerationsettings.html#cfn-mediaconvert-jobtemplate-accelerationsettings-mode */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @org.jetbrains.annotations.NotNull java.lang.String getMode(); /** * @return a {@link Builder} of {@link AccelerationSettingsProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) static Builder builder() { return new Builder(); } /** * A builder for {@link AccelerationSettingsProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { private java.lang.String mode; /** * Sets the value of {@link AccelerationSettingsProperty#getMode} * @param mode `CfnJobTemplate.AccelerationSettingsProperty.Mode`. This parameter is required. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder mode(java.lang.String mode) { this.mode = mode; return this; } /** * Builds the configured instance. * @return a new instance of {@link AccelerationSettingsProperty} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public AccelerationSettingsProperty build() { return new Jsii$Proxy(mode); } } /** * An implementation for {@link AccelerationSettingsProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AccelerationSettingsProperty { private final java.lang.String mode; /** * 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.mode = software.amazon.jsii.Kernel.get(this, "mode", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ protected Jsii$Proxy(final java.lang.String mode) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.mode = java.util.Objects.requireNonNull(mode, "mode is required"); } @Override public final java.lang.String getMode() { return this.mode; } @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("mode", om.valueToTree(this.getMode())); 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.CfnJobTemplate.AccelerationSettingsProperty")); 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; AccelerationSettingsProperty.Jsii$Proxy that = (AccelerationSettingsProperty.Jsii$Proxy) o; return this.mode.equals(that.mode); } @Override public final int hashCode() { int result = this.mode.hashCode(); return result; } } } /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-hopdestination.html */ @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.mediaconvert.$Module.class, fqn = "@aws-cdk/aws-mediaconvert.CfnJobTemplate.HopDestinationProperty") @software.amazon.jsii.Jsii.Proxy(HopDestinationProperty.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static interface HopDestinationProperty extends software.amazon.jsii.JsiiSerializable { /** * `CfnJobTemplate.HopDestinationProperty.Priority`. *

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

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

* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-mediaconvert-jobtemplate-hopdestination.html#cfn-mediaconvert-jobtemplate-hopdestination-waitminutes */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) default @org.jetbrains.annotations.Nullable java.lang.Number getWaitMinutes() { return null; } /** * @return a {@link Builder} of {@link HopDestinationProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) static Builder builder() { return new Builder(); } /** * A builder for {@link HopDestinationProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { private java.lang.Number priority; private java.lang.String queue; private java.lang.Number waitMinutes; /** * Sets the value of {@link HopDestinationProperty#getPriority} * @param priority `CfnJobTemplate.HopDestinationProperty.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 HopDestinationProperty#getQueue} * @param queue `CfnJobTemplate.HopDestinationProperty.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 HopDestinationProperty#getWaitMinutes} * @param waitMinutes `CfnJobTemplate.HopDestinationProperty.WaitMinutes`. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder waitMinutes(java.lang.Number waitMinutes) { this.waitMinutes = waitMinutes; return this; } /** * Builds the configured instance. * @return a new instance of {@link HopDestinationProperty} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public HopDestinationProperty build() { return new Jsii$Proxy(priority, queue, waitMinutes); } } /** * An implementation for {@link HopDestinationProperty} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements HopDestinationProperty { private final java.lang.Number priority; private final java.lang.String queue; private final java.lang.Number waitMinutes; /** * 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.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.waitMinutes = software.amazon.jsii.Kernel.get(this, "waitMinutes", software.amazon.jsii.NativeType.forClass(java.lang.Number.class)); } /** * Constructor that initializes the object based on literal property values passed by the {@link Builder}. */ protected Jsii$Proxy(final java.lang.Number priority, final java.lang.String queue, final java.lang.Number waitMinutes) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.priority = priority; this.queue = queue; this.waitMinutes = waitMinutes; } @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.Number getWaitMinutes() { return this.waitMinutes; } @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(); if (this.getPriority() != null) { data.set("priority", om.valueToTree(this.getPriority())); } if (this.getQueue() != null) { data.set("queue", om.valueToTree(this.getQueue())); } if (this.getWaitMinutes() != null) { data.set("waitMinutes", om.valueToTree(this.getWaitMinutes())); } 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.CfnJobTemplate.HopDestinationProperty")); 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; HopDestinationProperty.Jsii$Proxy that = (HopDestinationProperty.Jsii$Proxy) o; 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; return this.waitMinutes != null ? this.waitMinutes.equals(that.waitMinutes) : that.waitMinutes == null; } @Override public final int hashCode() { int result = this.priority != null ? this.priority.hashCode() : 0; result = 31 * result + (this.queue != null ? this.queue.hashCode() : 0); result = 31 * result + (this.waitMinutes != null ? this.waitMinutes.hashCode() : 0); return result; } } } /** * A fluent builder for {@link software.amazon.awscdk.services.mediaconvert.CfnJobTemplate}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static final class Builder implements software.amazon.jsii.Builder { /** * @return a new instance of {@link Builder}. * @param scope - scope in which this resource is defined. This parameter is required. * @param id - scoped id of the resource. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static Builder create(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) { return new Builder(scope, id); } private final software.amazon.awscdk.core.Construct scope; private final java.lang.String id; private final software.amazon.awscdk.services.mediaconvert.CfnJobTemplateProps.Builder props; private Builder(final software.amazon.awscdk.core.Construct scope, final java.lang.String id) { this.scope = scope; this.id = id; this.props = new software.amazon.awscdk.services.mediaconvert.CfnJobTemplateProps.Builder(); } /** * `AWS::MediaConvert::JobTemplate.SettingsJson`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-settingsjson * @param settingsJson `AWS::MediaConvert::JobTemplate.SettingsJson`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder settingsJson(final java.lang.Object settingsJson) { this.props.settingsJson(settingsJson); return this; } /** * `AWS::MediaConvert::JobTemplate.AccelerationSettings`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-accelerationsettings * @param accelerationSettings `AWS::MediaConvert::JobTemplate.AccelerationSettings`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder accelerationSettings(final software.amazon.awscdk.core.IResolvable accelerationSettings) { this.props.accelerationSettings(accelerationSettings); return this; } /** * `AWS::MediaConvert::JobTemplate.AccelerationSettings`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-accelerationsettings * @param accelerationSettings `AWS::MediaConvert::JobTemplate.AccelerationSettings`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder accelerationSettings(final software.amazon.awscdk.services.mediaconvert.CfnJobTemplate.AccelerationSettingsProperty accelerationSettings) { this.props.accelerationSettings(accelerationSettings); return this; } /** * `AWS::MediaConvert::JobTemplate.Category`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-category * @param category `AWS::MediaConvert::JobTemplate.Category`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder category(final java.lang.String category) { this.props.category(category); return this; } /** * `AWS::MediaConvert::JobTemplate.Description`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-description * @param description `AWS::MediaConvert::JobTemplate.Description`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder description(final java.lang.String description) { this.props.description(description); return this; } /** * `AWS::MediaConvert::JobTemplate.HopDestinations`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-hopdestinations * @param hopDestinations `AWS::MediaConvert::JobTemplate.HopDestinations`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder hopDestinations(final software.amazon.awscdk.core.IResolvable hopDestinations) { this.props.hopDestinations(hopDestinations); return this; } /** * `AWS::MediaConvert::JobTemplate.HopDestinations`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-hopdestinations * @param hopDestinations `AWS::MediaConvert::JobTemplate.HopDestinations`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder hopDestinations(final java.util.List hopDestinations) { this.props.hopDestinations(hopDestinations); return this; } /** * `AWS::MediaConvert::JobTemplate.Name`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-name * @param name `AWS::MediaConvert::JobTemplate.Name`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder name(final java.lang.String name) { this.props.name(name); return this; } /** * `AWS::MediaConvert::JobTemplate.Priority`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-priority * @param priority `AWS::MediaConvert::JobTemplate.Priority`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder priority(final java.lang.Number priority) { this.props.priority(priority); return this; } /** * `AWS::MediaConvert::JobTemplate.Queue`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-queue * @param queue `AWS::MediaConvert::JobTemplate.Queue`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder queue(final java.lang.String queue) { this.props.queue(queue); return this; } /** * `AWS::MediaConvert::JobTemplate.StatusUpdateInterval`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-statusupdateinterval * @param statusUpdateInterval `AWS::MediaConvert::JobTemplate.StatusUpdateInterval`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder statusUpdateInterval(final java.lang.String statusUpdateInterval) { this.props.statusUpdateInterval(statusUpdateInterval); return this; } /** * `AWS::MediaConvert::JobTemplate.Tags`. *

* @return {@code this} * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconvert-jobtemplate.html#cfn-mediaconvert-jobtemplate-tags * @param tags `AWS::MediaConvert::JobTemplate.Tags`. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder tags(final java.lang.Object tags) { this.props.tags(tags); return this; } /** * @returns a newly built instance of {@link software.amazon.awscdk.services.mediaconvert.CfnJobTemplate}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public software.amazon.awscdk.services.mediaconvert.CfnJobTemplate build() { return new software.amazon.awscdk.services.mediaconvert.CfnJobTemplate( this.scope, this.id, this.props.build() ); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy