Lezen in het Engels

Delen via


ServerPropertiesForCreate Class

  • java.lang.Object
    • com.azure.resourcemanager.mysql.models.ServerPropertiesForCreate

public class ServerPropertiesForCreate

The properties used to create a new server.

Constructor Summary

Constructor Description
ServerPropertiesForCreate()

Method Summary

Modifier and Type Method and Description
InfrastructureEncryption infrastructureEncryption()

Get the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.

MinimalTlsVersionEnum minimalTlsVersion()

Get the minimalTlsVersion property: Enforce a minimal Tls version for the server.

PublicNetworkAccessEnum publicNetworkAccess()

Get the publicNetworkAccess property: Whether or not public network access is allowed for this server.

SslEnforcementEnum sslEnforcement()

Get the sslEnforcement property: Enable ssl enforcement or not when connect to server.

StorageProfile storageProfile()

Get the storageProfile property: Storage profile of a server.

void validate()

Validates the instance.

ServerVersion version()

Get the version property: Server version.

ServerPropertiesForCreate withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)

Set the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.

ServerPropertiesForCreate withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)

Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.

ServerPropertiesForCreate withPublicNetworkAccess(PublicNetworkAccessEnum publicNetworkAccess)

Set the publicNetworkAccess property: Whether or not public network access is allowed for this server.

ServerPropertiesForCreate withSslEnforcement(SslEnforcementEnum sslEnforcement)

Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.

ServerPropertiesForCreate withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Storage profile of a server.

ServerPropertiesForCreate withVersion(ServerVersion version)

Set the version property: Server version.

Methods inherited from java.lang.Object

Constructor Details

ServerPropertiesForCreate

public ServerPropertiesForCreate()

Method Details

infrastructureEncryption

public InfrastructureEncryption infrastructureEncryption()

Get the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.

Returns:

the infrastructureEncryption value.

minimalTlsVersion

public MinimalTlsVersionEnum minimalTlsVersion()

Get the minimalTlsVersion property: Enforce a minimal Tls version for the server.

Returns:

the minimalTlsVersion value.

publicNetworkAccess

public PublicNetworkAccessEnum publicNetworkAccess()

Get the publicNetworkAccess property: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

Returns:

the publicNetworkAccess value.

sslEnforcement

public SslEnforcementEnum sslEnforcement()

Get the sslEnforcement property: Enable ssl enforcement or not when connect to server.

Returns:

the sslEnforcement value.

storageProfile

public StorageProfile storageProfile()

Get the storageProfile property: Storage profile of a server.

Returns:

the storageProfile value.

validate

public void validate()

Validates the instance.

version

public ServerVersion version()

Get the version property: Server version.

Returns:

the version value.

withInfrastructureEncryption

public ServerPropertiesForCreate withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)

Set the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.

Parameters:

infrastructureEncryption - the infrastructureEncryption value to set.

Returns:

the ServerPropertiesForCreate object itself.

withMinimalTlsVersion

public ServerPropertiesForCreate withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)

Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.

Parameters:

minimalTlsVersion - the minimalTlsVersion value to set.

Returns:

the ServerPropertiesForCreate object itself.

withPublicNetworkAccess

public ServerPropertiesForCreate withPublicNetworkAccess(PublicNetworkAccessEnum publicNetworkAccess)

Set the publicNetworkAccess property: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the ServerPropertiesForCreate object itself.

withSslEnforcement

public ServerPropertiesForCreate withSslEnforcement(SslEnforcementEnum sslEnforcement)

Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.

Parameters:

sslEnforcement - the sslEnforcement value to set.

Returns:

the ServerPropertiesForCreate object itself.

withStorageProfile

public ServerPropertiesForCreate withStorageProfile(StorageProfile storageProfile)

Set the storageProfile property: Storage profile of a server.

Parameters:

storageProfile - the storageProfile value to set.

Returns:

the ServerPropertiesForCreate object itself.

withVersion

public ServerPropertiesForCreate withVersion(ServerVersion version)

Set the version property: Server version.

Parameters:

version - the version value to set.

Returns:

the ServerPropertiesForCreate object itself.

Applies to

Azure SDK for Java

Latest