Skip to content

Commit c0a9b66

Browse files
committed
Add Enum JavaDoc
1 parent dfc739b commit c0a9b66

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

cloudplatform/connectivity-destination-service/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/DestinationServiceOptionsAugmenter.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,23 @@ public DestinationServiceOptionsAugmenter crossLevelConsumption( @Nonnull final
138138
@RequiredArgsConstructor
139139
public enum CrossLevelScope
140140
{
141+
/**
142+
* Use the destination from the current subaccount.
143+
*/
141144
SUBACCOUNT("subaccount"),
145+
/**
146+
* Use the destination from the provider subaccount. Behaves identical to {@link #SUBACCOUNT}, if the current tenant is the provider tenant, or the strategy
147+
* {@link DestinationServiceRetrievalStrategy#ALWAYS_PROVIDER} is used.
148+
*/
142149
PROVIDER_SUBACCOUNT("provider_subaccount"),
150+
/**
151+
* Use the destination from the destination service instance for the current tenant.
152+
*/
143153
INSTANCE("instance"),
154+
/**
155+
* Use the destination from the destination service instance for the provider tenant. Behaves identical to {@link #INSTANCE}, if the current tenant is the provider tenant, or the strategy
156+
* {@link DestinationServiceRetrievalStrategy#ALWAYS_PROVIDER} is used.
157+
*/
144158
PROVIDER_INSTANCE("provider_instance");
145159

146160
private final String identifier;

0 commit comments

Comments
 (0)