Package com.ibm.cloud.is.vpc.v1.model
Class ListBackupPolicyJobsOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ListBackupPolicyJobsOptions.Builder
-
- Enclosing class:
- ListBackupPolicyJobsOptions
public static class ListBackupPolicyJobsOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBackupPolicyJobsOptions.Builder
backupPolicyId(String backupPolicyId)
Set the backupPolicyId.ListBackupPolicyJobsOptions.Builder
backupPolicyPlanId(String backupPolicyPlanId)
Set the backupPolicyPlanId.ListBackupPolicyJobsOptions
build()
Builds a ListBackupPolicyJobsOptions.ListBackupPolicyJobsOptions.Builder
limit(long limit)
Set the limit.ListBackupPolicyJobsOptions.Builder
sort(String sort)
Set the sort.ListBackupPolicyJobsOptions.Builder
sourceId(String sourceId)
Set the sourceId.ListBackupPolicyJobsOptions.Builder
start(String start)
Set the start.ListBackupPolicyJobsOptions.Builder
status(String status)
Set the status.ListBackupPolicyJobsOptions.Builder
targetSnapshotsCrn(String targetSnapshotsCrn)
Set the targetSnapshotsCrn.ListBackupPolicyJobsOptions.Builder
targetSnapshotsId(String targetSnapshotsId)
Set the targetSnapshotsId.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String backupPolicyId)
Instantiates a new builder with required properties.- Parameters:
backupPolicyId
- the backupPolicyId
-
-
Method Detail
-
build
public ListBackupPolicyJobsOptions build()
Builds a ListBackupPolicyJobsOptions.- Returns:
- the new ListBackupPolicyJobsOptions instance
-
backupPolicyId
public ListBackupPolicyJobsOptions.Builder backupPolicyId(String backupPolicyId)
Set the backupPolicyId.- Parameters:
backupPolicyId
- the backupPolicyId- Returns:
- the ListBackupPolicyJobsOptions builder
-
status
public ListBackupPolicyJobsOptions.Builder status(String status)
Set the status.- Parameters:
status
- the status- Returns:
- the ListBackupPolicyJobsOptions builder
-
backupPolicyPlanId
public ListBackupPolicyJobsOptions.Builder backupPolicyPlanId(String backupPolicyPlanId)
Set the backupPolicyPlanId.- Parameters:
backupPolicyPlanId
- the backupPolicyPlanId- Returns:
- the ListBackupPolicyJobsOptions builder
-
start
public ListBackupPolicyJobsOptions.Builder start(String start)
Set the start.- Parameters:
start
- the start- Returns:
- the ListBackupPolicyJobsOptions builder
-
limit
public ListBackupPolicyJobsOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the ListBackupPolicyJobsOptions builder
-
sort
public ListBackupPolicyJobsOptions.Builder sort(String sort)
Set the sort.- Parameters:
sort
- the sort- Returns:
- the ListBackupPolicyJobsOptions builder
-
sourceId
public ListBackupPolicyJobsOptions.Builder sourceId(String sourceId)
Set the sourceId.- Parameters:
sourceId
- the sourceId- Returns:
- the ListBackupPolicyJobsOptions builder
-
targetSnapshotsId
public ListBackupPolicyJobsOptions.Builder targetSnapshotsId(String targetSnapshotsId)
Set the targetSnapshotsId.- Parameters:
targetSnapshotsId
- the targetSnapshotsId- Returns:
- the ListBackupPolicyJobsOptions builder
-
targetSnapshotsCrn
public ListBackupPolicyJobsOptions.Builder targetSnapshotsCrn(String targetSnapshotsCrn)
Set the targetSnapshotsCrn.- Parameters:
targetSnapshotsCrn
- the targetSnapshotsCrn- Returns:
- the ListBackupPolicyJobsOptions builder
-
-