Class SharePatch
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.SharePatch
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SharePatch
extends com.ibm.cloud.sdk.core.service.model.GenericModel
SharePatch.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target.static interface
An allowed transit encryption mode for this share.static class
Builder. -
Method Summary
Modifier and TypeMethodDescriptionGets the accessControlMode.Gets the allowedTransitEncryptionModes.asPatch()
Construct a JSON merge-patch from the SharePatch.iops()
Gets the iops.name()
Gets the name.New builder.profile()
Gets the profile.Gets the replicationCronSpec.size()
Gets the size.userTags()
Gets the userTags.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
-
accessControlMode
Gets the accessControlMode. The access control mode for the share: - `security_group`: The security groups on the virtual network interface for a mount target control access to the mount target. - `vpc`: All clients in the VPC for a mount target have access to the mount target. For this property to be changed, the share must have no mount targets, `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`.- Returns:
- the accessControlMode
-
allowedTransitEncryptionModes
-
iops
Gets the iops. The maximum input/output operations per second (IOPS) for the file share. In addition, each client accessing the share will be restricted to 48,000 IOPS. The maximum IOPS for a share may increase in the future. For this property to be changed, the share `accessor_binding_role` must not be `accessor`.- Returns:
- the iops
-
name
Gets the name. The name for this share. The name must not be used by another share in the region.- Returns:
- the name
-
profile
Gets the profile. The profile to use for this file share. The requested profile must be in the same `family`.- Returns:
- the profile
-
replicationCronSpec
Gets the replicationCronSpec. The cron specification for the file share replication schedule. Replication of a share can be scheduled to occur at most once every 15 minutes. For this property to be changed, the share `replication_role` must be `replica`.- Returns:
- the replicationCronSpec
-
size
Gets the size. The size of the file share (in gigabytes), excluding share snapshots. The value must not be less than the share's current size, and must not exceed the maximum supported by the share's profile and IOPS. For this property to be changed: - The share `lifecycle_state` must be `stable` - The share `replication_role` must not be `replica` - The share `accessor_binding_role` must not be `accessor`.- Returns:
- the size
-
userTags
-
asPatch
Construct a JSON merge-patch from the SharePatch. Note that properties of the SharePatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the SharePatch
-