com.pulumi.aws.elastictranscoder.outputs.PipelineThumbnailConfig 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.elastictranscoder.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PipelineThumbnailConfig {
/**
* @return The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
*
*/
private @Nullable String bucket;
/**
* @return The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
*
*/
private @Nullable String storageClass;
private PipelineThumbnailConfig() {}
/**
* @return The Amazon S3 bucket in which you want Elastic Transcoder to save thumbnail files.
*
*/
public Optional bucket() {
return Optional.ofNullable(this.bucket);
}
/**
* @return The Amazon S3 storage class, Standard or ReducedRedundancy, that you want Elastic Transcoder to assign to the thumbnails that it stores in your Amazon S3 bucket.
*
*/
public Optional storageClass() {
return Optional.ofNullable(this.storageClass);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PipelineThumbnailConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String bucket;
private @Nullable String storageClass;
public Builder() {}
public Builder(PipelineThumbnailConfig defaults) {
Objects.requireNonNull(defaults);
this.bucket = defaults.bucket;
this.storageClass = defaults.storageClass;
}
@CustomType.Setter
public Builder bucket(@Nullable String bucket) {
this.bucket = bucket;
return this;
}
@CustomType.Setter
public Builder storageClass(@Nullable String storageClass) {
this.storageClass = storageClass;
return this;
}
public PipelineThumbnailConfig build() {
final var _resultValue = new PipelineThumbnailConfig();
_resultValue.bucket = bucket;
_resultValue.storageClass = storageClass;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy