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.retentionPeriodInDays
(Integer retentionPeriodInDays) This field displays how many days that metrics are retained in the workspace.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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.Builder
avoiding the need to create one manually viaLimitsPerLabelSet.builder()
.When the
Consumer
completes,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.
-
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.Builder
avoiding the need to create one manually viaWorkspaceConfigurationStatus.builder()
.When the
Consumer
completes,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:
-