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.codedeploy.model

Class TimeRange

    • Constructor Detail

      • TimeRange

        public TimeRange()
    • Method Detail

      • setStart

        public void setStart(Date start)

        The start time of the time range.

        Specify null to leave the start time open-ended.

        Parameters:
        start - The start time of the time range.

        Specify null to leave the start time open-ended.

      • getStart

        public Date getStart()

        The start time of the time range.

        Specify null to leave the start time open-ended.

        Returns:
        The start time of the time range.

        Specify null to leave the start time open-ended.

      • withStart

        public TimeRange withStart(Date start)

        The start time of the time range.

        Specify null to leave the start time open-ended.

        Parameters:
        start - The start time of the time range.

        Specify null to leave the start time open-ended.

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

        public void setEnd(Date end)

        The end time of the time range.

        Specify null to leave the end time open-ended.

        Parameters:
        end - The end time of the time range.

        Specify null to leave the end time open-ended.

      • getEnd

        public Date getEnd()

        The end time of the time range.

        Specify null to leave the end time open-ended.

        Returns:
        The end time of the time range.

        Specify null to leave the end time open-ended.

      • withEnd

        public TimeRange withEnd(Date end)

        The end time of the time range.

        Specify null to leave the end time open-ended.

        Parameters:
        end - The end time of the time range.

        Specify null to leave the end time open-ended.

        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 によって変換されたページ (->オリジナル) /