Class ListContainerSasInput
java.lang.Object
com.azure.resourcemanager.mediaservices.models.ListContainerSasInput
The parameters to the list SAS request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the expiryTime property: The SAS URL expiration time.Get the permissions property: The permissions to set on the SAS URL.void
validate()
Validates the instance.withExpiryTime
(OffsetDateTime expiryTime) Set the expiryTime property: The SAS URL expiration time.withPermissions
(AssetContainerPermission permissions) Set the permissions property: The permissions to set on the SAS URL.
-
Constructor Details
-
ListContainerSasInput
public ListContainerSasInput()Creates an instance of ListContainerSasInput class.
-
-
Method Details
-
permissions
Get the permissions property: The permissions to set on the SAS URL.- Returns:
- the permissions value.
-
withPermissions
Set the permissions property: The permissions to set on the SAS URL.- Parameters:
permissions
- the permissions value to set.- Returns:
- the ListContainerSasInput object itself.
-
expiryTime
Get the expiryTime property: The SAS URL expiration time. This must be less than 24 hours from the current time.- Returns:
- the expiryTime value.
-
withExpiryTime
Set the expiryTime property: The SAS URL expiration time. This must be less than 24 hours from the current time.- Parameters:
expiryTime
- the expiryTime value to set.- Returns:
- the ListContainerSasInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-