public static interface MaintenanceWindowRunCommandParameters.Builder extends SdkPojo, CopyableBuilder<MaintenanceWindowRunCommandParameters.Builder,MaintenanceWindowRunCommandParameters>
| Modifier and Type | Method and Description |
|---|---|
MaintenanceWindowRunCommandParameters.Builder |
cloudWatchOutputConfig(CloudWatchOutputConfig cloudWatchOutputConfig)
Sets the value of the CloudWatchOutputConfig property for this object.
|
default MaintenanceWindowRunCommandParameters.Builder |
cloudWatchOutputConfig(Consumer<CloudWatchOutputConfig.Builder> cloudWatchOutputConfig)
Sets the value of the CloudWatchOutputConfig property for this object.
|
MaintenanceWindowRunCommandParameters.Builder |
comment(String comment)
Information about the commands to run.
|
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.
|
MaintenanceWindowRunCommandParameters.Builder |
documentVersion(String documentVersion)
The SSM document version to use in the request.
|
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 ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS)
notifications for maintenance window Run Command tasks.
|
MaintenanceWindowRunCommandParameters.Builder |
timeoutSeconds(Integer timeoutSeconds)
If this time is reached and the command has not already started running, it doesn't run.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMaintenanceWindowRunCommandParameters.Builder comment(String comment)
Information about the commands to run.
comment - Information about the commands to run.MaintenanceWindowRunCommandParameters.Builder cloudWatchOutputConfig(CloudWatchOutputConfig cloudWatchOutputConfig)
cloudWatchOutputConfig - The new value for the CloudWatchOutputConfig property for this object.default MaintenanceWindowRunCommandParameters.Builder cloudWatchOutputConfig(Consumer<CloudWatchOutputConfig.Builder> cloudWatchOutputConfig)
CloudWatchOutputConfig.Builder avoiding the
need to create one manually via CloudWatchOutputConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to cloudWatchOutputConfig(CloudWatchOutputConfig).cloudWatchOutputConfig - a consumer that will call methods on CloudWatchOutputConfig.BuildercloudWatchOutputConfig(CloudWatchOutputConfig)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 documentVersion(String documentVersion)
The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a specific version number. If you run commands by using the AWS CLI, then you must escape the first two options by using a backslash. If you specify a version number, then you don't need to use the backslash. For example:
--document-version "\$DEFAULT"
--document-version "\$LATEST"
--document-version "3"
documentVersion - The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a specific
version number. If you run commands by using the AWS CLI, then you must escape the first two options
by using a backslash. If you specify a version number, then you don't need to use the backslash. For
example:
--document-version "\$DEFAULT"
--document-version "\$LATEST"
--document-version "3"
MaintenanceWindowRunCommandParameters.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 ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
serviceRoleArn - The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS)
notifications for maintenance window Run Command tasks.MaintenanceWindowRunCommandParameters.Builder timeoutSeconds(Integer timeoutSeconds)
If this time is reached and the command has not already started running, it doesn't run.
timeoutSeconds - If this time is reached and the command has not already started running, it doesn't run.Copyright © 2020. All rights reserved.