@Generated(value="software.amazon.awssdk:codegen") public final class MaintenanceWindowRunCommandParameters extends Object implements StructuredPojo, ToCopyableBuilder<MaintenanceWindowRunCommandParameters.Builder,MaintenanceWindowRunCommandParameters>
The parameters for a RUN_COMMAND task type.
Modifier and Type | Class and Description |
---|---|
static interface |
MaintenanceWindowRunCommandParameters.Builder |
Modifier and Type | Method and Description |
---|---|
static MaintenanceWindowRunCommandParameters.Builder |
builder() |
String |
comment()
Information about the command(s) to execute.
|
String |
documentHash()
The SHA-256 or SHA-1 hash created by the system when the document was created.
|
DocumentHashType |
documentHashType()
SHA-256 or SHA-1.
|
String |
documentHashTypeAsString()
SHA-256 or SHA-1.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
NotificationConfig |
notificationConfig()
Configurations for sending notifications about command status changes on a per-instance basis.
|
String |
outputS3BucketName()
The name of the Amazon S3 bucket.
|
String |
outputS3KeyPrefix()
The Amazon S3 bucket subfolder.
|
Map<String,List<String>> |
parameters()
The parameters for the RUN_COMMAND task execution.
|
static Class<? extends MaintenanceWindowRunCommandParameters.Builder> |
serializableBuilderClass() |
String |
serviceRoleArn()
The IAM service role to assume during task execution.
|
Integer |
timeoutSeconds()
If this time is reached and the command has not already started executing, it doesn not execute.
|
MaintenanceWindowRunCommandParameters.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String comment()
Information about the command(s) to execute.
public String documentHash()
The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes have been deprecated.
public DocumentHashType documentHashType()
SHA-256 or SHA-1. SHA-1 hashes have been deprecated.
If the service returns an enum value that is not available in the current SDK version, documentHashType
will return DocumentHashType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from documentHashTypeAsString()
.
DocumentHashType
public String documentHashTypeAsString()
SHA-256 or SHA-1. SHA-1 hashes have been deprecated.
If the service returns an enum value that is not available in the current SDK version, documentHashType
will return DocumentHashType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from documentHashTypeAsString()
.
DocumentHashType
public NotificationConfig notificationConfig()
Configurations for sending notifications about command status changes on a per-instance basis.
public String outputS3BucketName()
The name of the Amazon S3 bucket.
public String outputS3KeyPrefix()
The Amazon S3 bucket subfolder.
public Map<String,List<String>> parameters()
The parameters for the RUN_COMMAND task execution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String serviceRoleArn()
The IAM service role to assume during task execution.
public Integer timeoutSeconds()
If this time is reached and the command has not already started executing, it doesn not execute.
public MaintenanceWindowRunCommandParameters.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MaintenanceWindowRunCommandParameters.Builder,MaintenanceWindowRunCommandParameters>
public static MaintenanceWindowRunCommandParameters.Builder builder()
public static Class<? extends MaintenanceWindowRunCommandParameters.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.