Class ComputeGlobalForwardingRule

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

      • TF_RESOURCE_TYPE

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

      • ComputeGlobalForwardingRule

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

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

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

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

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

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

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

        @Stability(Stable)
        public void resetIpProtocol()
      • resetIpVersion

        @Stability(Stable)
        public void resetIpVersion()
      • resetLabels

        @Stability(Stable)
        public void resetLabels()
      • resetLoadBalancingScheme

        @Stability(Stable)
        public void resetLoadBalancingScheme()
      • resetMetadataFilters

        @Stability(Stable)
        public void resetMetadataFilters()
      • resetNetwork

        @Stability(Stable)
        public void resetNetwork()
      • resetNoAutomateDnsZone

        @Stability(Stable)
        public void resetNoAutomateDnsZone()
      • resetPortRange

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

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

        @Stability(Stable)
        public void resetServiceDirectoryRegistrations()
      • resetSourceIpRanges

        @Stability(Stable)
        public void resetSourceIpRanges()
      • resetSubnetwork

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

        @Stability(Stable)
        @NotNull
        public String getBaseForwardingRule()
      • getEffectiveLabels

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.StringMap getEffectiveLabels()
      • getLabelFingerprint

        @Stability(Stable)
        @NotNull
        public String getLabelFingerprint()
      • getPscConnectionId

        @Stability(Stable)
        @NotNull
        public String getPscConnectionId()
      • getPscConnectionStatus

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

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

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.StringMap getTerraformLabels()
      • getDescriptionInput

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

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

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

        @Stability(Stable)
        @Nullable
        public String getIpProtocolInput()
      • getIpVersionInput

        @Stability(Stable)
        @Nullable
        public String getIpVersionInput()
      • getLabelsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getLabelsInput()
      • getLoadBalancingSchemeInput

        @Stability(Stable)
        @Nullable
        public String getLoadBalancingSchemeInput()
      • getMetadataFiltersInput

        @Stability(Stable)
        @Nullable
        public Object getMetadataFiltersInput()
      • getNameInput

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

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

        @Stability(Stable)
        @Nullable
        public Object getNoAutomateDnsZoneInput()
      • getPortRangeInput

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

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

        @Stability(Stable)
        @Nullable
        public List<String> getSourceIpRangesInput()
      • getSubnetworkInput

        @Stability(Stable)
        @Nullable
        public String getSubnetworkInput()
      • getTargetInput

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

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

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

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

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

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

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

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

        @Stability(Stable)
        @NotNull
        public String getIpProtocol()
      • setIpProtocol

        @Stability(Stable)
        public void setIpProtocol​(@NotNull
                                  String value)
      • getIpVersion

        @Stability(Stable)
        @NotNull
        public String getIpVersion()
      • setIpVersion

        @Stability(Stable)
        public void setIpVersion​(@NotNull
                                 String value)
      • getLabels

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getLabels()
      • setLabels

        @Stability(Stable)
        public void setLabels​(@NotNull
                              Map<String,​String> value)
      • getLoadBalancingScheme

        @Stability(Stable)
        @NotNull
        public String getLoadBalancingScheme()
      • setLoadBalancingScheme

        @Stability(Stable)
        public void setLoadBalancingScheme​(@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)
      • getNoAutomateDnsZone

        @Stability(Stable)
        @NotNull
        public Object getNoAutomateDnsZone()
      • setNoAutomateDnsZone

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

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

        @Stability(Stable)
        @NotNull
        public String getPortRange()
      • setPortRange

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

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

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

        @Stability(Stable)
        @NotNull
        public List<String> getSourceIpRanges()
      • setSourceIpRanges

        @Stability(Stable)
        public void setSourceIpRanges​(@NotNull
                                      List<String> value)
      • getSubnetwork

        @Stability(Stable)
        @NotNull
        public String getSubnetwork()
      • setSubnetwork

        @Stability(Stable)
        public void setSubnetwork​(@NotNull
                                  String value)
      • getTarget

        @Stability(Stable)
        @NotNull
        public String getTarget()
      • setTarget

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