Interface WorkspaceConfigurationDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceConfigurationDescription.Builder,,WorkspaceConfigurationDescription> SdkBuilder<WorkspaceConfigurationDescription.Builder,,WorkspaceConfigurationDescription> SdkPojo
- Enclosing class:
WorkspaceConfigurationDescription
-
Method Summary
Modifier and TypeMethodDescriptionlimitsPerLabelSet(Collection<LimitsPerLabelSet> limitsPerLabelSet) This is an array of structures, where each structure displays one label sets for the workspace and the limits for that label set.limitsPerLabelSet(Consumer<LimitsPerLabelSet.Builder>... limitsPerLabelSet) This is an array of structures, where each structure displays one label sets for the workspace and the limits for that label set.limitsPerLabelSet(LimitsPerLabelSet... limitsPerLabelSet) This is an array of structures, where each structure displays one label sets for the workspace and the limits for that label set.outOfOrderTimeWindowInSeconds(Integer outOfOrderTimeWindowInSeconds) This field displays the out of order time window in seconds for accepting out of order samples.retentionPeriodInDays(Integer retentionPeriodInDays) This field displays how many days that metrics are retained in the workspace.ruleQueryOffsetInSeconds(Integer ruleQueryOffsetInSeconds) This field displays the duration in seconds that rule evaluation queries are offset into the past.This structure displays the current status of the workspace configuration, and might also contain a reason for that status.status(WorkspaceConfigurationStatus status) This structure displays the current status of the workspace configuration, and might also contain a reason for that status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
This structure displays the current status of the workspace configuration, and might also contain a reason for that status.
- Parameters:
status- This structure displays the current status of the workspace configuration, and might also contain a reason for that status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default WorkspaceConfigurationDescription.Builder status(Consumer<WorkspaceConfigurationStatus.Builder> status) This structure displays the current status of the workspace configuration, and might also contain a reason for that status.
This is a convenience method that creates an instance of theWorkspaceConfigurationStatus.Builderavoiding the need to create one manually viaWorkspaceConfigurationStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(WorkspaceConfigurationStatus).- Parameters:
status- a consumer that will call methods onWorkspaceConfigurationStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
limitsPerLabelSet
WorkspaceConfigurationDescription.Builder limitsPerLabelSet(Collection<LimitsPerLabelSet> limitsPerLabelSet) This is an array of structures, where each structure displays one label sets for the workspace and the limits for that label set.
- Parameters:
limitsPerLabelSet- This is an array of structures, where each structure displays one label sets for the workspace and the limits for that label set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limitsPerLabelSet
This is an array of structures, where each structure displays one label sets for the workspace and the limits for that label set.
- Parameters:
limitsPerLabelSet- This is an array of structures, where each structure displays one label sets for the workspace and the limits for that label set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limitsPerLabelSet
WorkspaceConfigurationDescription.Builder limitsPerLabelSet(Consumer<LimitsPerLabelSet.Builder>... limitsPerLabelSet) This is an array of structures, where each structure displays one label sets for the workspace and the limits for that label set.
This is a convenience method that creates an instance of theLimitsPerLabelSet.Builderavoiding the need to create one manually viaLimitsPerLabelSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolimitsPerLabelSet(List<LimitsPerLabelSet>).- Parameters:
limitsPerLabelSet- a consumer that will call methods onLimitsPerLabelSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retentionPeriodInDays
This field displays how many days that metrics are retained in the workspace.
- Parameters:
retentionPeriodInDays- This field displays how many days that metrics are retained in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outOfOrderTimeWindowInSeconds
WorkspaceConfigurationDescription.Builder outOfOrderTimeWindowInSeconds(Integer outOfOrderTimeWindowInSeconds) This field displays the out of order time window in seconds for accepting out of order samples.
- Parameters:
outOfOrderTimeWindowInSeconds- This field displays the out of order time window in seconds for accepting out of order samples.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleQueryOffsetInSeconds
WorkspaceConfigurationDescription.Builder ruleQueryOffsetInSeconds(Integer ruleQueryOffsetInSeconds) This field displays the duration in seconds that rule evaluation queries are offset into the past.
- Parameters:
ruleQueryOffsetInSeconds- This field displays the duration in seconds that rule evaluation queries are offset into the past.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-