Enum Class DestinationServiceOptionsAugmenter.CrossLevelScope
java.lang.Object
java.lang.Enum<DestinationServiceOptionsAugmenter.CrossLevelScope>
com.sap.cloud.sdk.cloudplatform.connectivity.DestinationServiceOptionsAugmenter.CrossLevelScope
- All Implemented Interfaces:
Serializable,Comparable<DestinationServiceOptionsAugmenter.CrossLevelScope>,Constable
- Enclosing class:
- DestinationServiceOptionsAugmenter
@Beta
public static enum DestinationServiceOptionsAugmenter.CrossLevelScope
extends Enum<DestinationServiceOptionsAugmenter.CrossLevelScope>
Enable cross-level consumption of destinations.
- Since:
- 5.22.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse the destination from the destination service instance for the current tenant.Use the destination from the destination service instance for the provider tenant.Use the destination from the provider subaccount.Use the destination from the current subaccount. -
Method Summary
Modifier and TypeMethodDescriptionReturn the suffix to be appended to e.g. a destination or fragment name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUBACCOUNT
Use the destination from the current subaccount. -
PROVIDER_SUBACCOUNT
Use the destination from the provider subaccount. Behaves identical toSUBACCOUNT, if the current tenant is the provider tenant, or the strategyDestinationServiceRetrievalStrategy.ALWAYS_PROVIDERis used. -
INSTANCE
Use the destination from the destination service instance for the current tenant. -
PROVIDER_INSTANCE
Use the destination from the destination service instance for the provider tenant. Behaves identical toINSTANCE, if the current tenant is the provider tenant, or the strategyDestinationServiceRetrievalStrategy.ALWAYS_PROVIDERis used.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getSuffix
Return the suffix to be appended to e.g. a destination or fragment name.- Returns:
- The suffix including the leading '@' character.
-