Package com.oracle.bmc.wlms.model
Class BackupSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.wlms.model.BackupSummary.Builder
-
- Enclosing class:
- BackupSummary
public static class BackupSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupSummary.Builder
backupLocation(String backupLocation)
The location of the backup.BackupSummary
build()
BackupSummary.Builder
contentType(BackupContentType contentType)
The type of content of the backup.BackupSummary.Builder
copy(BackupSummary model)
BackupSummary.Builder
id(String id)
The unique identifier of the backup.BackupSummary.Builder
managedInstanceId(String managedInstanceId)
The managed instance ID of the server for which the backup was created.BackupSummary.Builder
timeCreated(Date timeCreated)
The date and time when the backup was created (in RFC 3339 format).BackupSummary.Builder
type(BackupType type)
The type of the backup.
-
-
-
Method Detail
-
id
public BackupSummary.Builder id(String id)
The unique identifier of the backup.*Note:** Not an [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Parameters:
id
- the value to set- Returns:
- this builder
-
type
public BackupSummary.Builder type(BackupType type)
The type of the backup.- Parameters:
type
- the value to set- Returns:
- this builder
-
managedInstanceId
public BackupSummary.Builder managedInstanceId(String managedInstanceId)
The managed instance ID of the server for which the backup was created.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder
-
backupLocation
public BackupSummary.Builder backupLocation(String backupLocation)
The location of the backup.For backups of type LOCAL_FILE this is the absolute path of the backup file.
- Parameters:
backupLocation
- the value to set- Returns:
- this builder
-
contentType
public BackupSummary.Builder contentType(BackupContentType contentType)
The type of content of the backup.- Parameters:
contentType
- the value to set- Returns:
- this builder
-
timeCreated
public BackupSummary.Builder timeCreated(Date timeCreated)
The date and time when the backup was created (in RFC 3339 format).Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public BackupSummary build()
-
copy
public BackupSummary.Builder copy(BackupSummary model)
-
-