Package com.oracle.bmc.wlms.model
Class Backup.Builder
- java.lang.Object
-
- com.oracle.bmc.wlms.model.Backup.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Backup.Builder
backupLocation(String backupLocation)
The location of the backup.Backup
build()
Backup.Builder
contentType(BackupContentType contentType)
The type of content of the backup.Backup.Builder
copy(Backup model)
Backup.Builder
id(String id)
The unique identifier of the backup.Backup.Builder
managedInstanceId(String managedInstanceId)
The managed instance ID of the server for which the backup was created.Backup.Builder
timeCreated(Date timeCreated)
The date and time when the backup was created (in RFC 3339 format).Backup.Builder
type(BackupType type)
The type of the backup.
-
-
-
Method Detail
-
id
public Backup.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 Backup.Builder type(BackupType type)
The type of the backup.- Parameters:
type
- the value to set- Returns:
- this builder
-
managedInstanceId
public Backup.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 Backup.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 Backup.Builder contentType(BackupContentType contentType)
The type of content of the backup.- Parameters:
contentType
- the value to set- Returns:
- this builder
-
timeCreated
public Backup.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 Backup build()
-
copy
public Backup.Builder copy(Backup model)
-
-