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 interface
CreateScheduledActionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateScheduledActionRequest.Builder
builder()
Boolean
enable()
If true, the schedule is enabled.Instant
endTime()
The end time in UTC 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()
The IAM role to assume to run the target action.String
schedule()
The schedule inat( )
orcron( )
format.String
scheduledActionDescription()
The description of the scheduled action.String
scheduledActionName()
The name of the scheduled action.List<SdkField<?>>
sdkFields()
static Class<? extends CreateScheduledActionRequest.Builder>
serializableBuilderClass()
Instant
startTime()
The start time in UTC of the scheduled action.ScheduledActionType
targetAction()
A JSON format string of the Amazon Redshift API operation with input parameters.CreateScheduledActionRequest.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. 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
state
of the scheduled action, see ScheduledAction.- Returns:
- If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information
about
state
of the scheduled action, see ScheduledAction.
-
toBuilder
public CreateScheduledActionRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CreateScheduledActionRequest.Builder,CreateScheduledActionRequest>
- Specified by:
toBuilder
in classRedshiftRequest
-
builder
public static CreateScheduledActionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateScheduledActionRequest.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
-
-