Class CreateScheduledActionRequest
- 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.CreateScheduledActionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateScheduledActionRequest.Builder,CreateScheduledActionRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateScheduledActionRequest extends RedshiftRequest implements ToCopyableBuilder<CreateScheduledActionRequest.Builder,CreateScheduledActionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateScheduledActionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateScheduledActionRequest.Builderbuilder()Booleanenable()If true, the schedule is enabled.InstantendTime()The end time in UTC of the scheduled action.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamRole()The IAM role to assume to run the target action.Stringschedule()The schedule inat( )orcron( )format.StringscheduledActionDescription()The description of the scheduled action.StringscheduledActionName()The name of the scheduled action.List<SdkField<?>>sdkFields()static Class<? extends CreateScheduledActionRequest.Builder>serializableBuilderClass()InstantstartTime()The start time in UTC of the scheduled action.ScheduledActionTypetargetAction()A JSON format string of the Amazon Redshift API operation with input parameters.CreateScheduledActionRequest.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. The name must be unique within an account. For more information about this parameter, see ScheduledAction.
- Returns:
- The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.
-
targetAction
public final ScheduledActionType targetAction()
A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.
- Returns:
- A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.
-
schedule
public final String schedule()
The schedule in
at( )orcron( )format. For more information about this parameter, see ScheduledAction.- Returns:
- The schedule in
at( )orcron( )format. For more information about this parameter, see ScheduledAction.
-
iamRole
public final String iamRole()
The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
- Returns:
- The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
-
scheduledActionDescription
public final String scheduledActionDescription()
The description of the scheduled action.
- Returns:
- The description of the scheduled action.
-
startTime
public final Instant startTime()
The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
- Returns:
- The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
-
endTime
public final Instant endTime()
The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
- Returns:
- The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
-
enable
public final Boolean enable()
If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about
stateof the scheduled action, see ScheduledAction.- Returns:
- If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information
about
stateof the scheduled action, see ScheduledAction.
-
toBuilder
public CreateScheduledActionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateScheduledActionRequest.Builder,CreateScheduledActionRequest>- Specified by:
toBuilderin classRedshiftRequest
-
builder
public static CreateScheduledActionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateScheduledActionRequest.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
-
-