Class MacsecKeyAssociationState.Builder

  • Enclosing class:
    MacsecKeyAssociationState

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

      • cak

        public MacsecKeyAssociationState.Builder cak​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> cak)
        Parameters:
        cak - MAC Security (MACsec) CAK to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Required with `ckn` or `cknWo` unless `cakWo` is configured. Conflicts with `cakWo`. Changing this argument replaces the association.
        Returns:
        builder
      • cak

        public MacsecKeyAssociationState.Builder cak​(java.lang.String cak)
        Parameters:
        cak - MAC Security (MACsec) CAK to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Required with `ckn` or `cknWo` unless `cakWo` is configured. Conflicts with `cakWo`. Changing this argument replaces the association.
        Returns:
        builder
      • cakWo

        public MacsecKeyAssociationState.Builder cakWo​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> cakWo)
        Parameters:
        cakWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only MAC Security (MACsec) CAK to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Requires `cakWoVersion` and either `ckn` or `cknWo`. Conflicts with `cak` and `secretArn`. This value is not stored in the plan or state.
        Returns:
        builder
      • cakWo

        public MacsecKeyAssociationState.Builder cakWo​(java.lang.String cakWo)
        Parameters:
        cakWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only MAC Security (MACsec) CAK to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Requires `cakWoVersion` and either `ckn` or `cknWo`. Conflicts with `cak` and `secretArn`. This value is not stored in the plan or state.
        Returns:
        builder
      • cakWoVersion

        public MacsecKeyAssociationState.Builder cakWoVersion​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Integer> cakWoVersion)
        Parameters:
        cakWoVersion - Positive integer used to trigger replacement when `cakWo` changes. Required with `cakWo`. Increment this value to replace the association using the current write-only values.
        Returns:
        builder
      • cakWoVersion

        public MacsecKeyAssociationState.Builder cakWoVersion​(java.lang.Integer cakWoVersion)
        Parameters:
        cakWoVersion - Positive integer used to trigger replacement when `cakWo` changes. Required with `cakWo`. Increment this value to replace the association using the current write-only values.
        Returns:
        builder
      • ckn

        public MacsecKeyAssociationState.Builder ckn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> ckn)
        Parameters:
        ckn - MAC Security (MACsec) CKN to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Required with `cak` or `cakWo` unless `cknWo` is configured. Conflicts with `cknWo`. Changing this argument replaces the association.
        Returns:
        builder
      • ckn

        public MacsecKeyAssociationState.Builder ckn​(java.lang.String ckn)
        Parameters:
        ckn - MAC Security (MACsec) CKN to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Required with `cak` or `cakWo` unless `cknWo` is configured. Conflicts with `cknWo`. Changing this argument replaces the association.
        Returns:
        builder
      • cknWo

        public MacsecKeyAssociationState.Builder cknWo​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> cknWo)
        Parameters:
        cknWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only MAC Security (MACsec) CKN to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Requires `cknWoVersion` and either `cak` or `cakWo`. Conflicts with `ckn` and `secretArn`. This value is not stored in the plan or state.
        Returns:
        builder
      • cknWo

        public MacsecKeyAssociationState.Builder cknWo​(java.lang.String cknWo)
        Parameters:
        cknWo - **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. Write-only MAC Security (MACsec) CKN to associate with the dedicated connection. Valid values are 64 hexadecimal characters (0-9, A-F). Requires `cknWoVersion` and either `cak` or `cakWo`. Conflicts with `ckn` and `secretArn`. This value is not stored in the plan or state.
        Returns:
        builder
      • cknWoVersion

        public MacsecKeyAssociationState.Builder cknWoVersion​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Integer> cknWoVersion)
        Parameters:
        cknWoVersion - Positive integer used to trigger replacement when `cknWo` changes. Required with `cknWo`. Increment this value to replace the association using the current write-only values.
        Returns:
        builder
      • cknWoVersion

        public MacsecKeyAssociationState.Builder cknWoVersion​(java.lang.Integer cknWoVersion)
        Parameters:
        cknWoVersion - Positive integer used to trigger replacement when `cknWo` changes. Required with `cknWo`. Increment this value to replace the association using the current write-only values.
        Returns:
        builder
      • connectionId

        public MacsecKeyAssociationState.Builder connectionId​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> connectionId)
        Parameters:
        connectionId - ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state. The following arguments are optional:
        Returns:
        builder
      • connectionId

        public MacsecKeyAssociationState.Builder connectionId​(java.lang.String connectionId)
        Parameters:
        connectionId - ID of the dedicated Direct Connect connection. The connection must be a dedicated connection in the `AVAILABLE` state. The following arguments are optional:
        Returns:
        builder
      • region

        public MacsecKeyAssociationState.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 MacsecKeyAssociationState.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
      • secretArn

        public MacsecKeyAssociationState.Builder secretArn​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> secretArn)
        Parameters:
        secretArn - ARN of the MAC Security (MACsec) secret key to associate with the dedicated connection. > **Note:** Supply either a CAK/CKN pair (using regular or write-only arguments) or `secretArn`. Do not combine key arguments with `secretArn`.
        Returns:
        builder
      • secretArn

        public MacsecKeyAssociationState.Builder secretArn​(java.lang.String secretArn)
        Parameters:
        secretArn - ARN of the MAC Security (MACsec) secret key to associate with the dedicated connection. > **Note:** Supply either a CAK/CKN pair (using regular or write-only arguments) or `secretArn`. Do not combine key arguments with `secretArn`.
        Returns:
        builder
      • startOn

        public MacsecKeyAssociationState.Builder startOn​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> startOn)
        Parameters:
        startOn - The date in UTC format that the MAC Security (MACsec) secret key takes effect.
        Returns:
        builder
      • startOn

        public MacsecKeyAssociationState.Builder startOn​(java.lang.String startOn)
        Parameters:
        startOn - The date in UTC format that the MAC Security (MACsec) secret key takes effect.
        Returns:
        builder
      • state

        public MacsecKeyAssociationState.Builder state​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - The state of the MAC Security (MACsec) secret key. The possible values are: associating, associated, disassociating, disassociated. See [MacSecKey](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_MacSecKey.html#DX-Type-MacSecKey-state) for descriptions of each state.
        Returns:
        builder
      • state

        public MacsecKeyAssociationState.Builder state​(java.lang.String state)
        Parameters:
        state - The state of the MAC Security (MACsec) secret key. The possible values are: associating, associated, disassociating, disassociated. See [MacSecKey](https://docs.aws.amazon.com/directconnect/latest/APIReference/API_MacSecKey.html#DX-Type-MacSecKey-state) for descriptions of each state.
        Returns:
        builder