com.pulumi.aws.s3control.outputs.ObjectLambdaAccessPointConfigurationTransformationConfiguration 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.s3control.outputs;
import com.pulumi.aws.s3control.outputs.ObjectLambdaAccessPointConfigurationTransformationConfigurationContentTransformation;
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 ObjectLambdaAccessPointConfigurationTransformationConfiguration {
/**
* @return The actions of an Object Lambda Access Point configuration. Valid values: `GetObject`.
*
*/
private List actions;
/**
* @return The content transformation of an Object Lambda Access Point configuration. See Content Transformation below for more details.
*
*/
private ObjectLambdaAccessPointConfigurationTransformationConfigurationContentTransformation contentTransformation;
private ObjectLambdaAccessPointConfigurationTransformationConfiguration() {}
/**
* @return The actions of an Object Lambda Access Point configuration. Valid values: `GetObject`.
*
*/
public List actions() {
return this.actions;
}
/**
* @return The content transformation of an Object Lambda Access Point configuration. See Content Transformation below for more details.
*
*/
public ObjectLambdaAccessPointConfigurationTransformationConfigurationContentTransformation contentTransformation() {
return this.contentTransformation;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ObjectLambdaAccessPointConfigurationTransformationConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List actions;
private ObjectLambdaAccessPointConfigurationTransformationConfigurationContentTransformation contentTransformation;
public Builder() {}
public Builder(ObjectLambdaAccessPointConfigurationTransformationConfiguration defaults) {
Objects.requireNonNull(defaults);
this.actions = defaults.actions;
this.contentTransformation = defaults.contentTransformation;
}
@CustomType.Setter
public Builder actions(List actions) {
if (actions == null) {
throw new MissingRequiredPropertyException("ObjectLambdaAccessPointConfigurationTransformationConfiguration", "actions");
}
this.actions = actions;
return this;
}
public Builder actions(String... actions) {
return actions(List.of(actions));
}
@CustomType.Setter
public Builder contentTransformation(ObjectLambdaAccessPointConfigurationTransformationConfigurationContentTransformation contentTransformation) {
if (contentTransformation == null) {
throw new MissingRequiredPropertyException("ObjectLambdaAccessPointConfigurationTransformationConfiguration", "contentTransformation");
}
this.contentTransformation = contentTransformation;
return this;
}
public ObjectLambdaAccessPointConfigurationTransformationConfiguration build() {
final var _resultValue = new ObjectLambdaAccessPointConfigurationTransformationConfiguration();
_resultValue.actions = actions;
_resultValue.contentTransformation = contentTransformation;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy