Interface CreateBackupPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<CreateBackupPlanResponse.Builder,,CreateBackupPlanResponse> SdkBuilder<CreateBackupPlanResponse.Builder,,CreateBackupPlanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateBackupPlanResponse
-
Method Summary
Modifier and TypeMethodDescriptionadvancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings) The settings for a resource type.advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings) The settings for a resource type.advancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings) The settings for a 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) The ID of the backup plan.creationDate(Instant creationDate) The date and time that 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, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
backupPlanId
The ID of the backup plan.
- Parameters:
backupPlanId- The ID of the 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 that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDateis 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 that a backup plan is created, in Unix format and Coordinated Universal Time (UTC). The value ofCreationDateis 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. They cannot be edited.
- Parameters:
versionId- Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. They cannot be edited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
CreateBackupPlanResponse.Builder advancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings) The settings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
- Parameters:
advancedBackupSettings- The settings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
CreateBackupPlanResponse.Builder advancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings) The settings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
- Parameters:
advancedBackupSettings- The settings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
CreateBackupPlanResponse.Builder advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings) The settings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
This is a convenience method that creates an instance of theAdvancedBackupSetting.Builderavoiding the need to create one manually viaAdvancedBackupSetting.builder().When the
Consumercompletes,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:
-