Class CaptureDescription
- java.lang.Object
-
- com.microsoft.azure.management.eventhub.CaptureDescription
-
public class CaptureDescription extends Object
Properties to configure capture description for eventhub.
-
-
Constructor Summary
Constructors Constructor Description CaptureDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Destinationdestination()Get the destination value.Booleanenabled()Get the enabled value.EncodingCaptureDescriptionencoding()Get the encoding value.IntegerintervalInSeconds()Get the intervalInSeconds value.IntegersizeLimitInBytes()Get the sizeLimitInBytes value.CaptureDescriptionwithDestination(Destination destination)Set the destination value.CaptureDescriptionwithEnabled(Boolean enabled)Set the enabled value.CaptureDescriptionwithEncoding(EncodingCaptureDescription encoding)Set the encoding value.CaptureDescriptionwithIntervalInSeconds(Integer intervalInSeconds)Set the intervalInSeconds value.CaptureDescriptionwithSizeLimitInBytes(Integer sizeLimitInBytes)Set the sizeLimitInBytes value.
-
-
-
Method Detail
-
enabled
public Boolean enabled()
Get the enabled value.- Returns:
- the enabled value
-
withEnabled
public CaptureDescription withEnabled(Boolean enabled)
Set the enabled value.- Parameters:
enabled- the enabled value to set- Returns:
- the CaptureDescription object itself.
-
encoding
public EncodingCaptureDescription encoding()
Get the encoding value.- Returns:
- the encoding value
-
withEncoding
public CaptureDescription withEncoding(EncodingCaptureDescription encoding)
Set the encoding value.- Parameters:
encoding- the encoding value to set- Returns:
- the CaptureDescription object itself.
-
intervalInSeconds
public Integer intervalInSeconds()
Get the intervalInSeconds value.- Returns:
- the intervalInSeconds value
-
withIntervalInSeconds
public CaptureDescription withIntervalInSeconds(Integer intervalInSeconds)
Set the intervalInSeconds value.- Parameters:
intervalInSeconds- the intervalInSeconds value to set- Returns:
- the CaptureDescription object itself.
-
sizeLimitInBytes
public Integer sizeLimitInBytes()
Get the sizeLimitInBytes value.- Returns:
- the sizeLimitInBytes value
-
withSizeLimitInBytes
public CaptureDescription withSizeLimitInBytes(Integer sizeLimitInBytes)
Set the sizeLimitInBytes value.- Parameters:
sizeLimitInBytes- the sizeLimitInBytes value to set- Returns:
- the CaptureDescription object itself.
-
destination
public Destination destination()
Get the destination value.- Returns:
- the destination value
-
withDestination
public CaptureDescription withDestination(Destination destination)
Set the destination value.- Parameters:
destination- the destination value to set- Returns:
- the CaptureDescription object itself.
-
-