@Generated(value="software.amazon.awssdk:codegen") public final class UpdateTaskRequest extends DataSyncRequest implements ToCopyableBuilder<UpdateTaskRequest.Builder,UpdateTaskRequest>
UpdateTaskResponse
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateTaskRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateTaskRequest.Builder |
builder() |
String |
cloudWatchLogGroupArn()
The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<FilterRule> |
excludes()
A list of filter rules that determines which files to exclude from a task.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludes()
Returns true if the Excludes property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
name()
The name of the task to update.
|
Options |
options()
Returns the value of the Options property for this object.
|
TaskSchedule |
schedule()
Specifies a schedule used to periodically transfer files from a source to a destination location.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateTaskRequest.Builder> |
serializableBuilderClass() |
String |
taskArn()
The Amazon Resource Name (ARN) of the resource name of the task to update.
|
UpdateTaskRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String taskArn()
The Amazon Resource Name (ARN) of the resource name of the task to update.
public Options options()
public boolean hasExcludes()
public List<FilterRule> excludes()
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for
example: "/folder1|/folder2"
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExcludes() to see if a value was sent in this field.
"/folder1|/folder2"
public TaskSchedule schedule()
Specifies a schedule used to periodically transfer files from a source to a destination location. You can configure your task to execute hourly, daily, weekly or on specific days of the week. You control when in the day or hour you want the task to execute. The time you specify is UTC time. For more information, see task-scheduling.
public String name()
The name of the task to update.
public String cloudWatchLogGroupArn()
The Amazon Resource Name (ARN) of the resource name of the CloudWatch LogGroup.
public UpdateTaskRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateTaskRequest.Builder,UpdateTaskRequest>toBuilder in class DataSyncRequestpublic static UpdateTaskRequest.Builder builder()
public static Class<? extends UpdateTaskRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.