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 interfaceModifyScheduledActionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModifyScheduledActionRequest.Builderbuilder()Booleanenable()A modified enable flag of the scheduled action.InstantendTime()A modified end time of the scheduled action.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamRole()A different IAM role to assume to run the target action.Stringschedule()A modified schedule in eitherat( )orcron( )format.StringscheduledActionDescription()A modified description of the scheduled action.StringscheduledActionName()The name of the scheduled action to modify.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModifyScheduledActionRequest.Builder>serializableBuilderClass()InstantstartTime()A modified start time of the scheduled action.ScheduledActionTypetargetAction()A modified JSON format of the scheduled action.ModifyScheduledActionRequest.BuildertoBuilder()StringtoString()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:
toBuilderin interfaceToCopyableBuilder<ModifyScheduledActionRequest.Builder,ModifyScheduledActionRequest>- Specified by:
toBuilderin classRedshiftRequest
-
builder
public static ModifyScheduledActionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifyScheduledActionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-