Interface MaintenanceWindowRunCommandParameters.Builder

    • Method Detail

      • comment

        MaintenanceWindowRunCommandParameters.Builder comment​(String comment)

        Information about the commands to run.

        Parameters:
        comment - Information about the commands to run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cloudWatchOutputConfig

        MaintenanceWindowRunCommandParameters.Builder cloudWatchOutputConfig​(CloudWatchOutputConfig cloudWatchOutputConfig)
        Sets the value of the CloudWatchOutputConfig property for this object.
        Parameters:
        cloudWatchOutputConfig - The new value for the CloudWatchOutputConfig property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentHash

        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.

        Parameters:
        documentHash - The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentVersion

        MaintenanceWindowRunCommandParameters.Builder documentVersion​(String documentVersion)

        The Amazon Web Services Systems Manager document (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 Amazon Web Services 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"

        Parameters:
        documentVersion - The Amazon Web Services Systems Manager document (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 Amazon Web Services 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"

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • notificationConfig

        MaintenanceWindowRunCommandParameters.Builder notificationConfig​(NotificationConfig notificationConfig)

        Configurations for sending notifications about command status changes on a per-managed node basis.

        Parameters:
        notificationConfig - Configurations for sending notifications about command status changes on a per-managed node basis.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputS3BucketName

        MaintenanceWindowRunCommandParameters.Builder outputS3BucketName​(String outputS3BucketName)

        The name of the Amazon Simple Storage Service (Amazon S3) bucket.

        Parameters:
        outputS3BucketName - The name of the Amazon Simple Storage Service (Amazon S3) bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputS3KeyPrefix

        MaintenanceWindowRunCommandParameters.Builder outputS3KeyPrefix​(String outputS3KeyPrefix)

        The S3 bucket subfolder.

        Parameters:
        outputS3KeyPrefix - The S3 bucket subfolder.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceRoleArn

        MaintenanceWindowRunCommandParameters.Builder serviceRoleArn​(String serviceRoleArn)

        The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.

        Parameters:
        serviceRoleArn - The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeoutSeconds

        MaintenanceWindowRunCommandParameters.Builder timeoutSeconds​(Integer timeoutSeconds)

        If this time is reached and the command hasn't already started running, it doesn't run.

        Parameters:
        timeoutSeconds - If this time is reached and the command hasn't already started running, it doesn't run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.