
com.pulumi.aws.worklink.inputs.FleetNetworkArgs 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.worklink.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class FleetNetworkArgs extends com.pulumi.resources.ResourceArgs {
public static final FleetNetworkArgs Empty = new FleetNetworkArgs();
/**
* A list of security group IDs associated with access to the provided subnets.
*
* **identity_provider** requires the following:
*
* > **NOTE:** `identity_provider` cannot be removed without force recreating.
*
*/
@Import(name="securityGroupIds", required=true)
private Output> securityGroupIds;
/**
* @return A list of security group IDs associated with access to the provided subnets.
*
* **identity_provider** requires the following:
*
* > **NOTE:** `identity_provider` cannot be removed without force recreating.
*
*/
public Output> securityGroupIds() {
return this.securityGroupIds;
}
/**
* A list of subnet IDs used for X-ENI connections from Amazon WorkLink rendering containers.
*
*/
@Import(name="subnetIds", required=true)
private Output> subnetIds;
/**
* @return A list of subnet IDs used for X-ENI connections from Amazon WorkLink rendering containers.
*
*/
public Output> subnetIds() {
return this.subnetIds;
}
/**
* The VPC ID with connectivity to associated websites.
*
*/
@Import(name="vpcId", required=true)
private Output vpcId;
/**
* @return The VPC ID with connectivity to associated websites.
*
*/
public Output vpcId() {
return this.vpcId;
}
private FleetNetworkArgs() {}
private FleetNetworkArgs(FleetNetworkArgs $) {
this.securityGroupIds = $.securityGroupIds;
this.subnetIds = $.subnetIds;
this.vpcId = $.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FleetNetworkArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private FleetNetworkArgs $;
public Builder() {
$ = new FleetNetworkArgs();
}
public Builder(FleetNetworkArgs defaults) {
$ = new FleetNetworkArgs(Objects.requireNonNull(defaults));
}
/**
* @param securityGroupIds A list of security group IDs associated with access to the provided subnets.
*
* **identity_provider** requires the following:
*
* > **NOTE:** `identity_provider` cannot be removed without force recreating.
*
* @return builder
*
*/
public Builder securityGroupIds(Output> securityGroupIds) {
$.securityGroupIds = securityGroupIds;
return this;
}
/**
* @param securityGroupIds A list of security group IDs associated with access to the provided subnets.
*
* **identity_provider** requires the following:
*
* > **NOTE:** `identity_provider` cannot be removed without force recreating.
*
* @return builder
*
*/
public Builder securityGroupIds(List securityGroupIds) {
return securityGroupIds(Output.of(securityGroupIds));
}
/**
* @param securityGroupIds A list of security group IDs associated with access to the provided subnets.
*
* **identity_provider** requires the following:
*
* > **NOTE:** `identity_provider` cannot be removed without force recreating.
*
* @return builder
*
*/
public Builder securityGroupIds(String... securityGroupIds) {
return securityGroupIds(List.of(securityGroupIds));
}
/**
* @param subnetIds A list of subnet IDs used for X-ENI connections from Amazon WorkLink rendering containers.
*
* @return builder
*
*/
public Builder subnetIds(Output> subnetIds) {
$.subnetIds = subnetIds;
return this;
}
/**
* @param subnetIds A list of subnet IDs used for X-ENI connections from Amazon WorkLink rendering containers.
*
* @return builder
*
*/
public Builder subnetIds(List subnetIds) {
return subnetIds(Output.of(subnetIds));
}
/**
* @param subnetIds A list of subnet IDs used for X-ENI connections from Amazon WorkLink rendering containers.
*
* @return builder
*
*/
public Builder subnetIds(String... subnetIds) {
return subnetIds(List.of(subnetIds));
}
/**
* @param vpcId The VPC ID with connectivity to associated websites.
*
* @return builder
*
*/
public Builder vpcId(Output vpcId) {
$.vpcId = vpcId;
return this;
}
/**
* @param vpcId The VPC ID with connectivity to associated websites.
*
* @return builder
*
*/
public Builder vpcId(String vpcId) {
return vpcId(Output.of(vpcId));
}
public FleetNetworkArgs build() {
if ($.securityGroupIds == null) {
throw new MissingRequiredPropertyException("FleetNetworkArgs", "securityGroupIds");
}
if ($.subnetIds == null) {
throw new MissingRequiredPropertyException("FleetNetworkArgs", "subnetIds");
}
if ($.vpcId == null) {
throw new MissingRequiredPropertyException("FleetNetworkArgs", "vpcId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy