Package com.pulumi.aws.directconnect
Class GatewayAssociationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.directconnect.GatewayAssociationArgs.Builder
-
- Enclosing class:
- GatewayAssociationArgs
public static final class GatewayAssociationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GatewayAssociationArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayAssociationArgs.BuilderallowedPrefixes(com.pulumi.core.Output<java.util.List<java.lang.String>> allowedPrefixes)GatewayAssociationArgs.BuilderallowedPrefixes(java.lang.String... allowedPrefixes)GatewayAssociationArgs.BuilderallowedPrefixes(java.util.List<java.lang.String> allowedPrefixes)GatewayAssociationArgs.BuilderassociatedGatewayId(com.pulumi.core.Output<java.lang.String> associatedGatewayId)GatewayAssociationArgs.BuilderassociatedGatewayId(java.lang.String associatedGatewayId)GatewayAssociationArgs.BuilderassociatedGatewayOwnerAccountId(com.pulumi.core.Output<java.lang.String> associatedGatewayOwnerAccountId)GatewayAssociationArgs.BuilderassociatedGatewayOwnerAccountId(java.lang.String associatedGatewayOwnerAccountId)GatewayAssociationArgsbuild()GatewayAssociationArgs.BuilderdxGatewayId(com.pulumi.core.Output<java.lang.String> dxGatewayId)GatewayAssociationArgs.BuilderdxGatewayId(java.lang.String dxGatewayId)GatewayAssociationArgs.BuilderproposalId(com.pulumi.core.Output<java.lang.String> proposalId)GatewayAssociationArgs.BuilderproposalId(java.lang.String proposalId)GatewayAssociationArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)GatewayAssociationArgs.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GatewayAssociationArgs defaults)
-
-
Method Detail
-
allowedPrefixes
public GatewayAssociationArgs.Builder allowedPrefixes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> allowedPrefixes)
- Parameters:
allowedPrefixes- VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. > **NOTE:** `dxGatewayId` and `associatedGatewayId` must be specified for single account Direct Connect gateway associations. > **NOTE:** If the `associatedGatewayId` is in another region, an alias in a new provider block for that region should be specified.- Returns:
- builder
-
allowedPrefixes
public GatewayAssociationArgs.Builder allowedPrefixes(java.util.List<java.lang.String> allowedPrefixes)
- Parameters:
allowedPrefixes- VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. > **NOTE:** `dxGatewayId` and `associatedGatewayId` must be specified for single account Direct Connect gateway associations. > **NOTE:** If the `associatedGatewayId` is in another region, an alias in a new provider block for that region should be specified.- Returns:
- builder
-
allowedPrefixes
public GatewayAssociationArgs.Builder allowedPrefixes(java.lang.String... allowedPrefixes)
- Parameters:
allowedPrefixes- VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured. > **NOTE:** `dxGatewayId` and `associatedGatewayId` must be specified for single account Direct Connect gateway associations. > **NOTE:** If the `associatedGatewayId` is in another region, an alias in a new provider block for that region should be specified.- Returns:
- builder
-
associatedGatewayId
public GatewayAssociationArgs.Builder associatedGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> associatedGatewayId)
- Parameters:
associatedGatewayId- The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. Used for single account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayId
public GatewayAssociationArgs.Builder associatedGatewayId(java.lang.String associatedGatewayId)
- Parameters:
associatedGatewayId- The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. Used for single account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayOwnerAccountId
public GatewayAssociationArgs.Builder associatedGatewayOwnerAccountId(@Nullable com.pulumi.core.Output<java.lang.String> associatedGatewayOwnerAccountId)
- Parameters:
associatedGatewayOwnerAccountId- The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayOwnerAccountId
public GatewayAssociationArgs.Builder associatedGatewayOwnerAccountId(java.lang.String associatedGatewayOwnerAccountId)
- Parameters:
associatedGatewayOwnerAccountId- The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
dxGatewayId
public GatewayAssociationArgs.Builder dxGatewayId(com.pulumi.core.Output<java.lang.String> dxGatewayId)
- Parameters:
dxGatewayId- The ID of the Direct Connect gateway.- Returns:
- builder
-
dxGatewayId
public GatewayAssociationArgs.Builder dxGatewayId(java.lang.String dxGatewayId)
- Parameters:
dxGatewayId- The ID of the Direct Connect gateway.- Returns:
- builder
-
proposalId
public GatewayAssociationArgs.Builder proposalId(@Nullable com.pulumi.core.Output<java.lang.String> proposalId)
- Parameters:
proposalId- The ID of the Direct Connect gateway association proposal. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
proposalId
public GatewayAssociationArgs.Builder proposalId(java.lang.String proposalId)
- Parameters:
proposalId- The ID of the Direct Connect gateway association proposal. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
region
public GatewayAssociationArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public GatewayAssociationArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
build
public GatewayAssociationArgs build()
-
-