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