Interface SsmDocumentConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SsmDocumentConfig.Builder,,SsmDocumentConfig> SdkBuilder<SsmDocumentConfig.Builder,,SsmDocumentConfig> SdkPojo
- Enclosing class:
SsmDocumentConfig
-
Method Summary
Modifier and TypeMethodDescriptioncrossAccountRole(String crossAccountRole) The cross-account role for the configuration.documentArn(String documentArn) The Amazon Resource Name (ARN) of the Systems Manager document to run.documentVersion(String documentVersion) The version of the Systems Manager document to run for this Region.externalId(String externalId) The external ID (secret key) for the configuration.parameters(Map<String, ? extends Collection<String>> parameters) The parameters that are passed to this Region's Systems Manager document.targets(Collection<SsmTarget> targets) The target filters that Systems Manager resolves to managed nodes when the command runs.targets(Consumer<SsmTarget.Builder>... targets) The target filters that Systems Manager resolves to managed nodes when the command runs.The target filters that Systems Manager resolves to managed nodes when the command runs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
crossAccountRole
The cross-account role for the configuration.
- Parameters:
crossAccountRole- The cross-account role for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
The external ID (secret key) for the configuration.
- Parameters:
externalId- The external ID (secret key) for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentArn
The Amazon Resource Name (ARN) of the Systems Manager document to run.
- Parameters:
documentArn- The Amazon Resource Name (ARN) of the Systems Manager document to run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The target filters that Systems Manager resolves to managed nodes when the command runs. To target specific managed nodes, use the
InstanceIdskey. You can specify up to five target filters.- Parameters:
targets- The target filters that Systems Manager resolves to managed nodes when the command runs. To target specific managed nodes, use theInstanceIdskey. You can specify up to five target filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The target filters that Systems Manager resolves to managed nodes when the command runs. To target specific managed nodes, use the
InstanceIdskey. You can specify up to five target filters.- Parameters:
targets- The target filters that Systems Manager resolves to managed nodes when the command runs. To target specific managed nodes, use theInstanceIdskey. You can specify up to five target filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The target filters that Systems Manager resolves to managed nodes when the command runs. To target specific managed nodes, use the
This is a convenience method that creates an instance of theInstanceIdskey. You can specify up to five target filters.SsmTarget.Builderavoiding the need to create one manually viaSsmTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(List<SsmTarget>).- Parameters:
targets- a consumer that will call methods onSsmTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parameters
The parameters that are passed to this Region's Systems Manager document. You set parameters for each document, so each Region can run its document with its own parameters.
- Parameters:
parameters- The parameters that are passed to this Region's Systems Manager document. You set parameters for each document, so each Region can run its document with its own parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersion
The version of the Systems Manager document to run for this Region. When you omit it, Systems Manager runs the document's default version.
- Parameters:
documentVersion- The version of the Systems Manager document to run for this Region. When you omit it, Systems Manager runs the document's default version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-