Class ModifyScheduledActionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.redshift.model.RedshiftRequest
-
- software.amazon.awssdk.services.redshift.model.ModifyScheduledActionRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ModifyScheduledActionRequest.Builder,ModifyScheduledActionRequest>
@Generated("software.amazon.awssdk:codegen") public final class ModifyScheduledActionRequest extends RedshiftRequest implements ToCopyableBuilder<ModifyScheduledActionRequest.Builder,ModifyScheduledActionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModifyScheduledActionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModifyScheduledActionRequest.Builder
builder()
Boolean
enable()
A modified enable flag of the scheduled action.Instant
endTime()
A modified end time of the scheduled action.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
iamRole()
A different IAM role to assume to run the target action.String
schedule()
A modified schedule in eitherat( )
orcron( )
format.String
scheduledActionDescription()
A modified description of the scheduled action.String
scheduledActionName()
The name of the scheduled action to modify.List<SdkField<?>>
sdkFields()
static Class<? extends ModifyScheduledActionRequest.Builder>
serializableBuilderClass()
Instant
startTime()
A modified start time of the scheduled action.ScheduledActionType
targetAction()
A modified JSON format of the scheduled action.ModifyScheduledActionRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
scheduledActionName
public final String scheduledActionName()
The name of the scheduled action to modify.
- Returns:
- The name of the scheduled action to modify.
-
targetAction
public final ScheduledActionType targetAction()
A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.
- Returns:
- A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.
-
schedule
public final String schedule()
A modified schedule in either
at( )
orcron( )
format. For more information about this parameter, see ScheduledAction.- Returns:
- A modified schedule in either
at( )
orcron( )
format. For more information about this parameter, see ScheduledAction.
-
iamRole
public final String iamRole()
A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
- Returns:
- A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
-
scheduledActionDescription
public final String scheduledActionDescription()
A modified description of the scheduled action.
- Returns:
- A modified description of the scheduled action.
-
startTime
public final Instant startTime()
A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.
- Returns:
- A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.
-
endTime
public final Instant endTime()
A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.
- Returns:
- A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.
-
enable
public final Boolean enable()
A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
- Returns:
- A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
-
toBuilder
public ModifyScheduledActionRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModifyScheduledActionRequest.Builder,ModifyScheduledActionRequest>
- Specified by:
toBuilder
in classRedshiftRequest
-
builder
public static ModifyScheduledActionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifyScheduledActionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-