StructuredPojo
, ToCopyableBuilder<MaintenanceWindowTask.Builder,MaintenanceWindowTask>
@Generated("software.amazon.awssdk:codegen") public class MaintenanceWindowTask extends Object implements StructuredPojo, ToCopyableBuilder<MaintenanceWindowTask.Builder,MaintenanceWindowTask>
Information about a task defined for a Maintenance Window.
Modifier and Type | Class | Description |
---|---|---|
static interface |
MaintenanceWindowTask.Builder |
Modifier and Type | Method | Description |
---|---|---|
static MaintenanceWindowTask.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
LoggingInfo |
loggingInfo() |
Information about an Amazon S3 bucket to write task-level logs to.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
maxConcurrency() |
The maximum number of targets this task can be run for in parallel.
|
String |
maxErrors() |
The maximum number of errors allowed before this task stops being scheduled.
|
Integer |
priority() |
The priority of the task in the Maintenance Window, the lower the number the higher the priority.
|
static Class<? extends MaintenanceWindowTask.Builder> |
serializableBuilderClass() |
|
String |
serviceRoleArn() |
The role that should be assumed when executing the task
|
List<Target> |
targets() |
The targets (either instances or tags).
|
String |
taskArn() |
The ARN of the task to execute.
|
Map<String,MaintenanceWindowTaskParameterValueExpression> |
taskParameters() |
The parameters that should be passed to the task when it is executed.
|
MaintenanceWindowTask.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The type of task.
|
String |
windowId() |
The Maintenance Window ID where the task is registered.
|
String |
windowTaskId() |
The task ID.
|
public String windowId()
The Maintenance Window ID where the task is registered.
public String windowTaskId()
The task ID.
public String taskArn()
The ARN of the task to execute.
public String type()
The type of task.
MaintenanceWindowTaskType
public List<Target> targets()
The targets (either instances or tags). Instances are specified using Key=instanceids,Values=<instanceid1>,<instanceid2>. Tags are specified using Key=<tag name>,Values=<tag value>.
public Map<String,MaintenanceWindowTaskParameterValueExpression> taskParameters()
The parameters that should be passed to the task when it is executed.
public Integer priority()
The priority of the task in the Maintenance Window, the lower the number the higher the priority. Tasks in a Maintenance Window are scheduled in priority order with tasks that have the same priority scheduled in parallel.
public LoggingInfo loggingInfo()
Information about an Amazon S3 bucket to write task-level logs to.
public String serviceRoleArn()
The role that should be assumed when executing the task
public String maxConcurrency()
The maximum number of targets this task can be run for in parallel.
public String maxErrors()
The maximum number of errors allowed before this task stops being scheduled.
public MaintenanceWindowTask.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MaintenanceWindowTask.Builder,MaintenanceWindowTask>
public static MaintenanceWindowTask.Builder builder()
public static Class<? extends MaintenanceWindowTask.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.