Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.directconnect.LinkAggregationGroupArgs 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.directconnect;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class LinkAggregationGroupArgs extends com.pulumi.resources.ResourceArgs {
public static final LinkAggregationGroupArgs Empty = new LinkAggregationGroupArgs();
/**
* The ID of an existing dedicated connection to migrate to the LAG.
*
*/
@Import(name="connectionId")
private @Nullable Output connectionId;
/**
* @return The ID of an existing dedicated connection to migrate to the LAG.
*
*/
public Optional> connectionId() {
return Optional.ofNullable(this.connectionId);
}
/**
* The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
*
*/
@Import(name="connectionsBandwidth", required=true)
private Output connectionsBandwidth;
/**
* @return The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
*
*/
public Output connectionsBandwidth() {
return this.connectionsBandwidth;
}
/**
* A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable.
*
*/
@Import(name="forceDestroy")
private @Nullable Output forceDestroy;
/**
* @return A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable.
*
*/
public Optional> forceDestroy() {
return Optional.ofNullable(this.forceDestroy);
}
/**
* The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
*
*/
@Import(name="location", required=true)
private Output location;
/**
* @return The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
*
*/
public Output location() {
return this.location;
}
/**
* The name of the LAG.
*
*/
@Import(name="name")
private @Nullable Output name;
/**
* @return The name of the LAG.
*
*/
public Optional> name() {
return Optional.ofNullable(this.name);
}
/**
* The name of the service provider associated with the LAG.
*
*/
@Import(name="providerName")
private @Nullable Output providerName;
/**
* @return The name of the service provider associated with the LAG.
*
*/
public Optional> providerName() {
return Optional.ofNullable(this.providerName);
}
/**
* A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
*/
@Import(name="tags")
private @Nullable Output> tags;
/**
* @return A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
*/
public Optional>> tags() {
return Optional.ofNullable(this.tags);
}
private LinkAggregationGroupArgs() {}
private LinkAggregationGroupArgs(LinkAggregationGroupArgs $) {
this.connectionId = $.connectionId;
this.connectionsBandwidth = $.connectionsBandwidth;
this.forceDestroy = $.forceDestroy;
this.location = $.location;
this.name = $.name;
this.providerName = $.providerName;
this.tags = $.tags;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LinkAggregationGroupArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private LinkAggregationGroupArgs $;
public Builder() {
$ = new LinkAggregationGroupArgs();
}
public Builder(LinkAggregationGroupArgs defaults) {
$ = new LinkAggregationGroupArgs(Objects.requireNonNull(defaults));
}
/**
* @param connectionId The ID of an existing dedicated connection to migrate to the LAG.
*
* @return builder
*
*/
public Builder connectionId(@Nullable Output connectionId) {
$.connectionId = connectionId;
return this;
}
/**
* @param connectionId The ID of an existing dedicated connection to migrate to the LAG.
*
* @return builder
*
*/
public Builder connectionId(String connectionId) {
return connectionId(Output.of(connectionId));
}
/**
* @param connectionsBandwidth The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
*
* @return builder
*
*/
public Builder connectionsBandwidth(Output connectionsBandwidth) {
$.connectionsBandwidth = connectionsBandwidth;
return this;
}
/**
* @param connectionsBandwidth The bandwidth of the individual physical connections bundled by the LAG. Valid values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps and 100Gbps. Case sensitive.
*
* @return builder
*
*/
public Builder connectionsBandwidth(String connectionsBandwidth) {
return connectionsBandwidth(Output.of(connectionsBandwidth));
}
/**
* @param forceDestroy A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable.
*
* @return builder
*
*/
public Builder forceDestroy(@Nullable Output forceDestroy) {
$.forceDestroy = forceDestroy;
return this;
}
/**
* @param forceDestroy A boolean that indicates all connections associated with the LAG should be deleted so that the LAG can be destroyed without error. These objects are *not* recoverable.
*
* @return builder
*
*/
public Builder forceDestroy(Boolean forceDestroy) {
return forceDestroy(Output.of(forceDestroy));
}
/**
* @param location The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
*
* @return builder
*
*/
public Builder location(Output location) {
$.location = location;
return this;
}
/**
* @param location The AWS Direct Connect location in which the LAG should be allocated. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
*
* @return builder
*
*/
public Builder location(String location) {
return location(Output.of(location));
}
/**
* @param name The name of the LAG.
*
* @return builder
*
*/
public Builder name(@Nullable Output name) {
$.name = name;
return this;
}
/**
* @param name The name of the LAG.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param providerName The name of the service provider associated with the LAG.
*
* @return builder
*
*/
public Builder providerName(@Nullable Output providerName) {
$.providerName = providerName;
return this;
}
/**
* @param providerName The name of the service provider associated with the LAG.
*
* @return builder
*
*/
public Builder providerName(String providerName) {
return providerName(Output.of(providerName));
}
/**
* @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
* @return builder
*
*/
public Builder tags(@Nullable Output> tags) {
$.tags = tags;
return this;
}
/**
* @param tags A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
*
* @return builder
*
*/
public Builder tags(Map tags) {
return tags(Output.of(tags));
}
public LinkAggregationGroupArgs build() {
if ($.connectionsBandwidth == null) {
throw new MissingRequiredPropertyException("LinkAggregationGroupArgs", "connectionsBandwidth");
}
if ($.location == null) {
throw new MissingRequiredPropertyException("LinkAggregationGroupArgs", "location");
}
return $;
}
}
}