Package com.ibm.cloud.is.vpc.v1.model
Class SharePatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.SharePatch.Builder
-
- Enclosing class:
- SharePatch
public static class SharePatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharePatch.BuilderaccessControlMode(String accessControlMode)Set the accessControlMode.SharePatch.BuilderaddUserTags(String userTags)Adds a new element to userTags.SharePatchbuild()Builds a SharePatch.SharePatch.Builderiops(long iops)Set the iops.SharePatch.Buildername(String name)Set the name.SharePatch.Builderprofile(ShareProfileIdentity profile)Set the profile.SharePatch.BuilderreplicationCronSpec(String replicationCronSpec)Set the replicationCronSpec.SharePatch.Buildersize(long size)Set the size.SharePatch.BuilderuserTags(List<String> userTags)Set the userTags.
-
-
-
Method Detail
-
build
public SharePatch build()
Builds a SharePatch.- Returns:
- the new SharePatch instance
-
addUserTags
public SharePatch.Builder addUserTags(String userTags)
Adds a new element to userTags.- Parameters:
userTags- the new element to be added- Returns:
- the SharePatch builder
-
accessControlMode
public SharePatch.Builder accessControlMode(String accessControlMode)
Set the accessControlMode.- Parameters:
accessControlMode- the accessControlMode- Returns:
- the SharePatch builder
-
iops
public SharePatch.Builder iops(long iops)
Set the iops.- Parameters:
iops- the iops- Returns:
- the SharePatch builder
-
name
public SharePatch.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the SharePatch builder
-
profile
public SharePatch.Builder profile(ShareProfileIdentity profile)
Set the profile.- Parameters:
profile- the profile- Returns:
- the SharePatch builder
-
replicationCronSpec
public SharePatch.Builder replicationCronSpec(String replicationCronSpec)
Set the replicationCronSpec.- Parameters:
replicationCronSpec- the replicationCronSpec- Returns:
- the SharePatch builder
-
size
public SharePatch.Builder size(long size)
Set the size.- Parameters:
size- the size- Returns:
- the SharePatch builder
-
userTags
public SharePatch.Builder userTags(List<String> userTags)
Set the userTags. Existing userTags will be replaced.- Parameters:
userTags- the userTags- Returns:
- the SharePatch builder
-
-