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 Details

    • BackendServiceFabricClusterProperties

      public BackendServiceFabricClusterProperties()
      Creates an instance of BackendServiceFabricClusterProperties class.
  • Method Details

    • clientCertificateId

      public String clientCertificateId()
      Get the clientCertificateId property: The client certificate id for the management endpoint.
      Returns:
      the clientCertificateId value.
    • withClientCertificateId

      public BackendServiceFabricClusterProperties withClientCertificateId(String clientCertificateId)
      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

      public String 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

      public Integer 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

      public List<String> 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

      public List<String> 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

      public List<X509CertificateName> 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.