ServerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. mysql. fluent. models. ServerProperties
- com.
public final class ServerProperties
The properties of a server.
Constructor | Description | |
---|---|---|
Server |
Modifier and Type | Method and Description |
---|---|
String |
administrator Get the administrator |
String |
byok Get the byok |
Offset |
earliest Get the earliest |
String |
fully Get the fully |
Infrastructure |
infrastructure Get the infrastructure |
String |
master Get the master |
Minimal |
minimal Get the minimal |
List<Server |
private Get the private |
Public |
public Get the public |
Integer |
replica Get the replica |
String |
replication Get the replication |
Ssl |
ssl Get the ssl |
Storage |
storage Get the storage |
Server |
user Get the user |
void |
validate()
Validates the instance. |
Server |
version()
Get the version property: Server version. |
Server |
with Set the administrator |
Server |
with Set the earliest |
Server |
with Set the fully |
Server |
with Set the infrastructure |
Server |
with Set the master |
Server |
with Set the minimal |
Server |
with Set the public |
Server |
with Set the replica |
Server |
with Set the replication |
Server |
with Set the ssl |
Server |
with Set the storage |
Server |
with Set the user |
Server |
with Set the version property: Server version. |
Methods inherited from java.lang.Object
ServerProperties
public ServerProperties()
administratorLogin
public String administratorLogin()
Get the administratorLogin property: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
Returns:
byokEnforcement
public String byokEnforcement()
Get the byokEnforcement property: Status showing whether the server data encryption is enabled with customer-managed keys.
Returns:
earliestRestoreDate
public OffsetDateTime earliestRestoreDate()
Get the earliestRestoreDate property: Earliest restore point creation time (ISO8601 format).
Returns:
fullyQualifiedDomainName
public String fullyQualifiedDomainName()
Get the fullyQualifiedDomainName property: The fully qualified domain name of a server.
Returns:
infrastructureEncryption
public InfrastructureEncryption infrastructureEncryption()
Get the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.
Returns:
masterServerId
public String masterServerId()
Get the masterServerId property: The master server id of a replica server.
Returns:
minimalTlsVersion
public MinimalTlsVersionEnum minimalTlsVersion()
Get the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: List of private endpoint connections on a server.
Returns:
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:
replicaCapacity
public Integer replicaCapacity()
Get the replicaCapacity property: The maximum number of replicas that a master server can have.
Returns:
replicationRole
public String replicationRole()
Get the replicationRole property: The replication role of the server.
Returns:
sslEnforcement
public SslEnforcementEnum sslEnforcement()
Get the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Returns:
storageProfile
public StorageProfile storageProfile()
Get the storageProfile property: Storage profile of a server.
Returns:
userVisibleState
public ServerState userVisibleState()
Get the userVisibleState property: A state of a server that is visible to user.
Returns:
validate
public void validate()
Validates the instance.
version
public ServerVersion version()
Get the version property: Server version.
Returns:
withAdministratorLogin
public ServerProperties withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
Parameters:
Returns:
withEarliestRestoreDate
public ServerProperties withEarliestRestoreDate(OffsetDateTime earliestRestoreDate)
Set the earliestRestoreDate property: Earliest restore point creation time (ISO8601 format).
Parameters:
Returns:
withFullyQualifiedDomainName
public ServerProperties withFullyQualifiedDomainName(String fullyQualifiedDomainName)
Set the fullyQualifiedDomainName property: The fully qualified domain name of a server.
Parameters:
Returns:
withInfrastructureEncryption
public ServerProperties withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)
Set the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.
Parameters:
Returns:
withMasterServerId
public ServerProperties withMasterServerId(String masterServerId)
Set the masterServerId property: The master server id of a replica server.
Parameters:
Returns:
withMinimalTlsVersion
public ServerProperties withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)
Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Parameters:
Returns:
withPublicNetworkAccess
public ServerProperties 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:
Returns:
withReplicaCapacity
public ServerProperties withReplicaCapacity(Integer replicaCapacity)
Set the replicaCapacity property: The maximum number of replicas that a master server can have.
Parameters:
Returns:
withReplicationRole
public ServerProperties withReplicationRole(String replicationRole)
Set the replicationRole property: The replication role of the server.
Parameters:
Returns:
withSslEnforcement
public ServerProperties withSslEnforcement(SslEnforcementEnum sslEnforcement)
Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Parameters:
Returns:
withStorageProfile
public ServerProperties withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage profile of a server.
Parameters:
Returns:
withUserVisibleState
public ServerProperties withUserVisibleState(ServerState userVisibleState)
Set the userVisibleState property: A state of a server that is visible to user.
Parameters:
Returns:
withVersion
public ServerProperties withVersion(ServerVersion version)
Set the version property: Server version.
Parameters:
Returns: