com.pulumi.aws.networkfirewall.outputs.GetFirewallFirewallStatusSyncState 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.networkfirewall.outputs;
import com.pulumi.aws.networkfirewall.outputs.GetFirewallFirewallStatusSyncStateAttachment;
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 GetFirewallFirewallStatusSyncState {
/**
* @return Nested list describing the attachment status of the firewall's association with a single VPC subnet.
*
*/
private List attachments;
/**
* @return The Availability Zone where the subnet is configured.
*
*/
private String availabilityZone;
private GetFirewallFirewallStatusSyncState() {}
/**
* @return Nested list describing the attachment status of the firewall's association with a single VPC subnet.
*
*/
public List attachments() {
return this.attachments;
}
/**
* @return The Availability Zone where the subnet is configured.
*
*/
public String availabilityZone() {
return this.availabilityZone;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetFirewallFirewallStatusSyncState defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List attachments;
private String availabilityZone;
public Builder() {}
public Builder(GetFirewallFirewallStatusSyncState defaults) {
Objects.requireNonNull(defaults);
this.attachments = defaults.attachments;
this.availabilityZone = defaults.availabilityZone;
}
@CustomType.Setter
public Builder attachments(List attachments) {
if (attachments == null) {
throw new MissingRequiredPropertyException("GetFirewallFirewallStatusSyncState", "attachments");
}
this.attachments = attachments;
return this;
}
public Builder attachments(GetFirewallFirewallStatusSyncStateAttachment... attachments) {
return attachments(List.of(attachments));
}
@CustomType.Setter
public Builder availabilityZone(String availabilityZone) {
if (availabilityZone == null) {
throw new MissingRequiredPropertyException("GetFirewallFirewallStatusSyncState", "availabilityZone");
}
this.availabilityZone = availabilityZone;
return this;
}
public GetFirewallFirewallStatusSyncState build() {
final var _resultValue = new GetFirewallFirewallStatusSyncState();
_resultValue.attachments = attachments;
_resultValue.availabilityZone = availabilityZone;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy