public final class CaptureDescription extends Object
| Constructor and Description |
|---|
CaptureDescription() |
| Modifier and Type | Method and Description |
|---|---|
Destination |
destination()
Get the destination property: Properties of Destination where capture will be stored.
|
Boolean |
enabled()
Get the enabled property: A value that indicates whether capture description is enabled.
|
EncodingCaptureDescription |
encoding()
Get the encoding property: Enumerates the possible values for the encoding format of capture description.
|
Integer |
intervalInSeconds()
Get the intervalInSeconds property: The time window allows you to set the frequency with which the capture to
Azure Blobs will happen, value should between 60 to 900 seconds.
|
Integer |
sizeLimitInBytes()
Get the sizeLimitInBytes property: The size window defines the amount of data built up in your Event Hub before
an capture operation, value should be between 10485760 and 524288000 bytes.
|
void |
validate()
Validates the instance.
|
CaptureDescription |
withDestination(Destination destination)
Set the destination property: Properties of Destination where capture will be stored.
|
CaptureDescription |
withEnabled(Boolean enabled)
Set the enabled property: A value that indicates whether capture description is enabled.
|
CaptureDescription |
withEncoding(EncodingCaptureDescription encoding)
Set the encoding property: Enumerates the possible values for the encoding format of capture description.
|
CaptureDescription |
withIntervalInSeconds(Integer intervalInSeconds)
Set the intervalInSeconds property: The time window allows you to set the frequency with which the capture to
Azure Blobs will happen, value should between 60 to 900 seconds.
|
CaptureDescription |
withSizeLimitInBytes(Integer sizeLimitInBytes)
Set the sizeLimitInBytes property: The size window defines the amount of data built up in your Event Hub before
an capture operation, value should be between 10485760 and 524288000 bytes.
|
public Boolean enabled()
public CaptureDescription withEnabled(Boolean enabled)
enabled - the enabled value to set.public EncodingCaptureDescription encoding()
public CaptureDescription withEncoding(EncodingCaptureDescription encoding)
encoding - the encoding value to set.public Integer intervalInSeconds()
public CaptureDescription withIntervalInSeconds(Integer intervalInSeconds)
intervalInSeconds - the intervalInSeconds value to set.public Integer sizeLimitInBytes()
public CaptureDescription withSizeLimitInBytes(Integer sizeLimitInBytes)
sizeLimitInBytes - the sizeLimitInBytes value to set.public Destination destination()
public CaptureDescription withDestination(Destination destination)
destination - the destination value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.