ServiceCorrelationDescription Class

  • java.lang.Object
    • com.azure.resourcemanager.servicefabric.models.ServiceCorrelationDescription

public final class ServiceCorrelationDescription

Creates a particular correlation between services.

Constructor Summary

Constructor Description
ServiceCorrelationDescription()

Creates an instance of ServiceCorrelationDescription class.

Method Summary

Modifier and Type Method and Description
ServiceCorrelationScheme scheme()

Get the scheme property: The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.

String serviceName()

Get the serviceName property: The name of the service that the correlation relationship is established with.

void validate()

Validates the instance.

ServiceCorrelationDescription withScheme(ServiceCorrelationScheme scheme)

Set the scheme property: The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.

ServiceCorrelationDescription withServiceName(String serviceName)

Set the serviceName property: The name of the service that the correlation relationship is established with.

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:

the scheme value.

serviceName

public String serviceName()

Get the serviceName property: The name of the service that the correlation relationship is established with.

Returns:

the serviceName value.

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:

scheme - the scheme value to set.

Returns:

the ServiceCorrelationDescription object itself.

withServiceName

public ServiceCorrelationDescription withServiceName(String serviceName)

Set the serviceName property: The name of the service that the correlation relationship is established with.

Parameters:

serviceName - the serviceName value to set.

Returns:

the ServiceCorrelationDescription object itself.

Applies to