Class ServerTrustCertificateInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.ServerTrustCertificateInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ServerTrustCertificateInner
extends com.azure.core.management.ProxyResource
Server trust certificate imported from box to enable connection between box and Sql Managed Instance.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServerTrustCertificateInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateName property: The certificate name.Get the publicBlob property: The certificate public blob.Get the thumbprint property: The certificate thumbprint.voidvalidate()Validates the instance.withPublicBlob(String publicBlob) Set the publicBlob property: The certificate public blob.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
ServerTrustCertificateInner
public ServerTrustCertificateInner()Creates an instance of ServerTrustCertificateInner class.
-
-
Method Details
-
publicBlob
Get the publicBlob property: The certificate public blob.- Returns:
- the publicBlob value.
-
withPublicBlob
Set the publicBlob property: The certificate public blob.- Parameters:
publicBlob- the publicBlob value to set.- Returns:
- the ServerTrustCertificateInner object itself.
-
thumbprint
Get the thumbprint property: The certificate thumbprint.- Returns:
- the thumbprint value.
-
certificateName
Get the certificateName property: The certificate name.- Returns:
- the certificateName value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-