@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:53.454Z")
public interface NamedPackageOptions
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; InitServiceRestartHandle initServiceRestartHandle; NamedPackageOptions namedPackageOptions = NamedPackageOptions.builder() .serviceRestartHandles(List.of(initServiceRestartHandle)) .version(List.of("version")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
NamedPackageOptions.Builder
A builder for
NamedPackageOptions |
static class |
NamedPackageOptions.Jsii$Proxy
An implementation for
NamedPackageOptions |
Modifier and Type | Method and Description |
---|---|
static NamedPackageOptions.Builder |
builder() |
default java.util.List<InitServiceRestartHandle> |
getServiceRestartHandles()
Restart the given services after this command has run.
|
default java.util.List<java.lang.String> |
getVersion()
Specify the versions to install.
|
default java.util.List<InitServiceRestartHandle> getServiceRestartHandles()
Default: - Do not restart any service
default java.util.List<java.lang.String> getVersion()
Default: - Install the latest version
static NamedPackageOptions.Builder builder()
NamedPackageOptions.Builder
of NamedPackageOptions