com.pulumi.azurenative.media.inputs.UtcClipTimeArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.media.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Specifies the clip time as a Utc time position in the media file. The Utc time can point to a different position depending on whether the media file starts from a timestamp of zero or not.
*
*/
public final class UtcClipTimeArgs extends com.pulumi.resources.ResourceArgs {
public static final UtcClipTimeArgs Empty = new UtcClipTimeArgs();
/**
* The discriminator for derived types.
* Expected value is '#Microsoft.Media.UtcClipTime'.
*
*/
@Import(name="odataType", required=true)
private Output odataType;
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.UtcClipTime'.
*
*/
public Output odataType() {
return this.odataType;
}
/**
* The time position on the timeline of the input media based on Utc time.
*
*/
@Import(name="time", required=true)
private Output time;
/**
* @return The time position on the timeline of the input media based on Utc time.
*
*/
public Output time() {
return this.time;
}
private UtcClipTimeArgs() {}
private UtcClipTimeArgs(UtcClipTimeArgs $) {
this.odataType = $.odataType;
this.time = $.time;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UtcClipTimeArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private UtcClipTimeArgs $;
public Builder() {
$ = new UtcClipTimeArgs();
}
public Builder(UtcClipTimeArgs defaults) {
$ = new UtcClipTimeArgs(Objects.requireNonNull(defaults));
}
/**
* @param odataType The discriminator for derived types.
* Expected value is '#Microsoft.Media.UtcClipTime'.
*
* @return builder
*
*/
public Builder odataType(Output odataType) {
$.odataType = odataType;
return this;
}
/**
* @param odataType The discriminator for derived types.
* Expected value is '#Microsoft.Media.UtcClipTime'.
*
* @return builder
*
*/
public Builder odataType(String odataType) {
return odataType(Output.of(odataType));
}
/**
* @param time The time position on the timeline of the input media based on Utc time.
*
* @return builder
*
*/
public Builder time(Output time) {
$.time = time;
return this;
}
/**
* @param time The time position on the timeline of the input media based on Utc time.
*
* @return builder
*
*/
public Builder time(String time) {
return time(Output.of(time));
}
public UtcClipTimeArgs build() {
$.odataType = Codegen.stringProp("odataType").output().arg($.odataType).require();
if ($.time == null) {
throw new MissingRequiredPropertyException("UtcClipTimeArgs", "time");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy