Interface UpdateWorkspaceConfigurationRequest.Builder
- All Superinterfaces:
AmpRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateWorkspaceConfigurationRequest.Builder,
,UpdateWorkspaceConfigurationRequest> SdkBuilder<UpdateWorkspaceConfigurationRequest.Builder,
,UpdateWorkspaceConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateWorkspaceConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) You can include a token in your operation to make it an idempotent opeartion.limitsPerLabelSet
(Collection<LimitsPerLabelSet> limitsPerLabelSet) This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets.limitsPerLabelSet
(Consumer<LimitsPerLabelSet.Builder>... limitsPerLabelSet) This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets.limitsPerLabelSet
(LimitsPerLabelSet... limitsPerLabelSet) This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.retentionPeriodInDays
(Integer retentionPeriodInDays) Specifies how many days that metrics will be retained in the workspace.workspaceId
(String workspaceId) The ID of the workspace that you want to update.Methods inherited from interface software.amazon.awssdk.services.amp.model.AmpRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
-
clientToken
You can include a token in your operation to make it an idempotent opeartion.
- Parameters:
clientToken
- You can include a token in your operation to make it an idempotent opeartion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limitsPerLabelSet
UpdateWorkspaceConfigurationRequest.Builder limitsPerLabelSet(Collection<LimitsPerLabelSet> limitsPerLabelSet) This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.
- Parameters:
limitsPerLabelSet
- This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limitsPerLabelSet
UpdateWorkspaceConfigurationRequest.Builder limitsPerLabelSet(LimitsPerLabelSet... limitsPerLabelSet) This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.
- Parameters:
limitsPerLabelSet
- This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limitsPerLabelSet
UpdateWorkspaceConfigurationRequest.Builder limitsPerLabelSet(Consumer<LimitsPerLabelSet.Builder>... limitsPerLabelSet) This is an array of structures, where each structure defines a label set for the workspace, and defines the active time series limit for each of those label sets. Each label name in a label set must be unique.
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
Specifies how many days that metrics will be retained in the workspace.
- Parameters:
retentionPeriodInDays
- Specifies how many days that metrics will be retained in the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceId
The ID of the workspace that you want to update. To find the IDs of your workspaces, use the ListWorkspaces operation.
- Parameters:
workspaceId
- The ID of the workspace that you want to update. To find the IDs of your workspaces, use the ListWorkspaces operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateWorkspaceConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateWorkspaceConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-