Class ComputeRouterPeer

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.941Z")
    @Stability(Stable)
    public class ComputeRouterPeer
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer google_compute_router_peer}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • ComputeRouterPeer

        protected ComputeRouterPeer​(software.amazon.jsii.JsiiObjectRef objRef)
      • ComputeRouterPeer

        protected ComputeRouterPeer​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • ComputeRouterPeer

        @Stability(Stable)
        public ComputeRouterPeer​(@NotNull
                                 software.constructs.Construct scope,
                                 @NotNull
                                 String id,
                                 @NotNull
                                 ComputeRouterPeerConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_router_peer google_compute_router_peer} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId,
                                                                                     @Nullable
                                                                                     com.hashicorp.cdktf.TerraformProvider provider)
        Generates CDKTF code for importing a ComputeRouterPeer resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the ComputeRouterPeer to import. This parameter is required.
        importFromId - The id of the existing ComputeRouterPeer that should be imported. This parameter is required.
        provider - ? Optional instance of the provider where the ComputeRouterPeer to import is found.
      • generateConfigForImport

        @Stability(Stable)
        @NotNull
        public static com.hashicorp.cdktf.ImportableResource generateConfigForImport​(@NotNull
                                                                                     software.constructs.Construct scope,
                                                                                     @NotNull
                                                                                     String importToId,
                                                                                     @NotNull
                                                                                     String importFromId)
        Generates CDKTF code for importing a ComputeRouterPeer resource upon running "cdktf plan ".

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        importToId - The construct id used in the generated config for the ComputeRouterPeer to import. This parameter is required.
        importFromId - The id of the existing ComputeRouterPeer that should be imported. This parameter is required.
      • putAdvertisedIpRanges

        @Stability(Stable)
        public void putAdvertisedIpRanges​(@NotNull
                                          Object value)
        Parameters:
        value - This parameter is required.
      • putBfd

        @Stability(Stable)
        public void putBfd​(@NotNull
                           ComputeRouterPeerBfd value)
        Parameters:
        value - This parameter is required.
      • putCustomLearnedIpRanges

        @Stability(Stable)
        public void putCustomLearnedIpRanges​(@NotNull
                                             Object value)
        Parameters:
        value - This parameter is required.
      • putMd5AuthenticationKey

        @Stability(Stable)
        public void putMd5AuthenticationKey​(@NotNull
                                            ComputeRouterPeerMd5AuthenticationKey value)
        Parameters:
        value - This parameter is required.
      • putTimeouts

        @Stability(Stable)
        public void putTimeouts​(@NotNull
                                ComputeRouterPeerTimeouts value)
        Parameters:
        value - This parameter is required.
      • resetAdvertisedGroups

        @Stability(Stable)
        public void resetAdvertisedGroups()
      • resetAdvertisedIpRanges

        @Stability(Stable)
        public void resetAdvertisedIpRanges()
      • resetAdvertisedRoutePriority

        @Stability(Stable)
        public void resetAdvertisedRoutePriority()
      • resetAdvertiseMode

        @Stability(Stable)
        public void resetAdvertiseMode()
      • resetBfd

        @Stability(Stable)
        public void resetBfd()
      • resetCustomLearnedIpRanges

        @Stability(Stable)
        public void resetCustomLearnedIpRanges()
      • resetCustomLearnedRoutePriority

        @Stability(Stable)
        public void resetCustomLearnedRoutePriority()
      • resetEnable

        @Stability(Stable)
        public void resetEnable()
      • resetEnableIpv4

        @Stability(Stable)
        public void resetEnableIpv4()
      • resetEnableIpv6

        @Stability(Stable)
        public void resetEnableIpv6()
      • resetId

        @Stability(Stable)
        public void resetId()
      • resetIpAddress

        @Stability(Stable)
        public void resetIpAddress()
      • resetIpv4NexthopAddress

        @Stability(Stable)
        public void resetIpv4NexthopAddress()
      • resetIpv6NexthopAddress

        @Stability(Stable)
        public void resetIpv6NexthopAddress()
      • resetMd5AuthenticationKey

        @Stability(Stable)
        public void resetMd5AuthenticationKey()
      • resetPeerIpAddress

        @Stability(Stable)
        public void resetPeerIpAddress()
      • resetPeerIpv4NexthopAddress

        @Stability(Stable)
        public void resetPeerIpv4NexthopAddress()
      • resetPeerIpv6NexthopAddress

        @Stability(Stable)
        public void resetPeerIpv6NexthopAddress()
      • resetProject

        @Stability(Stable)
        public void resetProject()
      • resetRegion

        @Stability(Stable)
        public void resetRegion()
      • resetRouterApplianceInstance

        @Stability(Stable)
        public void resetRouterApplianceInstance()
      • resetTimeouts

        @Stability(Stable)
        public void resetTimeouts()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • synthesizeHclAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeHclAttributes()
        Overrides:
        synthesizeHclAttributes in class com.hashicorp.cdktf.TerraformResource
      • getManagementType

        @Stability(Stable)
        @NotNull
        public String getManagementType()
      • getAdvertisedGroupsInput

        @Stability(Stable)
        @Nullable
        public List<String> getAdvertisedGroupsInput()
      • getAdvertisedIpRangesInput

        @Stability(Stable)
        @Nullable
        public Object getAdvertisedIpRangesInput()
      • getAdvertisedRoutePriorityInput

        @Stability(Stable)
        @Nullable
        public Number getAdvertisedRoutePriorityInput()
      • getAdvertiseModeInput

        @Stability(Stable)
        @Nullable
        public String getAdvertiseModeInput()
      • getCustomLearnedIpRangesInput

        @Stability(Stable)
        @Nullable
        public Object getCustomLearnedIpRangesInput()
      • getCustomLearnedRoutePriorityInput

        @Stability(Stable)
        @Nullable
        public Number getCustomLearnedRoutePriorityInput()
      • getEnableInput

        @Stability(Stable)
        @Nullable
        public Object getEnableInput()
      • getEnableIpv4Input

        @Stability(Stable)
        @Nullable
        public Object getEnableIpv4Input()
      • getEnableIpv6Input

        @Stability(Stable)
        @Nullable
        public Object getEnableIpv6Input()
      • getIdInput

        @Stability(Stable)
        @Nullable
        public String getIdInput()
      • getInterfaceInput

        @Stability(Stable)
        @Nullable
        public String getInterfaceInput()
      • getIpAddressInput

        @Stability(Stable)
        @Nullable
        public String getIpAddressInput()
      • getIpv4NexthopAddressInput

        @Stability(Stable)
        @Nullable
        public String getIpv4NexthopAddressInput()
      • getIpv6NexthopAddressInput

        @Stability(Stable)
        @Nullable
        public String getIpv6NexthopAddressInput()
      • getNameInput

        @Stability(Stable)
        @Nullable
        public String getNameInput()
      • getPeerAsnInput

        @Stability(Stable)
        @Nullable
        public Number getPeerAsnInput()
      • getPeerIpAddressInput

        @Stability(Stable)
        @Nullable
        public String getPeerIpAddressInput()
      • getPeerIpv4NexthopAddressInput

        @Stability(Stable)
        @Nullable
        public String getPeerIpv4NexthopAddressInput()
      • getPeerIpv6NexthopAddressInput

        @Stability(Stable)
        @Nullable
        public String getPeerIpv6NexthopAddressInput()
      • getProjectInput

        @Stability(Stable)
        @Nullable
        public String getProjectInput()
      • getRegionInput

        @Stability(Stable)
        @Nullable
        public String getRegionInput()
      • getRouterApplianceInstanceInput

        @Stability(Stable)
        @Nullable
        public String getRouterApplianceInstanceInput()
      • getRouterInput

        @Stability(Stable)
        @Nullable
        public String getRouterInput()
      • getTimeoutsInput

        @Stability(Stable)
        @Nullable
        public Object getTimeoutsInput()
      • getAdvertisedGroups

        @Stability(Stable)
        @NotNull
        public List<String> getAdvertisedGroups()
      • setAdvertisedGroups

        @Stability(Stable)
        public void setAdvertisedGroups​(@NotNull
                                        List<String> value)
      • getAdvertisedRoutePriority

        @Stability(Stable)
        @NotNull
        public Number getAdvertisedRoutePriority()
      • setAdvertisedRoutePriority

        @Stability(Stable)
        public void setAdvertisedRoutePriority​(@NotNull
                                               Number value)
      • getAdvertiseMode

        @Stability(Stable)
        @NotNull
        public String getAdvertiseMode()
      • setAdvertiseMode

        @Stability(Stable)
        public void setAdvertiseMode​(@NotNull
                                     String value)
      • getCustomLearnedRoutePriority

        @Stability(Stable)
        @NotNull
        public Number getCustomLearnedRoutePriority()
      • setCustomLearnedRoutePriority

        @Stability(Stable)
        public void setCustomLearnedRoutePriority​(@NotNull
                                                  Number value)
      • getEnable

        @Stability(Stable)
        @NotNull
        public Object getEnable()
      • setEnable

        @Stability(Stable)
        public void setEnable​(@NotNull
                              Boolean value)
      • setEnable

        @Stability(Stable)
        public void setEnable​(@NotNull
                              com.hashicorp.cdktf.IResolvable value)
      • getEnableIpv4

        @Stability(Stable)
        @NotNull
        public Object getEnableIpv4()
      • setEnableIpv4

        @Stability(Stable)
        public void setEnableIpv4​(@NotNull
                                  Boolean value)
      • setEnableIpv4

        @Stability(Stable)
        public void setEnableIpv4​(@NotNull
                                  com.hashicorp.cdktf.IResolvable value)
      • getEnableIpv6

        @Stability(Stable)
        @NotNull
        public Object getEnableIpv6()
      • setEnableIpv6

        @Stability(Stable)
        public void setEnableIpv6​(@NotNull
                                  Boolean value)
      • setEnableIpv6

        @Stability(Stable)
        public void setEnableIpv6​(@NotNull
                                  com.hashicorp.cdktf.IResolvable value)
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • setId

        @Stability(Stable)
        public void setId​(@NotNull
                          String value)
      • getInterfaceValue

        @Stability(Stable)
        @NotNull
        public String getInterfaceValue()
      • setInterfaceValue

        @Stability(Stable)
        public void setInterfaceValue​(@NotNull
                                      String value)
      • getIpAddress

        @Stability(Stable)
        @NotNull
        public String getIpAddress()
      • setIpAddress

        @Stability(Stable)
        public void setIpAddress​(@NotNull
                                 String value)
      • getIpv4NexthopAddress

        @Stability(Stable)
        @NotNull
        public String getIpv4NexthopAddress()
      • setIpv4NexthopAddress

        @Stability(Stable)
        public void setIpv4NexthopAddress​(@NotNull
                                          String value)
      • getIpv6NexthopAddress

        @Stability(Stable)
        @NotNull
        public String getIpv6NexthopAddress()
      • setIpv6NexthopAddress

        @Stability(Stable)
        public void setIpv6NexthopAddress​(@NotNull
                                          String value)
      • getName

        @Stability(Stable)
        @NotNull
        public String getName()
      • setName

        @Stability(Stable)
        public void setName​(@NotNull
                            String value)
      • getPeerAsn

        @Stability(Stable)
        @NotNull
        public Number getPeerAsn()
      • setPeerAsn

        @Stability(Stable)
        public void setPeerAsn​(@NotNull
                               Number value)
      • getPeerIpAddress

        @Stability(Stable)
        @NotNull
        public String getPeerIpAddress()
      • setPeerIpAddress

        @Stability(Stable)
        public void setPeerIpAddress​(@NotNull
                                     String value)
      • getPeerIpv4NexthopAddress

        @Stability(Stable)
        @NotNull
        public String getPeerIpv4NexthopAddress()
      • setPeerIpv4NexthopAddress

        @Stability(Stable)
        public void setPeerIpv4NexthopAddress​(@NotNull
                                              String value)
      • getPeerIpv6NexthopAddress

        @Stability(Stable)
        @NotNull
        public String getPeerIpv6NexthopAddress()
      • setPeerIpv6NexthopAddress

        @Stability(Stable)
        public void setPeerIpv6NexthopAddress​(@NotNull
                                              String value)
      • getProject

        @Stability(Stable)
        @NotNull
        public String getProject()
      • setProject

        @Stability(Stable)
        public void setProject​(@NotNull
                               String value)
      • getRegion

        @Stability(Stable)
        @NotNull
        public String getRegion()
      • setRegion

        @Stability(Stable)
        public void setRegion​(@NotNull
                              String value)
      • getRouter

        @Stability(Stable)
        @NotNull
        public String getRouter()
      • setRouter

        @Stability(Stable)
        public void setRouter​(@NotNull
                              String value)
      • getRouterApplianceInstance

        @Stability(Stable)
        @NotNull
        public String getRouterApplianceInstance()
      • setRouterApplianceInstance

        @Stability(Stable)
        public void setRouterApplianceInstance​(@NotNull
                                               String value)