Interface CreateDeploymentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDeploymentRequest.Builder,
,CreateDeploymentRequest> GreengrassRequest.Builder
,SdkBuilder<CreateDeploymentRequest.Builder,
,CreateDeploymentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDeploymentRequest
public static interface CreateDeploymentRequest.Builder
extends GreengrassRequest.Builder, SdkPojo, CopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionamznClientToken
(String amznClientToken) A client token used to correlate requests and responses.deploymentId
(String deploymentId) The ID of the deployment if you wish to redeploy a previous deployment.deploymentType
(String deploymentType) The type of deployment.deploymentType
(DeploymentType deploymentType) The type of deployment.The ID of the Greengrass group.groupVersionId
(String groupVersionId) The ID of the group version to be deployed.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
amznClientToken
A client token used to correlate requests and responses.- Parameters:
amznClientToken
- A client token used to correlate requests and responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentId
The ID of the deployment if you wish to redeploy a previous deployment.- Parameters:
deploymentId
- The ID of the deployment if you wish to redeploy a previous deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentType
The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.- Parameters:
deploymentType
- The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentType
The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.- Parameters:
deploymentType
- The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupId
The ID of the Greengrass group.- Parameters:
groupId
- The ID of the Greengrass group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupVersionId
The ID of the group version to be deployed.- Parameters:
groupVersionId
- The ID of the group version to be deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDeploymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDeploymentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-