Interface UpdateBackupPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupResponse.Builder
,Buildable
,CopyableBuilder<UpdateBackupPlanResponse.Builder,
,UpdateBackupPlanResponse> SdkBuilder<UpdateBackupPlanResponse.Builder,
,UpdateBackupPlanResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateBackupPlanResponse
-
Method Summary
Modifier and TypeMethodDescriptionadvancedBackupSettings
(Collection<AdvancedBackupSetting> advancedBackupSettings) Contains a list ofBackupOptions
for each resource type.advancedBackupSettings
(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings) Contains a list ofBackupOptions
for each resource type.advancedBackupSettings
(AdvancedBackupSetting... advancedBackupSettings) Contains a list ofBackupOptions
for each resource type.backupPlanArn
(String backupPlanArn) An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.backupPlanId
(String backupPlanId) Uniquely identifies a backup plan.creationDate
(Instant creationDate) The date and time a backup plan is created, in Unix format and Coordinated Universal Time (UTC).Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
backupPlanId
Uniquely identifies a backup plan.
- Parameters:
backupPlanId
- Uniquely identifies a backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlanArn
An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.- Parameters:
backupPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date and time a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
creationDate
- The date and time a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value ofCreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version Ids cannot be edited.
- Parameters:
versionId
- Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version Ids cannot be edited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
UpdateBackupPlanResponse.Builder advancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings) Contains a list of
BackupOptions
for each resource type.- Parameters:
advancedBackupSettings
- Contains a list ofBackupOptions
for each resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
UpdateBackupPlanResponse.Builder advancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings) Contains a list of
BackupOptions
for each resource type.- Parameters:
advancedBackupSettings
- Contains a list ofBackupOptions
for each resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
UpdateBackupPlanResponse.Builder advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings) Contains a list of
This is a convenience method that creates an instance of theBackupOptions
for each resource type.AdvancedBackupSetting.Builder
avoiding the need to create one manually viaAdvancedBackupSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadvancedBackupSettings(List<AdvancedBackupSetting>)
.- Parameters:
advancedBackupSettings
- a consumer that will call methods onAdvancedBackupSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-