Class ConnectionState.Builder

  • Enclosing class:
    ConnectionState

    public static final class ConnectionState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ConnectionState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the connection.
        Returns:
        builder
      • arn

        public ConnectionState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the connection.
        Returns:
        builder
      • awsDevice

        public ConnectionState.Builder awsDevice​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> awsDevice)
        Parameters:
        awsDevice - The Direct Connect endpoint on which the physical connection terminates.
        Returns:
        builder
      • awsDevice

        public ConnectionState.Builder awsDevice​(java.lang.String awsDevice)
        Parameters:
        awsDevice - The Direct Connect endpoint on which the physical connection terminates.
        Returns:
        builder
      • bandwidth

        public ConnectionState.Builder bandwidth​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> bandwidth)
        Parameters:
        bandwidth - The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps, 100Gbps, and 400Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Case sensitive. Refer to the AWS Direct Connection supported bandwidths for [Dedicated Connections](https://docs.aws.amazon.com/directconnect/latest/UserGuide/dedicated_connection.html) and [Hosted Connections](https://docs.aws.amazon.com/directconnect/latest/UserGuide/hosted_connection.html).
        Returns:
        builder
      • bandwidth

        public ConnectionState.Builder bandwidth​(java.lang.String bandwidth)
        Parameters:
        bandwidth - The bandwidth of the connection. Valid values for dedicated connections: 1Gbps, 10Gbps, 100Gbps, and 400Gbps. Valid values for hosted connections: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, 10Gbps, and 25Gbps. Case sensitive. Refer to the AWS Direct Connection supported bandwidths for [Dedicated Connections](https://docs.aws.amazon.com/directconnect/latest/UserGuide/dedicated_connection.html) and [Hosted Connections](https://docs.aws.amazon.com/directconnect/latest/UserGuide/hosted_connection.html).
        Returns:
        builder
      • encryptionMode

        public ConnectionState.Builder encryptionMode​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> encryptionMode)
        Parameters:
        encryptionMode - The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `noEncrypt`, `shouldEncrypt`, and `mustEncrypt`.
        Returns:
        builder
      • encryptionMode

        public ConnectionState.Builder encryptionMode​(java.lang.String encryptionMode)
        Parameters:
        encryptionMode - The connection MAC Security (MACsec) encryption mode. MAC Security (MACsec) is only available on dedicated connections. Valid values are `noEncrypt`, `shouldEncrypt`, and `mustEncrypt`.
        Returns:
        builder
      • hasLogicalRedundancy

        public ConnectionState.Builder hasLogicalRedundancy​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> hasLogicalRedundancy)
        Parameters:
        hasLogicalRedundancy - Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
        Returns:
        builder
      • hasLogicalRedundancy

        public ConnectionState.Builder hasLogicalRedundancy​(java.lang.String hasLogicalRedundancy)
        Parameters:
        hasLogicalRedundancy - Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).
        Returns:
        builder
      • jumboFrameCapable

        public ConnectionState.Builder jumboFrameCapable​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> jumboFrameCapable)
        Parameters:
        jumboFrameCapable - Boolean value representing if jumbo frames have been enabled for this connection.
        Returns:
        builder
      • jumboFrameCapable

        public ConnectionState.Builder jumboFrameCapable​(java.lang.Boolean jumboFrameCapable)
        Parameters:
        jumboFrameCapable - Boolean value representing if jumbo frames have been enabled for this connection.
        Returns:
        builder
      • location

        public ConnectionState.Builder location​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
        Returns:
        builder
      • location

        public ConnectionState.Builder location​(java.lang.String location)
        Parameters:
        location - The AWS Direct Connect location where the connection is located. See [DescribeLocations](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_DescribeLocations.html) for the list of AWS Direct Connect locations. Use `locationCode`.
        Returns:
        builder
      • macsecCapable

        public ConnectionState.Builder macsecCapable​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> macsecCapable)
        Parameters:
        macsecCapable - Boolean value indicating whether the connection supports MAC Security (MACsec).
        Returns:
        builder
      • macsecCapable

        public ConnectionState.Builder macsecCapable​(java.lang.Boolean macsecCapable)
        Parameters:
        macsecCapable - Boolean value indicating whether the connection supports MAC Security (MACsec).
        Returns:
        builder
      • name

        public ConnectionState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the connection.
        Returns:
        builder
      • name

        public ConnectionState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the connection.
        Returns:
        builder
      • ownerAccountId

        public ConnectionState.Builder ownerAccountId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> ownerAccountId)
        Parameters:
        ownerAccountId - The ID of the AWS account that owns the connection.
        Returns:
        builder
      • ownerAccountId

        public ConnectionState.Builder ownerAccountId​(java.lang.String ownerAccountId)
        Parameters:
        ownerAccountId - The ID of the AWS account that owns the connection.
        Returns:
        builder
      • partnerName

        public ConnectionState.Builder partnerName​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> partnerName)
        Parameters:
        partnerName - The name of the AWS Direct Connect service provider associated with the connection.
        Returns:
        builder
      • partnerName

        public ConnectionState.Builder partnerName​(java.lang.String partnerName)
        Parameters:
        partnerName - The name of the AWS Direct Connect service provider associated with the connection.
        Returns:
        builder
      • portEncryptionStatus

        public ConnectionState.Builder portEncryptionStatus​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> portEncryptionStatus)
        Parameters:
        portEncryptionStatus - The MAC Security (MACsec) port link status of the connection.
        Returns:
        builder
      • portEncryptionStatus

        public ConnectionState.Builder portEncryptionStatus​(java.lang.String portEncryptionStatus)
        Parameters:
        portEncryptionStatus - The MAC Security (MACsec) port link status of the connection.
        Returns:
        builder
      • prefixPoolSizeIpv4

        public ConnectionState.Builder prefixPoolSizeIpv4​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> prefixPoolSizeIpv4)
        Parameters:
        prefixPoolSizeIpv4 - The total number of inbound IPv4 route prefixes that can be allocated across the virtual interfaces on the connection.
        Returns:
        builder
      • prefixPoolSizeIpv4

        public ConnectionState.Builder prefixPoolSizeIpv4​(java.lang.Integer prefixPoolSizeIpv4)
        Parameters:
        prefixPoolSizeIpv4 - The total number of inbound IPv4 route prefixes that can be allocated across the virtual interfaces on the connection.
        Returns:
        builder
      • prefixPoolSizeIpv6

        public ConnectionState.Builder prefixPoolSizeIpv6​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> prefixPoolSizeIpv6)
        Parameters:
        prefixPoolSizeIpv6 - The total number of inbound IPv6 route prefixes that can be allocated across the virtual interfaces on the connection.
        Returns:
        builder
      • prefixPoolSizeIpv6

        public ConnectionState.Builder prefixPoolSizeIpv6​(java.lang.Integer prefixPoolSizeIpv6)
        Parameters:
        prefixPoolSizeIpv6 - The total number of inbound IPv6 route prefixes that can be allocated across the virtual interfaces on the connection.
        Returns:
        builder
      • prefixPoolUnallocatedCountIpv4

        public ConnectionState.Builder prefixPoolUnallocatedCountIpv4​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Integer> prefixPoolUnallocatedCountIpv4)
        Parameters:
        prefixPoolUnallocatedCountIpv4 - The number of inbound IPv4 route prefixes in the connection prefix pool not yet allocated to a virtual interface.
        Returns:
        builder
      • prefixPoolUnallocatedCountIpv4

        public ConnectionState.Builder prefixPoolUnallocatedCountIpv4​(java.lang.Integer prefixPoolUnallocatedCountIpv4)
        Parameters:
        prefixPoolUnallocatedCountIpv4 - The number of inbound IPv4 route prefixes in the connection prefix pool not yet allocated to a virtual interface.
        Returns:
        builder
      • prefixPoolUnallocatedCountIpv6

        public ConnectionState.Builder prefixPoolUnallocatedCountIpv6​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Integer> prefixPoolUnallocatedCountIpv6)
        Parameters:
        prefixPoolUnallocatedCountIpv6 - The number of inbound IPv6 route prefixes in the connection prefix pool not yet allocated to a virtual interface.
        Returns:
        builder
      • prefixPoolUnallocatedCountIpv6

        public ConnectionState.Builder prefixPoolUnallocatedCountIpv6​(java.lang.Integer prefixPoolUnallocatedCountIpv6)
        Parameters:
        prefixPoolUnallocatedCountIpv6 - The number of inbound IPv6 route prefixes in the connection prefix pool not yet allocated to a virtual interface.
        Returns:
        builder
      • providerName

        public ConnectionState.Builder providerName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> providerName)
        Parameters:
        providerName - The name of the service provider associated with the connection.
        Returns:
        builder
      • providerName

        public ConnectionState.Builder providerName​(java.lang.String providerName)
        Parameters:
        providerName - The name of the service provider associated with the connection.
        Returns:
        builder
      • rateLimiterStatuses

        public ConnectionState.Builder rateLimiterStatuses​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<ConnectionRateLimiterStatusArgs>> rateLimiterStatuses)
        Parameters:
        rateLimiterStatuses - Rate limiter status for the connection. See `rateLimiterStatus` Block below.
        Returns:
        builder
      • rateLimiterStatuses

        public ConnectionState.Builder rateLimiterStatuses​(java.util.List<ConnectionRateLimiterStatusArgs> rateLimiterStatuses)
        Parameters:
        rateLimiterStatuses - Rate limiter status for the connection. See `rateLimiterStatus` Block below.
        Returns:
        builder
      • region

        public ConnectionState.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 ConnectionState.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
      • requestMacsec

        public ConnectionState.Builder requestMacsec​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Boolean> requestMacsec)
        Parameters:
        requestMacsec - Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`. > **NOTE:** Changing the value of `requestMacsec` will cause the resource to be destroyed and re-created.
        Returns:
        builder
      • requestMacsec

        public ConnectionState.Builder requestMacsec​(java.lang.Boolean requestMacsec)
        Parameters:
        requestMacsec - Boolean value indicating whether you want the connection to support MAC Security (MACsec). MAC Security (MACsec) is only available on dedicated connections. See [MACsec prerequisites](https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) for more information about MAC Security (MACsec) prerequisites. Default value: `false`. > **NOTE:** Changing the value of `requestMacsec` will cause the resource to be destroyed and re-created.
        Returns:
        builder
      • skipDestroy

        public ConnectionState.Builder skipDestroy​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> skipDestroy)
        Parameters:
        skipDestroy - Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state.
        Returns:
        builder
      • skipDestroy

        public ConnectionState.Builder skipDestroy​(java.lang.Boolean skipDestroy)
        Parameters:
        skipDestroy - Set to true if you do not wish the connection to be deleted at destroy time, and instead just removed from the state.
        Returns:
        builder
      • state

        public ConnectionState.Builder state​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - State of the connection. See [CreateConnection](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_CreateConnection.html#API_CreateConnection_ResponseSyntax) for list of possible state values.
        Returns:
        builder
      • state

        public ConnectionState.Builder state​(java.lang.String state)
        Parameters:
        state - State of the connection. See [CreateConnection](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_CreateConnection.html#API_CreateConnection_ResponseSyntax) for list of possible state values.
        Returns:
        builder
      • tags

        public ConnectionState.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. 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 ConnectionState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. 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 ConnectionState.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 ConnectionState.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
      • vlanId

        public ConnectionState.Builder vlanId​(@Nullable
                                              com.pulumi.core.Output<java.lang.Integer> vlanId)
        Parameters:
        vlanId - The VLAN ID.
        Returns:
        builder
      • vlanId

        public ConnectionState.Builder vlanId​(java.lang.Integer vlanId)
        Parameters:
        vlanId - The VLAN ID.
        Returns:
        builder