@Generated(value="software.amazon.awssdk:codegen") public final class UpdateMaintenanceWindowTaskResponse extends SsmResponse implements ToCopyableBuilder<UpdateMaintenanceWindowTaskResponse.Builder,UpdateMaintenanceWindowTaskResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateMaintenanceWindowTaskResponse.Builder |
Modifier and Type | Method and Description |
---|---|
AlarmConfiguration |
alarmConfiguration()
The details for the CloudWatch alarm you applied to your maintenance window task.
|
static UpdateMaintenanceWindowTaskResponse.Builder |
builder() |
MaintenanceWindowTaskCutoffBehavior |
cutoffBehavior()
The specification for whether tasks should continue to run after the cutoff time specified in the maintenance
windows is reached.
|
String |
cutoffBehaviorAsString()
The specification for whether tasks should continue to run after the cutoff time specified in the maintenance
windows is reached.
|
String |
description()
The updated task description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTargets()
For responses, this returns true if the service returned a value for the Targets property.
|
boolean |
hasTaskParameters()
For responses, this returns true if the service returned a value for the TaskParameters property.
|
LoggingInfo |
loggingInfo()
The updated logging information in Amazon S3.
|
String |
maxConcurrency()
The updated
MaxConcurrency value. |
String |
maxErrors()
The updated
MaxErrors value. |
String |
name()
The updated task name.
|
Integer |
priority()
The updated priority value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateMaintenanceWindowTaskResponse.Builder> |
serializableBuilderClass() |
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.
|
List<Target> |
targets()
The updated target values.
|
String |
taskArn()
The updated task ARN value.
|
MaintenanceWindowTaskInvocationParameters |
taskInvocationParameters()
The updated parameter values.
|
Map<String,MaintenanceWindowTaskParameterValueExpression> |
taskParameters()
The updated parameter values.
|
UpdateMaintenanceWindowTaskResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
windowId()
The ID of the maintenance window that was updated.
|
String |
windowTaskId()
The task ID of the maintenance window that was updated.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String windowId()
The ID of the maintenance window that was updated.
public final String windowTaskId()
The task ID of the maintenance window that was updated.
public final boolean hasTargets()
isEmpty()
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.public final List<Target> targets()
The updated target values.
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 hasTargets()
method.
public final String taskArn()
The updated task ARN value.
public final 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.
public final boolean hasTaskParameters()
isEmpty()
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.public final Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters()
The updated parameter values.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs, instead
use the Parameters
option in the TaskInvocationParameters
structure. For information
about how Systems Manager handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
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 hasTaskParameters()
method.
TaskParameters
has been deprecated. To specify parameters to pass to a task when it runs,
instead use the Parameters
option in the TaskInvocationParameters
structure.
For information about how Systems Manager handles these options for the supported maintenance window task
types, see MaintenanceWindowTaskInvocationParameters.
public final MaintenanceWindowTaskInvocationParameters taskInvocationParameters()
The updated parameter values.
public final Integer priority()
The updated priority value.
public final String maxConcurrency()
The updated MaxConcurrency
value.
MaxConcurrency
value.public final String maxErrors()
The updated MaxErrors
value.
MaxErrors
value.public final LoggingInfo loggingInfo()
The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to
contain logs, instead use the OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Amazon Web Services Systems Manager
handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
LoggingInfo
has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3)
bucket to contain logs, instead use the OutputS3BucketName
and
OutputS3KeyPrefix
options in the TaskInvocationParameters
structure. For
information about how Amazon Web Services Systems Manager handles these options for the supported
maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
public final String name()
The updated task name.
public final String description()
The updated task description.
public final MaintenanceWindowTaskCutoffBehavior cutoffBehavior()
The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
If the service returns an enum value that is not available in the current SDK version, cutoffBehavior
will return MaintenanceWindowTaskCutoffBehavior.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from cutoffBehaviorAsString()
.
MaintenanceWindowTaskCutoffBehavior
public final String cutoffBehaviorAsString()
The specification for whether tasks should continue to run after the cutoff time specified in the maintenance windows is reached.
If the service returns an enum value that is not available in the current SDK version, cutoffBehavior
will return MaintenanceWindowTaskCutoffBehavior.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from cutoffBehaviorAsString()
.
MaintenanceWindowTaskCutoffBehavior
public final AlarmConfiguration alarmConfiguration()
The details for the CloudWatch alarm you applied to your maintenance window task.
public UpdateMaintenanceWindowTaskResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UpdateMaintenanceWindowTaskResponse.Builder,UpdateMaintenanceWindowTaskResponse>
toBuilder
in class AwsResponse
public static UpdateMaintenanceWindowTaskResponse.Builder builder()
public static Class<? extends UpdateMaintenanceWindowTaskResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2022. All rights reserved.