com.pulumi.aws.medialive.outputs.ChannelEncoderSettingsOutputGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.medialive.outputs;
import com.pulumi.aws.medialive.outputs.ChannelEncoderSettingsOutputGroupOutput;
import com.pulumi.aws.medialive.outputs.ChannelEncoderSettingsOutputGroupOutputGroupSettings;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ChannelEncoderSettingsOutputGroup {
/**
* @return Custom output group name defined by the user.
*
*/
private @Nullable String name;
/**
* @return Settings associated with the output group. See Output Group Settings for more details.
*
*/
private ChannelEncoderSettingsOutputGroupOutputGroupSettings outputGroupSettings;
/**
* @return List of outputs. See Outputs for more details.
*
*/
private List outputs;
private ChannelEncoderSettingsOutputGroup() {}
/**
* @return Custom output group name defined by the user.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Settings associated with the output group. See Output Group Settings for more details.
*
*/
public ChannelEncoderSettingsOutputGroupOutputGroupSettings outputGroupSettings() {
return this.outputGroupSettings;
}
/**
* @return List of outputs. See Outputs for more details.
*
*/
public List outputs() {
return this.outputs;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ChannelEncoderSettingsOutputGroup defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String name;
private ChannelEncoderSettingsOutputGroupOutputGroupSettings outputGroupSettings;
private List outputs;
public Builder() {}
public Builder(ChannelEncoderSettingsOutputGroup defaults) {
Objects.requireNonNull(defaults);
this.name = defaults.name;
this.outputGroupSettings = defaults.outputGroupSettings;
this.outputs = defaults.outputs;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder outputGroupSettings(ChannelEncoderSettingsOutputGroupOutputGroupSettings outputGroupSettings) {
if (outputGroupSettings == null) {
throw new MissingRequiredPropertyException("ChannelEncoderSettingsOutputGroup", "outputGroupSettings");
}
this.outputGroupSettings = outputGroupSettings;
return this;
}
@CustomType.Setter
public Builder outputs(List outputs) {
if (outputs == null) {
throw new MissingRequiredPropertyException("ChannelEncoderSettingsOutputGroup", "outputs");
}
this.outputs = outputs;
return this;
}
public Builder outputs(ChannelEncoderSettingsOutputGroupOutput... outputs) {
return outputs(List.of(outputs));
}
public ChannelEncoderSettingsOutputGroup build() {
final var _resultValue = new ChannelEncoderSettingsOutputGroup();
_resultValue.name = name;
_resultValue.outputGroupSettings = outputGroupSettings;
_resultValue.outputs = outputs;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy