Class TransitGatewayState.Builder

  • Enclosing class:
    TransitGatewayState

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

      • amazonSideAsn

        public TransitGatewayState.Builder amazonSideAsn​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> amazonSideAsn)
        Parameters:
        amazonSideAsn - Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is `64512` to `65534` for 16-bit ASNs and `4200000000` to `4294967294` for 32-bit ASNs. Default value: `64512`. > **NOTE:** Modifying `amazonSideAsn` on a Transit Gateway with active BGP sessions is [not allowed](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyTransitGatewayOptions.html). You must first delete all Transit Gateway attachments that have BGP configured prior to modifying `amazonSideAsn`.
        Returns:
        builder
      • amazonSideAsn

        public TransitGatewayState.Builder amazonSideAsn​(java.lang.Integer amazonSideAsn)
        Parameters:
        amazonSideAsn - Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is `64512` to `65534` for 16-bit ASNs and `4200000000` to `4294967294` for 32-bit ASNs. Default value: `64512`. > **NOTE:** Modifying `amazonSideAsn` on a Transit Gateway with active BGP sessions is [not allowed](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyTransitGatewayOptions.html). You must first delete all Transit Gateway attachments that have BGP configured prior to modifying `amazonSideAsn`.
        Returns:
        builder
      • arn

        public TransitGatewayState.Builder arn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - EC2 Transit Gateway ARN
        Returns:
        builder
      • associationDefaultRouteTableId

        public TransitGatewayState.Builder associationDefaultRouteTableId​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.String> associationDefaultRouteTableId)
        Parameters:
        associationDefaultRouteTableId - Identifier of the default association route table
        Returns:
        builder
      • associationDefaultRouteTableId

        public TransitGatewayState.Builder associationDefaultRouteTableId​(java.lang.String associationDefaultRouteTableId)
        Parameters:
        associationDefaultRouteTableId - Identifier of the default association route table
        Returns:
        builder
      • autoAcceptSharedAttachments

        public TransitGatewayState.Builder autoAcceptSharedAttachments​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.String> autoAcceptSharedAttachments)
        Parameters:
        autoAcceptSharedAttachments - Whether resource attachment requests are automatically accepted. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • autoAcceptSharedAttachments

        public TransitGatewayState.Builder autoAcceptSharedAttachments​(java.lang.String autoAcceptSharedAttachments)
        Parameters:
        autoAcceptSharedAttachments - Whether resource attachment requests are automatically accepted. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • defaultRouteTableAssociation

        public TransitGatewayState.Builder defaultRouteTableAssociation​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> defaultRouteTableAssociation)
        Parameters:
        defaultRouteTableAssociation - Whether resource attachments are automatically associated with the default association route table. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder
      • defaultRouteTableAssociation

        public TransitGatewayState.Builder defaultRouteTableAssociation​(java.lang.String defaultRouteTableAssociation)
        Parameters:
        defaultRouteTableAssociation - Whether resource attachments are automatically associated with the default association route table. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder
      • defaultRouteTablePropagation

        public TransitGatewayState.Builder defaultRouteTablePropagation​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> defaultRouteTablePropagation)
        Parameters:
        defaultRouteTablePropagation - Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder
      • defaultRouteTablePropagation

        public TransitGatewayState.Builder defaultRouteTablePropagation​(java.lang.String defaultRouteTablePropagation)
        Parameters:
        defaultRouteTablePropagation - Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder
      • description

        public TransitGatewayState.Builder description​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the EC2 Transit Gateway.
        Returns:
        builder
      • description

        public TransitGatewayState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the EC2 Transit Gateway.
        Returns:
        builder
      • dnsSupport

        public TransitGatewayState.Builder dnsSupport​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> dnsSupport)
        Parameters:
        dnsSupport - Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder
      • dnsSupport

        public TransitGatewayState.Builder dnsSupport​(java.lang.String dnsSupport)
        Parameters:
        dnsSupport - Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder
      • encryptionSupport

        public TransitGatewayState.Builder encryptionSupport​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> encryptionSupport)
        Parameters:
        encryptionSupport - Whether encryption support for VPC Encryption Control is enabled. Valid values: `disable`, `enable`. Default value: `disable`. Once set, switching to `disable` requires explicitly specifying `disable` rather than removing the argument.
        Returns:
        builder
      • encryptionSupport

        public TransitGatewayState.Builder encryptionSupport​(java.lang.String encryptionSupport)
        Parameters:
        encryptionSupport - Whether encryption support for VPC Encryption Control is enabled. Valid values: `disable`, `enable`. Default value: `disable`. Once set, switching to `disable` requires explicitly specifying `disable` rather than removing the argument.
        Returns:
        builder
      • multicastSupport

        public TransitGatewayState.Builder multicastSupport​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> multicastSupport)
        Parameters:
        multicastSupport - Whether Multicast support is enabled. Required to use `ec2TransitGatewayMulticastDomain`. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • multicastSupport

        public TransitGatewayState.Builder multicastSupport​(java.lang.String multicastSupport)
        Parameters:
        multicastSupport - Whether Multicast support is enabled. Required to use `ec2TransitGatewayMulticastDomain`. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • ownerId

        public TransitGatewayState.Builder ownerId​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - Identifier of the AWS account that owns the EC2 Transit Gateway
        Returns:
        builder
      • ownerId

        public TransitGatewayState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - Identifier of the AWS account that owns the EC2 Transit Gateway
        Returns:
        builder
      • propagationDefaultRouteTableId

        public TransitGatewayState.Builder propagationDefaultRouteTableId​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.String> propagationDefaultRouteTableId)
        Parameters:
        propagationDefaultRouteTableId - Identifier of the default propagation route table
        Returns:
        builder
      • propagationDefaultRouteTableId

        public TransitGatewayState.Builder propagationDefaultRouteTableId​(java.lang.String propagationDefaultRouteTableId)
        Parameters:
        propagationDefaultRouteTableId - Identifier of the default propagation route table
        Returns:
        builder
      • region

        public TransitGatewayState.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 TransitGatewayState.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
      • securityGroupReferencingSupport

        public TransitGatewayState.Builder securityGroupReferencingSupport​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> securityGroupReferencingSupport)
        Parameters:
        securityGroupReferencingSupport - Whether Security Group Referencing Support is enabled. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • securityGroupReferencingSupport

        public TransitGatewayState.Builder securityGroupReferencingSupport​(java.lang.String securityGroupReferencingSupport)
        Parameters:
        securityGroupReferencingSupport - Whether Security Group Referencing Support is enabled. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • tags

        public TransitGatewayState.Builder tags​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value tags for the EC2 Transit Gateway. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public TransitGatewayState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value tags for the EC2 Transit Gateway. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public TransitGatewayState.Builder tagsAll​(@Nullable
                                                   com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public TransitGatewayState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • transitGatewayCidrBlocks

        public TransitGatewayState.Builder transitGatewayCidrBlocks​(@Nullable
                                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> transitGatewayCidrBlocks)
        Parameters:
        transitGatewayCidrBlocks - One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
        Returns:
        builder
      • transitGatewayCidrBlocks

        public TransitGatewayState.Builder transitGatewayCidrBlocks​(java.util.List<java.lang.String> transitGatewayCidrBlocks)
        Parameters:
        transitGatewayCidrBlocks - One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
        Returns:
        builder
      • transitGatewayCidrBlocks

        public TransitGatewayState.Builder transitGatewayCidrBlocks​(java.lang.String... transitGatewayCidrBlocks)
        Parameters:
        transitGatewayCidrBlocks - One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.
        Returns:
        builder
      • vpnEcmpSupport

        public TransitGatewayState.Builder vpnEcmpSupport​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> vpnEcmpSupport)
        Parameters:
        vpnEcmpSupport - Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder
      • vpnEcmpSupport

        public TransitGatewayState.Builder vpnEcmpSupport​(java.lang.String vpnEcmpSupport)
        Parameters:
        vpnEcmpSupport - Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder