Class MaintenanceWindowAutomationParameters
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.MaintenanceWindowAutomationParameters
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<MaintenanceWindowAutomationParameters.Builder,MaintenanceWindowAutomationParameters>
@Generated("software.amazon.awssdk:codegen") public final class MaintenanceWindowAutomationParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MaintenanceWindowAutomationParameters.Builder,MaintenanceWindowAutomationParameters>
The parameters for an
AUTOMATION
task type.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MaintenanceWindowAutomationParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceWindowAutomationParameters.Builder
builder()
String
documentVersion()
The version of an Automation runbook to use during task execution.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
boolean
hasParameters()
For responses, this returns true if the service returned a value for the Parameters property.Map<String,List<String>>
parameters()
The parameters for theAUTOMATION
task.List<SdkField<?>>
sdkFields()
static Class<? extends MaintenanceWindowAutomationParameters.Builder>
serializableBuilderClass()
MaintenanceWindowAutomationParameters.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
documentVersion
public final String documentVersion()
The version of an Automation runbook to use during task execution.
- Returns:
- The version of an Automation runbook to use during task execution.
-
hasParameters
public final boolean hasParameters()
For responses, this returns true if the service returned a value for the Parameters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
parameters
public final Map<String,List<String>> parameters()
The parameters for the
AUTOMATION
task.For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use theOutputS3BucketName
andOutputS3KeyPrefix
options in theTaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use theParameters
option in theTaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.For
AUTOMATION
task types, Amazon Web Services Systems Manager ignores any values specified for these parameters.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasParameters()
method.- Returns:
- The parameters for the
AUTOMATION
task.For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use theOutputS3BucketName
andOutputS3KeyPrefix
options in theTaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead use theParameters
option in theTaskInvocationParameters
structure. For information about how Systems Manager handles these options for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.For
AUTOMATION
task types, Amazon Web Services Systems Manager ignores any values specified for these parameters.
-
toBuilder
public MaintenanceWindowAutomationParameters.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<MaintenanceWindowAutomationParameters.Builder,MaintenanceWindowAutomationParameters>
-
builder
public static MaintenanceWindowAutomationParameters.Builder builder()
-
serializableBuilderClass
public static Class<? extends MaintenanceWindowAutomationParameters.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-