Class Destination
java.lang.Object
com.azure.resourcemanager.servicebus.models.Destination
Capture storage details for capture description.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the archiveNameFormat property: Blob naming convention for archive, e.g.Get the blobContainer property: Blob container Name.name()Get the name property: Name for capture destination.Get the storageAccountResourceId property: Resource id of the storage account to be used to create the blobs.voidvalidate()Validates the instance.withArchiveNameFormat(String archiveNameFormat) Set the archiveNameFormat property: Blob naming convention for archive, e.g.withBlobContainer(String blobContainer) Set the blobContainer property: Blob container Name.Set the name property: Name for capture destination.withStorageAccountResourceId(String storageAccountResourceId) Set the storageAccountResourceId property: Resource id of the storage account to be used to create the blobs.
-
Constructor Details
-
Destination
public Destination()
-
-
Method Details
-
name
Get the name property: Name for capture destination.- Returns:
- the name value.
-
withName
Set the name property: Name for capture destination.- Parameters:
name- the name value to set.- Returns:
- the Destination object itself.
-
storageAccountResourceId
Get the storageAccountResourceId property: Resource id of the storage account to be used to create the blobs.- Returns:
- the storageAccountResourceId value.
-
withStorageAccountResourceId
Set the storageAccountResourceId property: Resource id of the storage account to be used to create the blobs.- Parameters:
storageAccountResourceId- the storageAccountResourceId value to set.- Returns:
- the Destination object itself.
-
blobContainer
Get the blobContainer property: Blob container Name.- Returns:
- the blobContainer value.
-
withBlobContainer
Set the blobContainer property: Blob container Name.- Parameters:
blobContainer- the blobContainer value to set.- Returns:
- the Destination object itself.
-
archiveNameFormat
Get the archiveNameFormat property: Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order.- Returns:
- the archiveNameFormat value.
-
withArchiveNameFormat
Set the archiveNameFormat property: Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order.- Parameters:
archiveNameFormat- the archiveNameFormat value to set.- Returns:
- the Destination object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-