ServiceCorrelationDescription Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. ServiceCorrelationDescription
- com.
public final class ServiceCorrelationDescription
Creates a particular correlation between services.
Constructor Summary
Constructor | Description |
---|---|
ServiceCorrelationDescription() |
Creates an instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
Service |
scheme()
Get the scheme property: The Service |
String |
serviceName()
Get the service |
void |
validate()
Validates the instance. |
Service |
withScheme(ServiceCorrelationScheme scheme)
Set the scheme property: The Service |
Service |
withServiceName(String serviceName)
Set the service |
Methods inherited from java.lang.Object
Constructor Details
ServiceCorrelationDescription
public ServiceCorrelationDescription()
Creates an instance of ServiceCorrelationDescription class.
Method Details
scheme
public ServiceCorrelationScheme scheme()
Get the scheme property: The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
Returns:
serviceName
public String serviceName()
Get the serviceName property: The name of the service that the correlation relationship is established with.
Returns:
validate
public void validate()
Validates the instance.
withScheme
public ServiceCorrelationDescription withScheme(ServiceCorrelationScheme scheme)
Set the scheme property: The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.
Parameters:
Returns:
withServiceName
public ServiceCorrelationDescription withServiceName(String serviceName)
Set the serviceName property: The name of the service that the correlation relationship is established with.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for