com.pulumi.aws.globalaccelerator.outputs.GetAcceleratorAttribute 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.globalaccelerator.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetAcceleratorAttribute {
private Boolean flowLogsEnabled;
private String flowLogsS3Bucket;
private String flowLogsS3Prefix;
private GetAcceleratorAttribute() {}
public Boolean flowLogsEnabled() {
return this.flowLogsEnabled;
}
public String flowLogsS3Bucket() {
return this.flowLogsS3Bucket;
}
public String flowLogsS3Prefix() {
return this.flowLogsS3Prefix;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAcceleratorAttribute defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean flowLogsEnabled;
private String flowLogsS3Bucket;
private String flowLogsS3Prefix;
public Builder() {}
public Builder(GetAcceleratorAttribute defaults) {
Objects.requireNonNull(defaults);
this.flowLogsEnabled = defaults.flowLogsEnabled;
this.flowLogsS3Bucket = defaults.flowLogsS3Bucket;
this.flowLogsS3Prefix = defaults.flowLogsS3Prefix;
}
@CustomType.Setter
public Builder flowLogsEnabled(Boolean flowLogsEnabled) {
if (flowLogsEnabled == null) {
throw new MissingRequiredPropertyException("GetAcceleratorAttribute", "flowLogsEnabled");
}
this.flowLogsEnabled = flowLogsEnabled;
return this;
}
@CustomType.Setter
public Builder flowLogsS3Bucket(String flowLogsS3Bucket) {
if (flowLogsS3Bucket == null) {
throw new MissingRequiredPropertyException("GetAcceleratorAttribute", "flowLogsS3Bucket");
}
this.flowLogsS3Bucket = flowLogsS3Bucket;
return this;
}
@CustomType.Setter
public Builder flowLogsS3Prefix(String flowLogsS3Prefix) {
if (flowLogsS3Prefix == null) {
throw new MissingRequiredPropertyException("GetAcceleratorAttribute", "flowLogsS3Prefix");
}
this.flowLogsS3Prefix = flowLogsS3Prefix;
return this;
}
public GetAcceleratorAttribute build() {
final var _resultValue = new GetAcceleratorAttribute();
_resultValue.flowLogsEnabled = flowLogsEnabled;
_resultValue.flowLogsS3Bucket = flowLogsS3Bucket;
_resultValue.flowLogsS3Prefix = flowLogsS3Prefix;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy