Class StorageBlobDeadLetterDestination
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.models.DeadLetterDestination
-
- com.azure.resourcemanager.eventgrid.models.StorageBlobDeadLetterDestination
-
public final class StorageBlobDeadLetterDestination extends DeadLetterDestination
Information about the storage blob based dead letter destination.
-
-
Constructor Summary
Constructors Constructor Description StorageBlobDeadLetterDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringblobContainerName()Get the blobContainerName property: The name of the Storage blob container that is the destination of the deadletter events.StringresourceId()Get the resourceId property: The Azure Resource ID of the storage account that is the destination of the deadletter events.voidvalidate()Validates the instance.StorageBlobDeadLetterDestinationwithBlobContainerName(String blobContainerName)Set the blobContainerName property: The name of the Storage blob container that is the destination of the deadletter events.StorageBlobDeadLetterDestinationwithResourceId(String resourceId)Set the resourceId property: The Azure Resource ID of the storage account that is the destination of the deadletter events.
-
-
-
Method Detail
-
resourceId
public String resourceId()
Get the resourceId property: The Azure Resource ID of the storage account that is the destination of the deadletter events.- Returns:
- the resourceId value.
-
withResourceId
public StorageBlobDeadLetterDestination withResourceId(String resourceId)
Set the resourceId property: The Azure Resource ID of the storage account that is the destination of the deadletter events.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the StorageBlobDeadLetterDestination object itself.
-
blobContainerName
public String blobContainerName()
Get the blobContainerName property: The name of the Storage blob container that is the destination of the deadletter events.- Returns:
- the blobContainerName value.
-
withBlobContainerName
public StorageBlobDeadLetterDestination withBlobContainerName(String blobContainerName)
Set the blobContainerName property: The name of the Storage blob container that is the destination of the deadletter events.- Parameters:
blobContainerName- the blobContainerName value to set.- Returns:
- the StorageBlobDeadLetterDestination object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classDeadLetterDestination- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-