Class BackendServiceFabricClusterProperties
java.lang.Object
com.azure.resourcemanager.apimanagement.models.BackendServiceFabricClusterProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BackendServiceFabricClusterProperties>
public final class BackendServiceFabricClusterProperties
extends Object
implements com.azure.json.JsonSerializable<BackendServiceFabricClusterProperties>
Properties of the Service Fabric Type Backend.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BackendServiceFabricClusterProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the clientCertificateId property: The client certificate id for the management endpoint.Get the clientCertificatethumbprint property: The client certificate thumbprint for the management endpoint.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BackendServiceFabricClusterProperties from the JsonReader.Get the managementEndpoints property: The cluster management endpoint.Get the maxPartitionResolutionRetries property: Maximum number of retries while attempting resolve the partition.Get the serverCertificateThumbprints property: Thumbprints of certificates cluster management service uses for tls communication.Get the serverX509Names property: Server X509 Certificate Names Collection.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withClientCertificateId(String clientCertificateId) Set the clientCertificateId property: The client certificate id for the management endpoint.withClientCertificatethumbprint(String clientCertificatethumbprint) Set the clientCertificatethumbprint property: The client certificate thumbprint for the management endpoint.withManagementEndpoints(List<String> managementEndpoints) Set the managementEndpoints property: The cluster management endpoint.withMaxPartitionResolutionRetries(Integer maxPartitionResolutionRetries) Set the maxPartitionResolutionRetries property: Maximum number of retries while attempting resolve the partition.withServerCertificateThumbprints(List<String> serverCertificateThumbprints) Set the serverCertificateThumbprints property: Thumbprints of certificates cluster management service uses for tls communication.withServerX509Names(List<X509CertificateName> serverX509Names) Set the serverX509Names property: Server X509 Certificate Names Collection.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BackendServiceFabricClusterProperties
public BackendServiceFabricClusterProperties()Creates an instance of BackendServiceFabricClusterProperties class.
-
-
Method Details
-
clientCertificateId
Get the clientCertificateId property: The client certificate id for the management endpoint.- Returns:
- the clientCertificateId value.
-
withClientCertificateId
Set the clientCertificateId property: The client certificate id for the management endpoint.- Parameters:
clientCertificateId- the clientCertificateId value to set.- Returns:
- the BackendServiceFabricClusterProperties object itself.
-
clientCertificatethumbprint
Get the clientCertificatethumbprint property: The client certificate thumbprint for the management endpoint. Will be ignored if certificatesIds are provided.- Returns:
- the clientCertificatethumbprint value.
-
withClientCertificatethumbprint
public BackendServiceFabricClusterProperties withClientCertificatethumbprint(String clientCertificatethumbprint) Set the clientCertificatethumbprint property: The client certificate thumbprint for the management endpoint. Will be ignored if certificatesIds are provided.- Parameters:
clientCertificatethumbprint- the clientCertificatethumbprint value to set.- Returns:
- the BackendServiceFabricClusterProperties object itself.
-
maxPartitionResolutionRetries
Get the maxPartitionResolutionRetries property: Maximum number of retries while attempting resolve the partition.- Returns:
- the maxPartitionResolutionRetries value.
-
withMaxPartitionResolutionRetries
public BackendServiceFabricClusterProperties withMaxPartitionResolutionRetries(Integer maxPartitionResolutionRetries) Set the maxPartitionResolutionRetries property: Maximum number of retries while attempting resolve the partition.- Parameters:
maxPartitionResolutionRetries- the maxPartitionResolutionRetries value to set.- Returns:
- the BackendServiceFabricClusterProperties object itself.
-
managementEndpoints
Get the managementEndpoints property: The cluster management endpoint.- Returns:
- the managementEndpoints value.
-
withManagementEndpoints
public BackendServiceFabricClusterProperties withManagementEndpoints(List<String> managementEndpoints) Set the managementEndpoints property: The cluster management endpoint.- Parameters:
managementEndpoints- the managementEndpoints value to set.- Returns:
- the BackendServiceFabricClusterProperties object itself.
-
serverCertificateThumbprints
Get the serverCertificateThumbprints property: Thumbprints of certificates cluster management service uses for tls communication.- Returns:
- the serverCertificateThumbprints value.
-
withServerCertificateThumbprints
public BackendServiceFabricClusterProperties withServerCertificateThumbprints(List<String> serverCertificateThumbprints) Set the serverCertificateThumbprints property: Thumbprints of certificates cluster management service uses for tls communication.- Parameters:
serverCertificateThumbprints- the serverCertificateThumbprints value to set.- Returns:
- the BackendServiceFabricClusterProperties object itself.
-
serverX509Names
Get the serverX509Names property: Server X509 Certificate Names Collection.- Returns:
- the serverX509Names value.
-
withServerX509Names
public BackendServiceFabricClusterProperties withServerX509Names(List<X509CertificateName> serverX509Names) Set the serverX509Names property: Server X509 Certificate Names Collection.- Parameters:
serverX509Names- the serverX509Names value to set.- Returns:
- the BackendServiceFabricClusterProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<BackendServiceFabricClusterProperties>- Throws:
IOException
-
fromJson
public static BackendServiceFabricClusterProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of BackendServiceFabricClusterProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of BackendServiceFabricClusterProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the BackendServiceFabricClusterProperties.
-