com.pulumi.azurenative.media.outputs.MediaGraphAssetSinkResponse 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class MediaGraphAssetSinkResponse {
/**
* @return Asset name.
*
*/
private String assetName;
/**
* @return Sink inputs.
*
*/
private List inputs;
/**
* @return Sink name.
*
*/
private String name;
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.MediaGraphAssetSink'.
*
*/
private String odataType;
private MediaGraphAssetSinkResponse() {}
/**
* @return Asset name.
*
*/
public String assetName() {
return this.assetName;
}
/**
* @return Sink inputs.
*
*/
public List inputs() {
return this.inputs;
}
/**
* @return Sink name.
*
*/
public String name() {
return this.name;
}
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.MediaGraphAssetSink'.
*
*/
public String odataType() {
return this.odataType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MediaGraphAssetSinkResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String assetName;
private List inputs;
private String name;
private String odataType;
public Builder() {}
public Builder(MediaGraphAssetSinkResponse defaults) {
Objects.requireNonNull(defaults);
this.assetName = defaults.assetName;
this.inputs = defaults.inputs;
this.name = defaults.name;
this.odataType = defaults.odataType;
}
@CustomType.Setter
public Builder assetName(String assetName) {
if (assetName == null) {
throw new MissingRequiredPropertyException("MediaGraphAssetSinkResponse", "assetName");
}
this.assetName = assetName;
return this;
}
@CustomType.Setter
public Builder inputs(List inputs) {
if (inputs == null) {
throw new MissingRequiredPropertyException("MediaGraphAssetSinkResponse", "inputs");
}
this.inputs = inputs;
return this;
}
public Builder inputs(String... inputs) {
return inputs(List.of(inputs));
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("MediaGraphAssetSinkResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder odataType(String odataType) {
if (odataType == null) {
throw new MissingRequiredPropertyException("MediaGraphAssetSinkResponse", "odataType");
}
this.odataType = odataType;
return this;
}
public MediaGraphAssetSinkResponse build() {
final var _resultValue = new MediaGraphAssetSinkResponse();
_resultValue.assetName = assetName;
_resultValue.inputs = inputs;
_resultValue.name = name;
_resultValue.odataType = odataType;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy