JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.redshift.model

Class ModifyScheduledActionResult

    • Constructor Detail

      • ModifyScheduledActionResult

        public ModifyScheduledActionResult()
    • Method Detail

      • setScheduledActionName

        public void setScheduledActionName(String scheduledActionName)

        The name of the scheduled action.

        Parameters:
        scheduledActionName - The name of the scheduled action.
      • getScheduledActionName

        public String getScheduledActionName()

        The name of the scheduled action.

        Returns:
        The name of the scheduled action.
      • withScheduledActionName

        public ModifyScheduledActionResult withScheduledActionName(String scheduledActionName)

        The name of the scheduled action.

        Parameters:
        scheduledActionName - The name of the scheduled action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTargetAction

        public void setTargetAction(ScheduledActionType targetAction)

        A JSON format string of the Amazon Redshift API operation with input parameters.

        " {\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}} ".

        Parameters:
        targetAction - A JSON format string of the Amazon Redshift API operation with input parameters.

        " {\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}} ".

      • getTargetAction

        public ScheduledActionType getTargetAction()

        A JSON format string of the Amazon Redshift API operation with input parameters.

        " {\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}} ".

        Returns:
        A JSON format string of the Amazon Redshift API operation with input parameters.

        " {\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}} ".

      • withTargetAction

        public ModifyScheduledActionResult withTargetAction(ScheduledActionType targetAction)

        A JSON format string of the Amazon Redshift API operation with input parameters.

        " {\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}} ".

        Parameters:
        targetAction - A JSON format string of the Amazon Redshift API operation with input parameters.

        " {\"ResizeCluster\":{\"NodeType\":\"ra3.4xlarge\",\"ClusterIdentifier\":\"my-test-cluster\",\"NumberOfNodes\":3}} ".

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSchedule

        public void setSchedule(String schedule)

        The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

        Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For example, " at(2016年03月04日T17:27:00)".

        Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year) ". For example, "cron(0 10 ? * MON *) ". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

        Parameters:
        schedule - The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

        Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For example, " at(2016年03月04日T17:27:00)".

        Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year) ". For example, "cron(0 10 ? * MON *) ". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

      • getSchedule

        public String getSchedule()

        The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

        Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For example, " at(2016年03月04日T17:27:00)".

        Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year) ". For example, "cron(0 10 ? * MON *) ". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

        Returns:
        The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

        Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For example, " at(2016年03月04日T17:27:00)".

        Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year) ". For example, "cron(0 10 ? * MON *) ". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

      • withSchedule

        public ModifyScheduledActionResult withSchedule(String schedule)

        The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

        Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For example, " at(2016年03月04日T17:27:00)".

        Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year) ". For example, "cron(0 10 ? * MON *) ". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

        Parameters:
        schedule - The schedule for a one-time (at format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour.

        Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For example, " at(2016年03月04日T17:27:00)".

        Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year) ". For example, "cron(0 10 ? * MON *) ". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIamRole

        public void setIamRole(String iamRole)

        The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

        Parameters:
        iamRole - The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.
      • getIamRole

        public String getIamRole()

        The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

        Returns:
        The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.
      • withIamRole

        public ModifyScheduledActionResult withIamRole(String iamRole)

        The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.

        Parameters:
        iamRole - The IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setScheduledActionDescription

        public void setScheduledActionDescription(String scheduledActionDescription)

        The description of the scheduled action.

        Parameters:
        scheduledActionDescription - The description of the scheduled action.
      • getScheduledActionDescription

        public String getScheduledActionDescription()

        The description of the scheduled action.

        Returns:
        The description of the scheduled action.
      • withScheduledActionDescription

        public ModifyScheduledActionResult withScheduledActionDescription(String scheduledActionDescription)

        The description of the scheduled action.

        Parameters:
        scheduledActionDescription - The description of the scheduled action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setState

        public void setState(String state)

        The state of the scheduled action. For example, DISABLED.

        Parameters:
        state - The state of the scheduled action. For example, DISABLED.
        See Also:
        ScheduledActionState
      • getState

        public String getState()

        The state of the scheduled action. For example, DISABLED.

        Returns:
        The state of the scheduled action. For example, DISABLED.
        See Also:
        ScheduledActionState
      • withState

        public ModifyScheduledActionResult withState(String state)

        The state of the scheduled action. For example, DISABLED.

        Parameters:
        state - The state of the scheduled action. For example, DISABLED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScheduledActionState
      • withState

        public ModifyScheduledActionResult withState(ScheduledActionState state)

        The state of the scheduled action. For example, DISABLED.

        Parameters:
        state - The state of the scheduled action. For example, DISABLED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScheduledActionState
      • getNextInvocations

        public List<Date> getNextInvocations()

        List of times when the scheduled action will run.

        Returns:
        List of times when the scheduled action will run.
      • setNextInvocations

        public void setNextInvocations(Collection<Date> nextInvocations)

        List of times when the scheduled action will run.

        Parameters:
        nextInvocations - List of times when the scheduled action will run.
      • withNextInvocations

        public ModifyScheduledActionResult withNextInvocations(Collection<Date> nextInvocations)

        List of times when the scheduled action will run.

        Parameters:
        nextInvocations - List of times when the scheduled action will run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStartTime

        public void setStartTime(Date startTime)

        The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

        Parameters:
        startTime - The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.
      • getStartTime

        public Date getStartTime()

        The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

        Returns:
        The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.
      • withStartTime

        public ModifyScheduledActionResult withStartTime(Date startTime)

        The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.

        Parameters:
        startTime - The start time in UTC when the schedule is active. Before this time, the scheduled action does not trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEndTime

        public void setEndTime(Date endTime)

        The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

        Parameters:
        endTime - The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.
      • getEndTime

        public Date getEndTime()

        The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

        Returns:
        The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.
      • withEndTime

        public ModifyScheduledActionResult withEndTime(Date endTime)

        The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.

        Parameters:
        endTime - The end time in UTC when the schedule is no longer active. After this time, the scheduled action does not trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /