Class GoogleCloudFunctionDestinationBuilder
java.lang.Object
com.commercetools.api.models.extension.GoogleCloudFunctionDestinationBuilder
- All Implemented Interfaces:
Builder<GoogleCloudFunctionDestination>
public class GoogleCloudFunctionDestinationBuilder
extends Object
implements Builder<GoogleCloudFunctionDestination>
GoogleCloudFunctionDestinationBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
GoogleCloudFunctionDestination googleCloudFunctionDestination = GoogleCloudFunctionDestination.builder()
.url("{url}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds GoogleCloudFunctionDestination with checking for non-null required valuesbuilds GoogleCloudFunctionDestination without checking for non-null required valuesgetUrl()
URL to the target function.of()
factory method for an instance of GoogleCloudFunctionDestinationBuilderof
(GoogleCloudFunctionDestination template) create builder for GoogleCloudFunctionDestination instanceURL to the target function.
-
Constructor Details
-
GoogleCloudFunctionDestinationBuilder
public GoogleCloudFunctionDestinationBuilder()
-
-
Method Details
-
url
URL to the target function.
- Parameters:
url
- value to be set- Returns:
- Builder
-
getUrl
URL to the target function.
- Returns:
- url
-
build
builds GoogleCloudFunctionDestination with checking for non-null required values- Specified by:
build
in interfaceBuilder<GoogleCloudFunctionDestination>
- Returns:
- GoogleCloudFunctionDestination
-
buildUnchecked
builds GoogleCloudFunctionDestination without checking for non-null required values- Returns:
- GoogleCloudFunctionDestination
-
of
factory method for an instance of GoogleCloudFunctionDestinationBuilder- Returns:
- builder
-
of
create builder for GoogleCloudFunctionDestination instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-