@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskScheduleDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about your DataSync task schedule.
Constructor and Description |
---|
TaskScheduleDetails() |
Modifier and Type | Method and Description |
---|---|
TaskScheduleDetails |
clone() |
boolean |
equals(Object obj) |
String |
getDisabledBy()
Indicates how your task schedule was disabled.
|
String |
getDisabledReason()
Provides a reason if the task schedule is disabled.
|
Date |
getStatusUpdateTime()
Indicates the last time the status of your task schedule changed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisabledBy(String disabledBy)
Indicates how your task schedule was disabled.
|
void |
setDisabledReason(String disabledReason)
Provides a reason if the task schedule is disabled.
|
void |
setStatusUpdateTime(Date statusUpdateTime)
Indicates the last time the status of your task schedule changed.
|
String |
toString()
Returns a string representation of this object.
|
TaskScheduleDetails |
withDisabledBy(ScheduleDisabledBy disabledBy)
Indicates how your task schedule was disabled.
|
TaskScheduleDetails |
withDisabledBy(String disabledBy)
Indicates how your task schedule was disabled.
|
TaskScheduleDetails |
withDisabledReason(String disabledReason)
Provides a reason if the task schedule is disabled.
|
TaskScheduleDetails |
withStatusUpdateTime(Date statusUpdateTime)
Indicates the last time the status of your task schedule changed.
|
public void setStatusUpdateTime(Date statusUpdateTime)
Indicates the last time the status of your task schedule changed. For example, if DataSync automatically disables your schedule because of a repeated error, you can see when the schedule was disabled.
statusUpdateTime
- Indicates the last time the status of your task schedule changed. For example, if DataSync automatically
disables your schedule because of a repeated error, you can see when the schedule was disabled.public Date getStatusUpdateTime()
Indicates the last time the status of your task schedule changed. For example, if DataSync automatically disables your schedule because of a repeated error, you can see when the schedule was disabled.
public TaskScheduleDetails withStatusUpdateTime(Date statusUpdateTime)
Indicates the last time the status of your task schedule changed. For example, if DataSync automatically disables your schedule because of a repeated error, you can see when the schedule was disabled.
statusUpdateTime
- Indicates the last time the status of your task schedule changed. For example, if DataSync automatically
disables your schedule because of a repeated error, you can see when the schedule was disabled.public void setDisabledReason(String disabledReason)
Provides a reason if the task schedule is disabled.
If your schedule is disabled by USER
, you see a Manually disabled by user.
message.
If your schedule is disabled by SERVICE
, you see an error message to help you understand why the
task keeps failing. For information on resolving DataSync errors, see Troubleshooting issues with DataSync transfers.
disabledReason
- Provides a reason if the task schedule is disabled.
If your schedule is disabled by USER
, you see a Manually disabled by user.
message.
If your schedule is disabled by SERVICE
, you see an error message to help you understand why
the task keeps failing. For information on resolving DataSync errors, see Troubleshooting issues with DataSync transfers.
public String getDisabledReason()
Provides a reason if the task schedule is disabled.
If your schedule is disabled by USER
, you see a Manually disabled by user.
message.
If your schedule is disabled by SERVICE
, you see an error message to help you understand why the
task keeps failing. For information on resolving DataSync errors, see Troubleshooting issues with DataSync transfers.
If your schedule is disabled by USER
, you see a Manually disabled by user.
message.
If your schedule is disabled by SERVICE
, you see an error message to help you understand why
the task keeps failing. For information on resolving DataSync errors, see Troubleshooting issues with DataSync transfers.
public TaskScheduleDetails withDisabledReason(String disabledReason)
Provides a reason if the task schedule is disabled.
If your schedule is disabled by USER
, you see a Manually disabled by user.
message.
If your schedule is disabled by SERVICE
, you see an error message to help you understand why the
task keeps failing. For information on resolving DataSync errors, see Troubleshooting issues with DataSync transfers.
disabledReason
- Provides a reason if the task schedule is disabled.
If your schedule is disabled by USER
, you see a Manually disabled by user.
message.
If your schedule is disabled by SERVICE
, you see an error message to help you understand why
the task keeps failing. For information on resolving DataSync errors, see Troubleshooting issues with DataSync transfers.
public void setDisabledBy(String disabledBy)
Indicates how your task schedule was disabled.
USER
- Your schedule was manually disabled by using the UpdateTask operation or
DataSync console.
SERVICE
- Your schedule was automatically disabled by DataSync because the task failed repeatedly
with the same error.
disabledBy
- Indicates how your task schedule was disabled.
USER
- Your schedule was manually disabled by using the UpdateTask operation
or DataSync console.
SERVICE
- Your schedule was automatically disabled by DataSync because the task failed
repeatedly with the same error.
ScheduleDisabledBy
public String getDisabledBy()
Indicates how your task schedule was disabled.
USER
- Your schedule was manually disabled by using the UpdateTask operation or
DataSync console.
SERVICE
- Your schedule was automatically disabled by DataSync because the task failed repeatedly
with the same error.
USER
- Your schedule was manually disabled by using the UpdateTask operation
or DataSync console.
SERVICE
- Your schedule was automatically disabled by DataSync because the task failed
repeatedly with the same error.
ScheduleDisabledBy
public TaskScheduleDetails withDisabledBy(String disabledBy)
Indicates how your task schedule was disabled.
USER
- Your schedule was manually disabled by using the UpdateTask operation or
DataSync console.
SERVICE
- Your schedule was automatically disabled by DataSync because the task failed repeatedly
with the same error.
disabledBy
- Indicates how your task schedule was disabled.
USER
- Your schedule was manually disabled by using the UpdateTask operation
or DataSync console.
SERVICE
- Your schedule was automatically disabled by DataSync because the task failed
repeatedly with the same error.
ScheduleDisabledBy
public TaskScheduleDetails withDisabledBy(ScheduleDisabledBy disabledBy)
Indicates how your task schedule was disabled.
USER
- Your schedule was manually disabled by using the UpdateTask operation or
DataSync console.
SERVICE
- Your schedule was automatically disabled by DataSync because the task failed repeatedly
with the same error.
disabledBy
- Indicates how your task schedule was disabled.
USER
- Your schedule was manually disabled by using the UpdateTask operation
or DataSync console.
SERVICE
- Your schedule was automatically disabled by DataSync because the task failed
repeatedly with the same error.
ScheduleDisabledBy
public String toString()
toString
in class Object
Object.toString()
public TaskScheduleDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.