
com.pulumi.aws.s3.outputs.InventoryDestination Maven / Gradle / Ivy
// *** 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.s3.outputs;
import com.pulumi.aws.s3.outputs.InventoryDestinationBucket;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
@CustomType
public final class InventoryDestination {
/**
* @return S3 bucket configuration where inventory results are published (documented below).
*
*/
private InventoryDestinationBucket bucket;
private InventoryDestination() {}
/**
* @return S3 bucket configuration where inventory results are published (documented below).
*
*/
public InventoryDestinationBucket bucket() {
return this.bucket;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InventoryDestination defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private InventoryDestinationBucket bucket;
public Builder() {}
public Builder(InventoryDestination defaults) {
Objects.requireNonNull(defaults);
this.bucket = defaults.bucket;
}
@CustomType.Setter
public Builder bucket(InventoryDestinationBucket bucket) {
if (bucket == null) {
throw new MissingRequiredPropertyException("InventoryDestination", "bucket");
}
this.bucket = bucket;
return this;
}
public InventoryDestination build() {
final var _resultValue = new InventoryDestination();
_resultValue.bucket = bucket;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy