Class MediaServiceProperties
java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.MediaServiceProperties
Properties of the Media Services account.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MediaServiceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the encryption property: The account encryption properties.Get the keyDelivery property: The Key Delivery properties for Media Services account.Get the mediaServiceId property: The Media Services account ID.Get the minimumTlsVersion property: The minimum TLS version allowed for this account's requests.Get the privateEndpointConnections property: The Private Endpoint Connections created for the Media Service account.Get the provisioningState property: Provisioning state of the Media Services account.Get the publicNetworkAccess property: Whether or not public network access is allowed for resources under the Media Services account.Get the storageAccounts property: The storage accounts for this resource.Get the storageAuthentication property: The storageAuthentication property.void
validate()
Validates the instance.withEncryption
(AccountEncryption encryption) Set the encryption property: The account encryption properties.withKeyDelivery
(KeyDelivery keyDelivery) Set the keyDelivery property: The Key Delivery properties for Media Services account.withMinimumTlsVersion
(MinimumTlsVersion minimumTlsVersion) Set the minimumTlsVersion property: The minimum TLS version allowed for this account's requests.withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Whether or not public network access is allowed for resources under the Media Services account.withStorageAccounts
(List<StorageAccount> storageAccounts) Set the storageAccounts property: The storage accounts for this resource.withStorageAuthentication
(StorageAuthentication storageAuthentication) Set the storageAuthentication property: The storageAuthentication property.
-
Constructor Details
-
MediaServiceProperties
public MediaServiceProperties()Creates an instance of MediaServiceProperties class.
-
-
Method Details
-
mediaServiceId
Get the mediaServiceId property: The Media Services account ID.- Returns:
- the mediaServiceId value.
-
storageAccounts
Get the storageAccounts property: The storage accounts for this resource.- Returns:
- the storageAccounts value.
-
withStorageAccounts
Set the storageAccounts property: The storage accounts for this resource.- Parameters:
storageAccounts
- the storageAccounts value to set.- Returns:
- the MediaServiceProperties object itself.
-
storageAuthentication
Get the storageAuthentication property: The storageAuthentication property.- Returns:
- the storageAuthentication value.
-
withStorageAuthentication
public MediaServiceProperties withStorageAuthentication(StorageAuthentication storageAuthentication) Set the storageAuthentication property: The storageAuthentication property.- Parameters:
storageAuthentication
- the storageAuthentication value to set.- Returns:
- the MediaServiceProperties object itself.
-
encryption
Get the encryption property: The account encryption properties.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: The account encryption properties.- Parameters:
encryption
- the encryption value to set.- Returns:
- the MediaServiceProperties object itself.
-
keyDelivery
Get the keyDelivery property: The Key Delivery properties for Media Services account.- Returns:
- the keyDelivery value.
-
withKeyDelivery
Set the keyDelivery property: The Key Delivery properties for Media Services account.- Parameters:
keyDelivery
- the keyDelivery value to set.- Returns:
- the MediaServiceProperties object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: Whether or not public network access is allowed for resources under the Media Services account.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Whether or not public network access is allowed for resources under the Media Services account.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the MediaServiceProperties object itself.
-
provisioningState
Get the provisioningState property: Provisioning state of the Media Services account.- Returns:
- the provisioningState value.
-
privateEndpointConnections
Get the privateEndpointConnections property: The Private Endpoint Connections created for the Media Service account.- Returns:
- the privateEndpointConnections value.
-
minimumTlsVersion
Get the minimumTlsVersion property: The minimum TLS version allowed for this account's requests. This is an optional property. If unspecified, a secure default value will be used.- Returns:
- the minimumTlsVersion value.
-
withMinimumTlsVersion
Set the minimumTlsVersion property: The minimum TLS version allowed for this account's requests. This is an optional property. If unspecified, a secure default value will be used.- Parameters:
minimumTlsVersion
- the minimumTlsVersion value to set.- Returns:
- the MediaServiceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-