@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMaintenanceWindowTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateMaintenanceWindowTaskResult() |
Modifier and Type | Method and Description |
---|---|
UpdateMaintenanceWindowTaskResult |
addTaskParametersEntry(String key,
MaintenanceWindowTaskParameterValueExpression value) |
UpdateMaintenanceWindowTaskResult |
clearTaskParametersEntries()
Removes all the entries added into TaskParameters.
|
UpdateMaintenanceWindowTaskResult |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The updated task description.
|
LoggingInfo |
getLoggingInfo()
The updated logging information in Amazon S3.
|
String |
getMaxConcurrency()
The updated MaxConcurrency value.
|
String |
getMaxErrors()
The updated MaxErrors value.
|
String |
getName()
The updated task name.
|
Integer |
getPriority()
The updated priority value.
|
String |
getServiceRoleArn()
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications
for maintenance window Run Command tasks.
|
List<Target> |
getTargets()
The updated target values.
|
String |
getTaskArn()
The updated task ARN value.
|
MaintenanceWindowTaskInvocationParameters |
getTaskInvocationParameters()
The updated parameter values.
|
Map<String,MaintenanceWindowTaskParameterValueExpression> |
getTaskParameters()
The updated parameter values.
|
String |
getWindowId()
The ID of the maintenance window that was updated.
|
String |
getWindowTaskId()
The task ID of the maintenance window that was updated.
|
int |
hashCode() |
void |
setDescription(String description)
The updated task description.
|
void |
setLoggingInfo(LoggingInfo loggingInfo)
The updated logging information in Amazon S3.
|
void |
setMaxConcurrency(String maxConcurrency)
The updated MaxConcurrency value.
|
void |
setMaxErrors(String maxErrors)
The updated MaxErrors value.
|
void |
setName(String name)
The updated task name.
|
void |
setPriority(Integer priority)
The updated priority value.
|
void |
setServiceRoleArn(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.
|
void |
setTargets(Collection<Target> targets)
The updated target values.
|
void |
setTaskArn(String taskArn)
The updated task ARN value.
|
void |
setTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The updated parameter values.
|
void |
setTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The updated parameter values.
|
void |
setWindowId(String windowId)
The ID of the maintenance window that was updated.
|
void |
setWindowTaskId(String windowTaskId)
The task ID of the maintenance window that was updated.
|
String |
toString()
Returns a string representation of this object.
|
UpdateMaintenanceWindowTaskResult |
withDescription(String description)
The updated task description.
|
UpdateMaintenanceWindowTaskResult |
withLoggingInfo(LoggingInfo loggingInfo)
The updated logging information in Amazon S3.
|
UpdateMaintenanceWindowTaskResult |
withMaxConcurrency(String maxConcurrency)
The updated MaxConcurrency value.
|
UpdateMaintenanceWindowTaskResult |
withMaxErrors(String maxErrors)
The updated MaxErrors value.
|
UpdateMaintenanceWindowTaskResult |
withName(String name)
The updated task name.
|
UpdateMaintenanceWindowTaskResult |
withPriority(Integer priority)
The updated priority value.
|
UpdateMaintenanceWindowTaskResult |
withServiceRoleArn(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.
|
UpdateMaintenanceWindowTaskResult |
withTargets(Collection<Target> targets)
The updated target values.
|
UpdateMaintenanceWindowTaskResult |
withTargets(Target... targets)
The updated target values.
|
UpdateMaintenanceWindowTaskResult |
withTaskArn(String taskArn)
The updated task ARN value.
|
UpdateMaintenanceWindowTaskResult |
withTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The updated parameter values.
|
UpdateMaintenanceWindowTaskResult |
withTaskParameters(Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters)
The updated parameter values.
|
UpdateMaintenanceWindowTaskResult |
withWindowId(String windowId)
The ID of the maintenance window that was updated.
|
UpdateMaintenanceWindowTaskResult |
withWindowTaskId(String windowTaskId)
The task ID of the maintenance window that was updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setWindowId(String windowId)
The ID of the maintenance window that was updated.
windowId
- The ID of the maintenance window that was updated.public String getWindowId()
The ID of the maintenance window that was updated.
public UpdateMaintenanceWindowTaskResult withWindowId(String windowId)
The ID of the maintenance window that was updated.
windowId
- The ID of the maintenance window that was updated.public void setWindowTaskId(String windowTaskId)
The task ID of the maintenance window that was updated.
windowTaskId
- The task ID of the maintenance window that was updated.public String getWindowTaskId()
The task ID of the maintenance window that was updated.
public UpdateMaintenanceWindowTaskResult withWindowTaskId(String windowTaskId)
The task ID of the maintenance window that was updated.
windowTaskId
- The task ID of the maintenance window that was updated.public List<Target> getTargets()
The updated target values.
public void setTargets(Collection<Target> targets)
The updated target values.
targets
- The updated target values.public UpdateMaintenanceWindowTaskResult withTargets(Target... targets)
The updated target values.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- The updated target values.public UpdateMaintenanceWindowTaskResult withTargets(Collection<Target> targets)
The updated target values.
targets
- The updated target values.public void setTaskArn(String taskArn)
The updated task ARN value.
taskArn
- The updated task ARN value.public String getTaskArn()
The updated task ARN value.
public UpdateMaintenanceWindowTaskResult withTaskArn(String taskArn)
The updated task ARN value.
taskArn
- The updated task ARN value.public void setServiceRoleArn(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.public String getServiceRoleArn()
The ARN of the IAM service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for maintenance window Run Command tasks.
public UpdateMaintenanceWindowTaskResult withServiceRoleArn(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.public Map<String,MaintenanceWindowTaskParameterValueExpression> getTaskParameters()
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.
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 void setTaskParameters(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.
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.
public UpdateMaintenanceWindowTaskResult withTaskParameters(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.
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.
public UpdateMaintenanceWindowTaskResult addTaskParametersEntry(String key, MaintenanceWindowTaskParameterValueExpression value)
public UpdateMaintenanceWindowTaskResult clearTaskParametersEntries()
public void setTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The updated parameter values.
taskInvocationParameters
- The updated parameter values.public MaintenanceWindowTaskInvocationParameters getTaskInvocationParameters()
The updated parameter values.
public UpdateMaintenanceWindowTaskResult withTaskInvocationParameters(MaintenanceWindowTaskInvocationParameters taskInvocationParameters)
The updated parameter values.
taskInvocationParameters
- The updated parameter values.public void setPriority(Integer priority)
The updated priority value.
priority
- The updated priority value.public Integer getPriority()
The updated priority value.
public UpdateMaintenanceWindowTaskResult withPriority(Integer priority)
The updated priority value.
priority
- The updated priority value.public void setMaxConcurrency(String maxConcurrency)
The updated MaxConcurrency value.
maxConcurrency
- The updated MaxConcurrency value.public String getMaxConcurrency()
The updated MaxConcurrency value.
public UpdateMaintenanceWindowTaskResult withMaxConcurrency(String maxConcurrency)
The updated MaxConcurrency value.
maxConcurrency
- The updated MaxConcurrency value.public void setMaxErrors(String maxErrors)
The updated MaxErrors value.
maxErrors
- The updated MaxErrors value.public String getMaxErrors()
The updated MaxErrors value.
public UpdateMaintenanceWindowTaskResult withMaxErrors(String maxErrors)
The updated MaxErrors value.
maxErrors
- The updated MaxErrors value.public void setLoggingInfo(LoggingInfo loggingInfo)
The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these options
for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
loggingInfo
- The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these
options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
public LoggingInfo getLoggingInfo()
The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these options
for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these
options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
public UpdateMaintenanceWindowTaskResult withLoggingInfo(LoggingInfo loggingInfo)
The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these options
for the supported maintenance window task types, see MaintenanceWindowTaskInvocationParameters.
loggingInfo
- The updated logging information in Amazon S3.
LoggingInfo
has been deprecated. To specify an S3 bucket to contain logs, instead use the
OutputS3BucketName
and OutputS3KeyPrefix
options in the
TaskInvocationParameters
structure. For information about how Systems Manager handles these
options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
public void setName(String name)
The updated task name.
name
- The updated task name.public String getName()
The updated task name.
public UpdateMaintenanceWindowTaskResult withName(String name)
The updated task name.
name
- The updated task name.public void setDescription(String description)
The updated task description.
description
- The updated task description.public String getDescription()
The updated task description.
public UpdateMaintenanceWindowTaskResult withDescription(String description)
The updated task description.
description
- The updated task description.public String toString()
toString
in class Object
Object.toString()
public UpdateMaintenanceWindowTaskResult clone()
Copyright © 2019. All rights reserved.