public static interface EdgeDeployment.Builder extends SdkPojo, CopyableBuilder<EdgeDeployment.Builder,EdgeDeployment>
| Modifier and Type | Method and Description |
|---|---|
EdgeDeployment.Builder |
definitions(Collection<Definition> definitions)
Returns a list of Definition objects.
|
EdgeDeployment.Builder |
definitions(Consumer<Definition.Builder>... definitions)
Returns a list of Definition objects.
|
EdgeDeployment.Builder |
definitions(Definition... definitions)
Returns a list of Definition objects.
|
EdgeDeployment.Builder |
deploymentName(String deploymentName)
The name and unique ID of the deployment.
|
EdgeDeployment.Builder |
failureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
|
EdgeDeployment.Builder |
failureHandlingPolicy(String failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
|
EdgeDeployment.Builder |
type(DeploymentType type)
The type of the deployment.
|
EdgeDeployment.Builder |
type(String type)
The type of the deployment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEdgeDeployment.Builder deploymentName(String deploymentName)
The name and unique ID of the deployment.
deploymentName - The name and unique ID of the deployment.EdgeDeployment.Builder type(String type)
The type of the deployment.
type - The type of the deployment.DeploymentType,
DeploymentTypeEdgeDeployment.Builder type(DeploymentType type)
The type of the deployment.
type - The type of the deployment.DeploymentType,
DeploymentTypeEdgeDeployment.Builder failureHandlingPolicy(String failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
failureHandlingPolicy - Determines whether to rollback to previous configuration if deployment fails.FailureHandlingPolicy,
FailureHandlingPolicyEdgeDeployment.Builder failureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy)
Determines whether to rollback to previous configuration if deployment fails.
failureHandlingPolicy - Determines whether to rollback to previous configuration if deployment fails.FailureHandlingPolicy,
FailureHandlingPolicyEdgeDeployment.Builder definitions(Collection<Definition> definitions)
Returns a list of Definition objects.
definitions - Returns a list of Definition objects.EdgeDeployment.Builder definitions(Definition... definitions)
Returns a list of Definition objects.
definitions - Returns a list of Definition objects.EdgeDeployment.Builder definitions(Consumer<Definition.Builder>... definitions)
Returns a list of Definition objects.
This is a convenience method that creates an instance of theDefinition.Builder avoiding the need to create
one manually via Definition.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #definitions(List.
definitions - a consumer that will call methods on
Definition.Builder#definitions(java.util.Collection) Copyright © 2023. All rights reserved.