Class BackendServiceFabricClusterProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.BackendServiceFabricClusterProperties
-
public final class BackendServiceFabricClusterProperties extends Object
Properties of the Service Fabric Type Backend.
-
-
Constructor Summary
Constructors Constructor Description BackendServiceFabricClusterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clientCertificateId()
Get the clientCertificateId property: The client certificate id for the management endpoint.String
clientCertificatethumbprint()
Get the clientCertificatethumbprint property: The client certificate thumbprint for the management endpoint.List<String>
managementEndpoints()
Get the managementEndpoints property: The cluster management endpoint.Integer
maxPartitionResolutionRetries()
Get the maxPartitionResolutionRetries property: Maximum number of retries while attempting resolve the partition.List<String>
serverCertificateThumbprints()
Get the serverCertificateThumbprints property: Thumbprints of certificates cluster management service uses for tls communication.List<X509CertificateName>
serverX509Names()
Get the serverX509Names property: Server X509 Certificate Names Collection.void
validate()
Validates the instance.BackendServiceFabricClusterProperties
withClientCertificateId(String clientCertificateId)
Set the clientCertificateId property: The client certificate id for the management endpoint.BackendServiceFabricClusterProperties
withClientCertificatethumbprint(String clientCertificatethumbprint)
Set the clientCertificatethumbprint property: The client certificate thumbprint for the management endpoint.BackendServiceFabricClusterProperties
withManagementEndpoints(List<String> managementEndpoints)
Set the managementEndpoints property: The cluster management endpoint.BackendServiceFabricClusterProperties
withMaxPartitionResolutionRetries(Integer maxPartitionResolutionRetries)
Set the maxPartitionResolutionRetries property: Maximum number of retries while attempting resolve the partition.BackendServiceFabricClusterProperties
withServerCertificateThumbprints(List<String> serverCertificateThumbprints)
Set the serverCertificateThumbprints property: Thumbprints of certificates cluster management service uses for tls communication.BackendServiceFabricClusterProperties
withServerX509Names(List<X509CertificateName> serverX509Names)
Set the serverX509Names property: Server X509 Certificate Names Collection.
-
-
-
Method Detail
-
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.
-
-