Class MonitoringSlo
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- com.hashicorp.cdktf.TerraformElement
-
- com.hashicorp.cdktf.TerraformResource
-
- com.hashicorp.cdktf.providers.google.monitoring_slo.MonitoringSlo
-
- 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:21.960Z") @Stability(Stable) public class MonitoringSlo extends com.hashicorp.cdktf.TerraformResource
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo google_monitoring_slo}.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMonitoringSlo.BuilderA fluent builder forMonitoringSlo.-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IInterpolatingParent
com.hashicorp.cdktf.IInterpolatingParent.Jsii$Default, com.hashicorp.cdktf.IInterpolatingParent.Jsii$Proxy
-
-
Field Summary
Fields Modifier and Type Field Description static StringTF_RESOURCE_TYPE
-
Constructor Summary
Constructors Modifier Constructor Description protectedMonitoringSlo(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedMonitoringSlo(software.amazon.jsii.JsiiObjectRef objRef)MonitoringSlo(software.constructs.Construct scope, String id, MonitoringSloConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo google_monitoring_slo} Resource.
-
Method Summary
-
Methods inherited from class com.hashicorp.cdktf.TerraformResource
addMoveTarget, getAnyMapAttribute, getBooleanAttribute, getBooleanMapAttribute, getConnection, getCount, getDependsOn, getForEach, getLifecycle, getListAttribute, getNumberAttribute, getNumberListAttribute, getNumberMapAttribute, getProvider, getProvisioners, getStringAttribute, getStringMapAttribute, getTerraformGeneratorMetadata, getTerraformMetaArguments, getTerraformResourceType, hasResourceMove, importFrom, importFrom, interpolationForAttribute, isTerraformResource, moveFromId, moveTo, moveTo, moveToId, setConnection, setConnection, setCount, setCount, setDependsOn, setForEach, setLifecycle, setProvider, setProvisioners, toHclTerraform, toMetadata, toTerraform
-
Methods inherited from class com.hashicorp.cdktf.TerraformElement
addOverride, getCdktfStack, getConstructNodeMetadata, getFqn, getFriendlyUniqueId, getRawOverrides, isTerraformElement, overrideLogicalId, resetOverrideLogicalId
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Field Detail
-
TF_RESOURCE_TYPE
@Stability(Stable) public static final String TF_RESOURCE_TYPE
-
-
Constructor Detail
-
MonitoringSlo
protected MonitoringSlo(software.amazon.jsii.JsiiObjectRef objRef)
-
MonitoringSlo
protected MonitoringSlo(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
MonitoringSlo
@Stability(Stable) public MonitoringSlo(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull MonitoringSloConfig config)Create a new {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/monitoring_slo google_monitoring_slo} 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 MonitoringSlo 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 MonitoringSlo to import. This parameter is required.importFromId- The id of the existing MonitoringSlo that should be imported. This parameter is required.provider- ? Optional instance of the provider where the MonitoringSlo 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 MonitoringSlo 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 MonitoringSlo to import. This parameter is required.importFromId- The id of the existing MonitoringSlo that should be imported. This parameter is required.
-
putBasicSli
@Stability(Stable) public void putBasicSli(@NotNull MonitoringSloBasicSli value)- Parameters:
value- This parameter is required.
-
putRequestBasedSli
@Stability(Stable) public void putRequestBasedSli(@NotNull MonitoringSloRequestBasedSli value)- Parameters:
value- This parameter is required.
-
putTimeouts
@Stability(Stable) public void putTimeouts(@NotNull MonitoringSloTimeouts value)- Parameters:
value- This parameter is required.
-
putWindowsBasedSli
@Stability(Stable) public void putWindowsBasedSli(@NotNull MonitoringSloWindowsBasedSli value)- Parameters:
value- This parameter is required.
-
resetBasicSli
@Stability(Stable) public void resetBasicSli()
-
resetCalendarPeriod
@Stability(Stable) public void resetCalendarPeriod()
-
resetDisplayName
@Stability(Stable) public void resetDisplayName()
-
resetId
@Stability(Stable) public void resetId()
-
resetProject
@Stability(Stable) public void resetProject()
-
resetRequestBasedSli
@Stability(Stable) public void resetRequestBasedSli()
-
resetRollingPeriodDays
@Stability(Stable) public void resetRollingPeriodDays()
-
resetSloId
@Stability(Stable) public void resetSloId()
-
resetTimeouts
@Stability(Stable) public void resetTimeouts()
-
resetUserLabels
@Stability(Stable) public void resetUserLabels()
-
resetWindowsBasedSli
@Stability(Stable) public void resetWindowsBasedSli()
-
synthesizeAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeAttributes()
- Overrides:
synthesizeAttributesin classcom.hashicorp.cdktf.TerraformResource
-
synthesizeHclAttributes
@Stability(Stable) @NotNull protected Map<String,Object> synthesizeHclAttributes()
- Overrides:
synthesizeHclAttributesin classcom.hashicorp.cdktf.TerraformResource
-
getBasicSli
@Stability(Stable) @NotNull public MonitoringSloBasicSliOutputReference getBasicSli()
-
getName
@Stability(Stable) @NotNull public String getName()
-
getRequestBasedSli
@Stability(Stable) @NotNull public MonitoringSloRequestBasedSliOutputReference getRequestBasedSli()
-
getTimeouts
@Stability(Stable) @NotNull public MonitoringSloTimeoutsOutputReference getTimeouts()
-
getWindowsBasedSli
@Stability(Stable) @NotNull public MonitoringSloWindowsBasedSliOutputReference getWindowsBasedSli()
-
getBasicSliInput
@Stability(Stable) @Nullable public MonitoringSloBasicSli getBasicSliInput()
-
getCalendarPeriodInput
@Stability(Stable) @Nullable public String getCalendarPeriodInput()
-
getDisplayNameInput
@Stability(Stable) @Nullable public String getDisplayNameInput()
-
getGoalInput
@Stability(Stable) @Nullable public Number getGoalInput()
-
getIdInput
@Stability(Stable) @Nullable public String getIdInput()
-
getProjectInput
@Stability(Stable) @Nullable public String getProjectInput()
-
getRequestBasedSliInput
@Stability(Stable) @Nullable public MonitoringSloRequestBasedSli getRequestBasedSliInput()
-
getRollingPeriodDaysInput
@Stability(Stable) @Nullable public Number getRollingPeriodDaysInput()
-
getServiceInput
@Stability(Stable) @Nullable public String getServiceInput()
-
getSloIdInput
@Stability(Stable) @Nullable public String getSloIdInput()
-
getTimeoutsInput
@Stability(Stable) @Nullable public Object getTimeoutsInput()
-
getWindowsBasedSliInput
@Stability(Stable) @Nullable public MonitoringSloWindowsBasedSli getWindowsBasedSliInput()
-
getCalendarPeriod
@Stability(Stable) @NotNull public String getCalendarPeriod()
-
setCalendarPeriod
@Stability(Stable) public void setCalendarPeriod(@NotNull String value)
-
getDisplayName
@Stability(Stable) @NotNull public String getDisplayName()
-
setDisplayName
@Stability(Stable) public void setDisplayName(@NotNull String value)
-
getGoal
@Stability(Stable) @NotNull public Number getGoal()
-
setGoal
@Stability(Stable) public void setGoal(@NotNull Number value)
-
getId
@Stability(Stable) @NotNull public String getId()
-
setId
@Stability(Stable) public void setId(@NotNull String value)
-
getProject
@Stability(Stable) @NotNull public String getProject()
-
setProject
@Stability(Stable) public void setProject(@NotNull String value)
-
getRollingPeriodDays
@Stability(Stable) @NotNull public Number getRollingPeriodDays()
-
setRollingPeriodDays
@Stability(Stable) public void setRollingPeriodDays(@NotNull Number value)
-
getService
@Stability(Stable) @NotNull public String getService()
-
setService
@Stability(Stable) public void setService(@NotNull String value)
-
getSloId
@Stability(Stable) @NotNull public String getSloId()
-
setSloId
@Stability(Stable) public void setSloId(@NotNull String value)
-
-