com.pulumi.aws.grafana.outputs.WorkspaceNetworkAccessControl 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.grafana.outputs;
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 WorkspaceNetworkAccessControl {
/**
* @return An array of prefix list IDs.
*
*/
private List prefixListIds;
/**
* @return An array of Amazon VPC endpoint IDs for the workspace. The only VPC endpoints that can be specified here are interface VPC endpoints for Grafana workspaces (using the com.amazonaws.[region].grafana-workspace service endpoint). Other VPC endpoints will be ignored.
*
*/
private List vpceIds;
private WorkspaceNetworkAccessControl() {}
/**
* @return An array of prefix list IDs.
*
*/
public List prefixListIds() {
return this.prefixListIds;
}
/**
* @return An array of Amazon VPC endpoint IDs for the workspace. The only VPC endpoints that can be specified here are interface VPC endpoints for Grafana workspaces (using the com.amazonaws.[region].grafana-workspace service endpoint). Other VPC endpoints will be ignored.
*
*/
public List vpceIds() {
return this.vpceIds;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkspaceNetworkAccessControl defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List prefixListIds;
private List vpceIds;
public Builder() {}
public Builder(WorkspaceNetworkAccessControl defaults) {
Objects.requireNonNull(defaults);
this.prefixListIds = defaults.prefixListIds;
this.vpceIds = defaults.vpceIds;
}
@CustomType.Setter
public Builder prefixListIds(List prefixListIds) {
if (prefixListIds == null) {
throw new MissingRequiredPropertyException("WorkspaceNetworkAccessControl", "prefixListIds");
}
this.prefixListIds = prefixListIds;
return this;
}
public Builder prefixListIds(String... prefixListIds) {
return prefixListIds(List.of(prefixListIds));
}
@CustomType.Setter
public Builder vpceIds(List vpceIds) {
if (vpceIds == null) {
throw new MissingRequiredPropertyException("WorkspaceNetworkAccessControl", "vpceIds");
}
this.vpceIds = vpceIds;
return this;
}
public Builder vpceIds(String... vpceIds) {
return vpceIds(List.of(vpceIds));
}
public WorkspaceNetworkAccessControl build() {
final var _resultValue = new WorkspaceNetworkAccessControl();
_resultValue.prefixListIds = prefixListIds;
_resultValue.vpceIds = vpceIds;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy