Interface CreateBackupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateBackupRequest.Builder,
,CreateBackupRequest> OpsWorksCmRequest.Builder
,SdkBuilder<CreateBackupRequest.Builder,
,CreateBackupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateBackupRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A user-defined description of the backup.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serverName
(String serverName) The name of the server that you want to back up.tags
(Collection<Tag> tags) A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.tags
(Consumer<Tag.Builder>... tags) A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.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.services.opsworkscm.model.OpsWorksCmRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
serverName
The name of the server that you want to back up.
- Parameters:
serverName
- The name of the server that you want to back up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A user-defined description of the backup.
- Parameters:
description
- A user-defined description of the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.
-
The key cannot be empty.
-
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
Leading and trailing white spaces are trimmed from both the key and value.
-
A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
- Parameters:
tags
- A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.-
The key cannot be empty.
-
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
Leading and trailing white spaces are trimmed from both the key and value.
-
A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.
-
The key cannot be empty.
-
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
Leading and trailing white spaces are trimmed from both the key and value.
-
A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
- Parameters:
tags
- A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.-
The key cannot be empty.
-
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
Leading and trailing white spaces are trimmed from both the key and value.
-
A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.
-
The key cannot be empty.
-
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters:
+ - = . _ : /
-
Leading and trailing white spaces are trimmed from both the key and value.
-
A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
CreateBackupRequest.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
CreateBackupRequest.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.
-