Class TransparentProxyDestination.GatewayBuilder
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.TransparentProxyDestination.AbstractBuilder<TransparentProxyDestination.GatewayBuilder>
com.sap.cloud.sdk.cloudplatform.connectivity.TransparentProxyDestination.GatewayBuilder
- Enclosing class:
- TransparentProxyDestination
public static final class TransparentProxyDestination.GatewayBuilder
extends TransparentProxyDestination.AbstractBuilder<TransparentProxyDestination.GatewayBuilder>
Builder for creating a destination-gateway
TransparentProxyDestination. See https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/dynamic-lookup-of-destinations-
Method Summary
Modifier and TypeMethodDescriptiondestinationLevel(DestinationServiceOptionsAugmenter.CrossLevelScope destinationLevel) Sets the destination level for the destination-gateway.fragmentLevel(DestinationServiceOptionsAugmenter.CrossLevelScope fragmentLevel) Sets the fragment level for the destination-gateway.fragmentName(String fragmentName) Sets the fragment name for the destination-gateway.fragmentOptional(boolean fragmentOptional) Sets the fragment optional flag for the destination-gateway.getThis()Returns the current builder instance.Methods inherited from class com.sap.cloud.sdk.cloudplatform.connectivity.TransparentProxyDestination.AbstractBuilder
actorToken, actorTokenType, authorization, build, chainName, chainVarSamlProviderDestinationName, chainVarSubjectToken, chainVarSubjectTokenType, clientAssertion, clientAssertionDestinationName, clientAssertionType, codeVerifier, header, header, headers, property, property, redirectUri, subjectTokenType, tenantId, tenantSubdomain, tokenServiceTenant
-
Method Details
-
getThis
Description copied from class:TransparentProxyDestination.AbstractBuilderReturns the current builder instance.This method is used to support fluent method chaining in subclasses of
AbstractBuilder.- Specified by:
getThisin classTransparentProxyDestination.AbstractBuilder<TransparentProxyDestination.GatewayBuilder>- Returns:
- the current builder instance
-
fragmentName
@Nonnull public TransparentProxyDestination.GatewayBuilder fragmentName(@Nonnull String fragmentName) Sets the fragment name for the destination-gateway. See https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/dynamic-lookup-of-destinations- Parameters:
fragmentName- The name of the fragment to use.- Returns:
- This builder instance for method chaining.
-
destinationLevel
@Nonnull public TransparentProxyDestination.GatewayBuilder destinationLevel(@Nonnull DestinationServiceOptionsAugmenter.CrossLevelScope destinationLevel) Sets the destination level for the destination-gateway. See https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/dynamic-lookup-of-destinations- Parameters:
destinationLevel- The level of the destination to use.- Returns:
- This builder instance for method chaining.
-
fragmentLevel
@Nonnull public TransparentProxyDestination.GatewayBuilder fragmentLevel(@Nonnull DestinationServiceOptionsAugmenter.CrossLevelScope fragmentLevel) Sets the fragment level for the destination-gateway. See https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/dynamic-lookup-of-destinations- Parameters:
fragmentLevel- The level of the fragment to use.- Returns:
- This builder instance for method chaining.
-
fragmentOptional
@Nonnull public TransparentProxyDestination.GatewayBuilder fragmentOptional(boolean fragmentOptional) Sets the fragment optional flag for the destination-gateway. See https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/dynamic-lookup-of-destinations- Parameters:
fragmentOptional- The value indicating if the fragment is optional.- Returns:
- This builder instance for method chaining.
-