Interface CreateBackupPlanResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<CreateBackupPlanResponse.Builder,CreateBackupPlanResponse>,SdkBuilder<CreateBackupPlanResponse.Builder,CreateBackupPlanResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateBackupPlanResponse
public static interface CreateBackupPlanResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<CreateBackupPlanResponse.Builder,CreateBackupPlanResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateBackupPlanResponse.BuilderadvancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)A list ofBackupOptionssettings for a resource type.CreateBackupPlanResponse.BuilderadvancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings)A list ofBackupOptionssettings for a resource type.CreateBackupPlanResponse.BuilderadvancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings)A list ofBackupOptionssettings for a resource type.CreateBackupPlanResponse.BuilderbackupPlanArn(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.CreateBackupPlanResponse.BuilderbackupPlanId(String backupPlanId)Uniquely identifies a backup plan.CreateBackupPlanResponse.BuildercreationDate(Instant creationDate)The date and time that a backup plan is created, in Unix format and Coordinated Universal Time (UTC).CreateBackupPlanResponse.BuilderversionId(String versionId)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 Detail
-
backupPlanId
CreateBackupPlanResponse.Builder backupPlanId(String 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
CreateBackupPlanResponse.Builder 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.- 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
CreateBackupPlanResponse.Builder creationDate(Instant 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
CreateBackupPlanResponse.Builder versionId(String 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)
A list of
BackupOptionssettings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.- Parameters:
advancedBackupSettings- A list ofBackupOptionssettings 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)
A list of
BackupOptionssettings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.- Parameters:
advancedBackupSettings- A list ofBackupOptionssettings 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)
A list of
This is a convenience method that creates an instance of theBackupOptionssettings for a resource type. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.AdvancedBackupSetting.Builderavoiding the need to create one manually viaAdvancedBackupSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#advancedBackupSettings(List.) - 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:
#advancedBackupSettings(java.util.Collection)
-
-