DiskBackedMessageBuffer Class
- java.
lang. Object - com.
azure. resourcemanager. iotoperations. models. DiskBackedMessageBuffer
- com.
Implements
public final class DiskBackedMessageBuffer
implements JsonSerializable<DiskBackedMessageBuffer>
DiskBackedMessageBuffer properties.
Constructor Summary
| Constructor | Description |
|---|---|
| DiskBackedMessageBuffer() |
Creates an instance of Disk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Volume |
ephemeralVolumeClaimSpec()
Get the ephemeral |
|
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
| String |
maxSize()
Get the max |
|
Volume |
persistentVolumeClaimSpec()
Get the persistent |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Disk |
withEphemeralVolumeClaimSpec(VolumeClaimSpec ephemeralVolumeClaimSpec)
Set the ephemeral |
|
Disk |
withMaxSize(String maxSize)
Set the max |
|
Disk |
withPersistentVolumeClaimSpec(VolumeClaimSpec persistentVolumeClaimSpec)
Set the persistent |
Methods inherited from java.lang.Object
Constructor Details
DiskBackedMessageBuffer
public DiskBackedMessageBuffer()
Creates an instance of DiskBackedMessageBuffer class.
Method Details
ephemeralVolumeClaimSpec
public VolumeClaimSpec ephemeralVolumeClaimSpec()
Get the ephemeralVolumeClaimSpec property: Use the specified persistent volume claim template to mount a "generic ephemeral volume" for the message buffer. See https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/\#generic-ephemeral-volumes for details.
Returns:
fromJson
public static DiskBackedMessageBuffer fromJson(JsonReader jsonReader)
Reads an instance of DiskBackedMessageBuffer from the JsonReader.
Parameters:
Returns:
Throws:
maxSize
public String maxSize()
Get the maxSize property: The max size of the message buffer on disk. If a PVC template is specified using one of ephemeralVolumeClaimSpec or persistentVolumeClaimSpec, then this size is used as the request and limit sizes of that template. If neither ephemeralVolumeClaimSpec nor persistentVolumeClaimSpec are specified, then an emptyDir volume is mounted with this size as its limit. See https://kubernetes.io/docs/concepts/storage/volumes/\#emptydir for details.
Returns:
persistentVolumeClaimSpec
public VolumeClaimSpec persistentVolumeClaimSpec()
Get the persistentVolumeClaimSpec property: Use the specified persistent volume claim template to mount a persistent volume for the message buffer.
Returns:
toJson
withEphemeralVolumeClaimSpec
public DiskBackedMessageBuffer withEphemeralVolumeClaimSpec(VolumeClaimSpec ephemeralVolumeClaimSpec)
Set the ephemeralVolumeClaimSpec property: Use the specified persistent volume claim template to mount a "generic ephemeral volume" for the message buffer. See https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/\#generic-ephemeral-volumes for details.
Parameters:
Returns:
withMaxSize
public DiskBackedMessageBuffer withMaxSize(String maxSize)
Set the maxSize property: The max size of the message buffer on disk. If a PVC template is specified using one of ephemeralVolumeClaimSpec or persistentVolumeClaimSpec, then this size is used as the request and limit sizes of that template. If neither ephemeralVolumeClaimSpec nor persistentVolumeClaimSpec are specified, then an emptyDir volume is mounted with this size as its limit. See https://kubernetes.io/docs/concepts/storage/volumes/\#emptydir for details.
Parameters:
Returns:
withPersistentVolumeClaimSpec
public DiskBackedMessageBuffer withPersistentVolumeClaimSpec(VolumeClaimSpec persistentVolumeClaimSpec)
Set the persistentVolumeClaimSpec property: Use the specified persistent volume claim template to mount a persistent volume for the message buffer.
Parameters:
Returns: