ServiceResourceProperties Class

public final class ServiceResourceProperties
extends ServiceProperties

The properties that define a service in a service topology.

Constructor Summary

Constructor Description
ServiceResourceProperties()

Creates an instance of ServiceResourceProperties class.

Method Summary

Modifier and Type Method and Description
void validate()

Validates the instance.

ServiceResourceProperties withTargetLocation(String targetLocation)

Set the targetLocation property: The Azure location to which the resources in the service belong to or should be deployed to.

ServiceResourceProperties withTargetSubscriptionId(String targetSubscriptionId)

Set the targetSubscriptionId property: The subscription to which the resources in the service belong to or should be deployed to.

Methods inherited from ServiceProperties

Methods inherited from java.lang.Object

Constructor Details

ServiceResourceProperties

public ServiceResourceProperties()

Creates an instance of ServiceResourceProperties class.

Method Details

validate

public void validate()

Validates the instance.

Overrides:

ServiceResourceProperties.validate()

withTargetLocation

public ServiceResourceProperties withTargetLocation(String targetLocation)

Set the targetLocation property: The Azure location to which the resources in the service belong to or should be deployed to.

Overrides:

ServiceResourceProperties.withTargetLocation(String targetLocation)

Parameters:

targetLocation

withTargetSubscriptionId

public ServiceResourceProperties withTargetSubscriptionId(String targetSubscriptionId)

Set the targetSubscriptionId property: The subscription to which the resources in the service belong to or should be deployed to.

Overrides:

ServiceResourceProperties.withTargetSubscriptionId(String targetSubscriptionId)

Parameters:

targetSubscriptionId

Applies to