public static interface MaintenanceWindowRunCommandParameters.Builder extends CopyableBuilder<MaintenanceWindowRunCommandParameters.Builder,MaintenanceWindowRunCommandParameters>
| Modifier and Type | Method and Description |
|---|---|
MaintenanceWindowRunCommandParameters.Builder |
comment(String comment)
Information about the command(s) to execute.
|
MaintenanceWindowRunCommandParameters.Builder |
documentHash(String documentHash)
The SHA-256 or SHA-1 hash created by the system when the document was created.
|
MaintenanceWindowRunCommandParameters.Builder |
documentHashType(DocumentHashType documentHashType)
SHA-256 or SHA-1.
|
MaintenanceWindowRunCommandParameters.Builder |
documentHashType(String documentHashType)
SHA-256 or SHA-1.
|
default MaintenanceWindowRunCommandParameters.Builder |
notificationConfig(Consumer<NotificationConfig.Builder> notificationConfig)
Configurations for sending notifications about command status changes on a per-instance basis.
|
MaintenanceWindowRunCommandParameters.Builder |
notificationConfig(NotificationConfig notificationConfig)
Configurations for sending notifications about command status changes on a per-instance basis.
|
MaintenanceWindowRunCommandParameters.Builder |
outputS3BucketName(String outputS3BucketName)
The name of the Amazon S3 bucket.
|
MaintenanceWindowRunCommandParameters.Builder |
outputS3KeyPrefix(String outputS3KeyPrefix)
The Amazon S3 bucket subfolder.
|
MaintenanceWindowRunCommandParameters.Builder |
parameters(Map<String,? extends Collection<String>> parameters)
The parameters for the RUN_COMMAND task execution.
|
MaintenanceWindowRunCommandParameters.Builder |
serviceRoleArn(String serviceRoleArn)
The IAM service role to assume during task execution.
|
MaintenanceWindowRunCommandParameters.Builder |
timeoutSeconds(Integer timeoutSeconds)
If this time is reached and the command has not already started executing, it doesn not execute.
|
copyapply, buildMaintenanceWindowRunCommandParameters.Builder comment(String comment)
Information about the command(s) to execute.
comment - Information about the command(s) to execute.MaintenanceWindowRunCommandParameters.Builder documentHash(String documentHash)
The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
documentHash - The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been
deprecated.MaintenanceWindowRunCommandParameters.Builder documentHashType(String documentHashType)
SHA-256 or SHA-1. SHA-1 hashes have been deprecated.
documentHashType - SHA-256 or SHA-1. SHA-1 hashes have been deprecated.DocumentHashType,
DocumentHashTypeMaintenanceWindowRunCommandParameters.Builder documentHashType(DocumentHashType documentHashType)
SHA-256 or SHA-1. SHA-1 hashes have been deprecated.
documentHashType - SHA-256 or SHA-1. SHA-1 hashes have been deprecated.DocumentHashType,
DocumentHashTypeMaintenanceWindowRunCommandParameters.Builder notificationConfig(NotificationConfig notificationConfig)
Configurations for sending notifications about command status changes on a per-instance basis.
notificationConfig - Configurations for sending notifications about command status changes on a per-instance basis.default MaintenanceWindowRunCommandParameters.Builder notificationConfig(Consumer<NotificationConfig.Builder> notificationConfig)
Configurations for sending notifications about command status changes on a per-instance basis.
This is a convenience that creates an instance of theNotificationConfig.Builder avoiding the need to
create one manually via NotificationConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to notificationConfig(NotificationConfig).notificationConfig - a consumer that will call methods on NotificationConfig.BuildernotificationConfig(NotificationConfig)MaintenanceWindowRunCommandParameters.Builder outputS3BucketName(String outputS3BucketName)
The name of the Amazon S3 bucket.
outputS3BucketName - The name of the Amazon S3 bucket.MaintenanceWindowRunCommandParameters.Builder outputS3KeyPrefix(String outputS3KeyPrefix)
The Amazon S3 bucket subfolder.
outputS3KeyPrefix - The Amazon S3 bucket subfolder.MaintenanceWindowRunCommandParameters.Builder parameters(Map<String,? extends Collection<String>> parameters)
The parameters for the RUN_COMMAND task execution.
parameters - The parameters for the RUN_COMMAND task execution.MaintenanceWindowRunCommandParameters.Builder serviceRoleArn(String serviceRoleArn)
The IAM service role to assume during task execution.
serviceRoleArn - The IAM service role to assume during task execution.MaintenanceWindowRunCommandParameters.Builder timeoutSeconds(Integer timeoutSeconds)
If this time is reached and the command has not already started executing, it doesn not execute.
timeoutSeconds - If this time is reached and the command has not already started executing, it doesn not execute.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.