Class GatewayAssociationState.Builder

  • Enclosing class:
    GatewayAssociationState

    public static final class GatewayAssociationState.Builder
    extends java.lang.Object
    • Method Detail

      • allowedPrefixes

        public GatewayAssociationState.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.
        Returns:
        builder
      • allowedPrefixes

        public GatewayAssociationState.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.
        Returns:
        builder
      • allowedPrefixes

        public GatewayAssociationState.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.
        Returns:
        builder
      • associatedGatewayId

        public GatewayAssociationState.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 GatewayAssociationState.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 GatewayAssociationState.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 GatewayAssociationState.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
      • associatedGatewayType

        public GatewayAssociationState.Builder associatedGatewayType​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> associatedGatewayType)
        Parameters:
        associatedGatewayType - The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.
        Returns:
        builder
      • associatedGatewayType

        public GatewayAssociationState.Builder associatedGatewayType​(java.lang.String associatedGatewayType)
        Parameters:
        associatedGatewayType - The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.
        Returns:
        builder
      • dxGatewayAssociationId

        public GatewayAssociationState.Builder dxGatewayAssociationId​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> dxGatewayAssociationId)
        Parameters:
        dxGatewayAssociationId - The ID of the Direct Connect gateway association.
        Returns:
        builder
      • dxGatewayAssociationId

        public GatewayAssociationState.Builder dxGatewayAssociationId​(java.lang.String dxGatewayAssociationId)
        Parameters:
        dxGatewayAssociationId - The ID of the Direct Connect gateway association.
        Returns:
        builder
      • dxGatewayId

        public GatewayAssociationState.Builder dxGatewayId​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> dxGatewayId)
        Parameters:
        dxGatewayId - The ID of the Direct Connect gateway.
        Returns:
        builder
      • dxGatewayId

        public GatewayAssociationState.Builder dxGatewayId​(java.lang.String dxGatewayId)
        Parameters:
        dxGatewayId - The ID of the Direct Connect gateway.
        Returns:
        builder
      • dxGatewayOwnerAccountId

        public GatewayAssociationState.Builder dxGatewayOwnerAccountId​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.String> dxGatewayOwnerAccountId)
        Parameters:
        dxGatewayOwnerAccountId - The ID of the AWS account that owns the Direct Connect gateway.
        Returns:
        builder
      • dxGatewayOwnerAccountId

        public GatewayAssociationState.Builder dxGatewayOwnerAccountId​(java.lang.String dxGatewayOwnerAccountId)
        Parameters:
        dxGatewayOwnerAccountId - The ID of the AWS account that owns the Direct Connect gateway.
        Returns:
        builder
      • proposalId

        public GatewayAssociationState.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 GatewayAssociationState.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
      • vpnGatewayId

        @Deprecated
        public GatewayAssociationState.Builder vpnGatewayId​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> vpnGatewayId)
        Deprecated.
        use 'associated_gateway_id' argument instead
        Returns:
        builder
      • vpnGatewayId

        @Deprecated
        public GatewayAssociationState.Builder vpnGatewayId​(java.lang.String vpnGatewayId)
        Deprecated.
        use 'associated_gateway_id' argument instead
        Returns:
        builder