Class CreateLocalDeploymentRequest
java.lang.Object
software.amazon.awssdk.aws.greengrass.model.CreateLocalDeploymentRequest
- All Implemented Interfaces:
EventStreamJsonMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the named model type.All artifact files in this directory will be copied over to the Greengrass package store.Map of component names to configuration.Map of component names to component run as info.Deployment failure handling policy.The thing group name the deployment is targeting.All recipes files in this directory will be copied over to the Greengrass package store.List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change.Map of component name to version.inthashCode()voidsetArtifactsDirectoryPath(String artifactsDirectoryPath) All artifact files in this directory will be copied over to the Greengrass package store.voidMap of component names to configuration.voidsetComponentToRunWithInfo(Map<String, RunWithInfo> componentToRunWithInfo) Map of component names to component run as info.voidsetFailureHandlingPolicy(String failureHandlingPolicy) Deployment failure handling policy.voidsetFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy) Deployment failure handling policy.voidsetGroupName(String groupName) The thing group name the deployment is targeting.voidsetRecipeDirectoryPath(String recipeDirectoryPath) All recipes files in this directory will be copied over to the Greengrass package store.voidsetRootComponentsToRemove(List<String> rootComponentsToRemove) List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change.voidsetRootComponentVersionsToAdd(Map<String, String> rootComponentVersionsToAdd) Map of component name to version.withArtifactsDirectoryPath(String artifactsDirectoryPath) All artifact files in this directory will be copied over to the Greengrass package store.Map of component names to configuration.withComponentToRunWithInfo(Map<String, RunWithInfo> componentToRunWithInfo) Map of component names to component run as info.withFailureHandlingPolicy(String failureHandlingPolicy) Deployment failure handling policy.withFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy) Deployment failure handling policy.withGroupName(String groupName) The thing group name the deployment is targeting.withRecipeDirectoryPath(String recipeDirectoryPath) All recipes files in this directory will be copied over to the Greengrass package store.withRootComponentsToRemove(List<String> rootComponentsToRemove) List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change.withRootComponentVersionsToAdd(Map<String, String> rootComponentVersionsToAdd) Map of component name to version.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
Field Details
-
APPLICATION_MODEL_TYPE
- See Also:
-
VOID
-
-
Constructor Details
-
CreateLocalDeploymentRequest
public CreateLocalDeploymentRequest()
-
-
Method Details
-
getGroupName
The thing group name the deployment is targeting. If the group name is not specified, "LOCAL_DEPLOYMENT" will be used. -
setGroupName
The thing group name the deployment is targeting. If the group name is not specified, "LOCAL_DEPLOYMENT" will be used. -
withGroupName
The thing group name the deployment is targeting. If the group name is not specified, "LOCAL_DEPLOYMENT" will be used. -
getRootComponentVersionsToAdd
Map of component name to version. Components will be added to the group's existing root components. -
setRootComponentVersionsToAdd
Map of component name to version. Components will be added to the group's existing root components. -
withRootComponentVersionsToAdd
public CreateLocalDeploymentRequest withRootComponentVersionsToAdd(Map<String, String> rootComponentVersionsToAdd) Map of component name to version. Components will be added to the group's existing root components. -
getRootComponentsToRemove
List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change. -
setRootComponentsToRemove
List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change. -
withRootComponentsToRemove
List of components that need to be removed from the group, for example if new artifacts were loaded in this request but recipe version did not change. -
getComponentToConfiguration
Map of component names to configuration. -
setComponentToConfiguration
Map of component names to configuration. -
withComponentToConfiguration
public CreateLocalDeploymentRequest withComponentToConfiguration(Map<String, Map<String, Object>> componentToConfiguration) Map of component names to configuration. -
getComponentToRunWithInfo
Map of component names to component run as info. -
setComponentToRunWithInfo
Map of component names to component run as info. -
withComponentToRunWithInfo
public CreateLocalDeploymentRequest withComponentToRunWithInfo(Map<String, RunWithInfo> componentToRunWithInfo) Map of component names to component run as info. -
getRecipeDirectoryPath
All recipes files in this directory will be copied over to the Greengrass package store. -
setRecipeDirectoryPath
All recipes files in this directory will be copied over to the Greengrass package store. -
withRecipeDirectoryPath
All recipes files in this directory will be copied over to the Greengrass package store. -
getArtifactsDirectoryPath
All artifact files in this directory will be copied over to the Greengrass package store. -
setArtifactsDirectoryPath
All artifact files in this directory will be copied over to the Greengrass package store. -
withArtifactsDirectoryPath
All artifact files in this directory will be copied over to the Greengrass package store. -
getFailureHandlingPolicy
-
getFailureHandlingPolicyAsString
Deployment failure handling policy. -
setFailureHandlingPolicy
Deployment failure handling policy. -
withFailureHandlingPolicy
Deployment failure handling policy. -
setFailureHandlingPolicy
Deployment failure handling policy. -
withFailureHandlingPolicy
public CreateLocalDeploymentRequest withFailureHandlingPolicy(FailureHandlingPolicy failureHandlingPolicy) Deployment failure handling policy. -
getApplicationModelType
Description copied from interface:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
getApplicationModelTypein interfaceEventStreamJsonMessage- Returns:
- the named model type
-
equals
-
hashCode
public int hashCode()
-