Class ListContainerSasInput

java.lang.Object
com.azure.resourcemanager.mediaservices.models.ListContainerSasInput

public final class ListContainerSasInput extends Object
The parameters to the list SAS request.
  • Constructor Details

    • ListContainerSasInput

      public ListContainerSasInput()
      Creates an instance of ListContainerSasInput class.
  • Method Details

    • permissions

      public AssetContainerPermission permissions()
      Get the permissions property: The permissions to set on the SAS URL.
      Returns:
      the permissions value.
    • withPermissions

      public ListContainerSasInput withPermissions(AssetContainerPermission permissions)
      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

      public OffsetDateTime 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

      public ListContainerSasInput withExpiryTime(OffsetDateTime expiryTime)
      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.