Class ComputeRoute

  • 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.920Z")
    @Stability(Stable)
    public class ComputeRoute
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route google_compute_route}.
    • Field Detail

      • TF_RESOURCE_TYPE

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

      • ComputeRoute

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

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

        @Stability(Stable)
        public ComputeRoute​(@NotNull
                            software.constructs.Construct scope,
                            @NotNull
                            String id,
                            @NotNull
                            ComputeRouteConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_route google_compute_route} 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 ComputeRoute 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 ComputeRoute to import. This parameter is required.
        importFromId - The id of the existing ComputeRoute that should be imported. This parameter is required.
        provider - ? Optional instance of the provider where the ComputeRoute 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 ComputeRoute 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 ComputeRoute to import. This parameter is required.
        importFromId - The id of the existing ComputeRoute that should be imported. This parameter is required.
      • putTimeouts

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

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

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

        @Stability(Stable)
        public void resetNextHopGateway()
      • resetNextHopIlb

        @Stability(Stable)
        public void resetNextHopIlb()
      • resetNextHopInstance

        @Stability(Stable)
        public void resetNextHopInstance()
      • resetNextHopInstanceZone

        @Stability(Stable)
        public void resetNextHopInstanceZone()
      • resetNextHopIp

        @Stability(Stable)
        public void resetNextHopIp()
      • resetNextHopVpnTunnel

        @Stability(Stable)
        public void resetNextHopVpnTunnel()
      • resetPriority

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

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

        @Stability(Stable)
        public void resetTags()
      • 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
      • getNextHopNetwork

        @Stability(Stable)
        @NotNull
        public String getNextHopNetwork()
      • getSelfLink

        @Stability(Stable)
        @NotNull
        public String getSelfLink()
      • getDescriptionInput

        @Stability(Stable)
        @Nullable
        public String getDescriptionInput()
      • getDestRangeInput

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

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

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

        @Stability(Stable)
        @Nullable
        public String getNetworkInput()
      • getNextHopGatewayInput

        @Stability(Stable)
        @Nullable
        public String getNextHopGatewayInput()
      • getNextHopIlbInput

        @Stability(Stable)
        @Nullable
        public String getNextHopIlbInput()
      • getNextHopInstanceInput

        @Stability(Stable)
        @Nullable
        public String getNextHopInstanceInput()
      • getNextHopInstanceZoneInput

        @Stability(Stable)
        @Nullable
        public String getNextHopInstanceZoneInput()
      • getNextHopIpInput

        @Stability(Stable)
        @Nullable
        public String getNextHopIpInput()
      • getNextHopVpnTunnelInput

        @Stability(Stable)
        @Nullable
        public String getNextHopVpnTunnelInput()
      • getPriorityInput

        @Stability(Stable)
        @Nullable
        public Number getPriorityInput()
      • getProjectInput

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

        @Stability(Stable)
        @Nullable
        public List<String> getTagsInput()
      • getTimeoutsInput

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

        @Stability(Stable)
        @NotNull
        public String getDescription()
      • setDescription

        @Stability(Stable)
        public void setDescription​(@NotNull
                                   String value)
      • getDestRange

        @Stability(Stable)
        @NotNull
        public String getDestRange()
      • setDestRange

        @Stability(Stable)
        public void setDestRange​(@NotNull
                                 String value)
      • getId

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

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

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

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

        @Stability(Stable)
        @NotNull
        public String getNetwork()
      • setNetwork

        @Stability(Stable)
        public void setNetwork​(@NotNull
                               String value)
      • getNextHopGateway

        @Stability(Stable)
        @NotNull
        public String getNextHopGateway()
      • setNextHopGateway

        @Stability(Stable)
        public void setNextHopGateway​(@NotNull
                                      String value)
      • getNextHopIlb

        @Stability(Stable)
        @NotNull
        public String getNextHopIlb()
      • setNextHopIlb

        @Stability(Stable)
        public void setNextHopIlb​(@NotNull
                                  String value)
      • getNextHopInstance

        @Stability(Stable)
        @NotNull
        public String getNextHopInstance()
      • setNextHopInstance

        @Stability(Stable)
        public void setNextHopInstance​(@NotNull
                                       String value)
      • getNextHopInstanceZone

        @Stability(Stable)
        @NotNull
        public String getNextHopInstanceZone()
      • setNextHopInstanceZone

        @Stability(Stable)
        public void setNextHopInstanceZone​(@NotNull
                                           String value)
      • getNextHopIp

        @Stability(Stable)
        @NotNull
        public String getNextHopIp()
      • setNextHopIp

        @Stability(Stable)
        public void setNextHopIp​(@NotNull
                                 String value)
      • getNextHopVpnTunnel

        @Stability(Stable)
        @NotNull
        public String getNextHopVpnTunnel()
      • setNextHopVpnTunnel

        @Stability(Stable)
        public void setNextHopVpnTunnel​(@NotNull
                                        String value)
      • getPriority

        @Stability(Stable)
        @NotNull
        public Number getPriority()
      • setPriority

        @Stability(Stable)
        public void setPriority​(@NotNull
                                Number value)
      • getProject

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

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

        @Stability(Stable)
        @NotNull
        public List<String> getTags()
      • setTags

        @Stability(Stable)
        public void setTags​(@NotNull
                            List<String> value)