Class GatewayAssociationArgs.Builder

  • Enclosing class:
    GatewayAssociationArgs

    public static final class GatewayAssociationArgs.Builder
    extends java.lang.Object
    • 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