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

Class TrafficPattern

    • Constructor Detail

      • TrafficPattern

        public TrafficPattern()
    • Method Detail

      • setTrafficType

        public void setTrafficType(String trafficType)

        Defines the traffic patterns. Choose either PHASES or STAIRS.

        Parameters:
        trafficType - Defines the traffic patterns. Choose either PHASES or STAIRS.
        See Also:
        TrafficType
      • getTrafficType

        public String getTrafficType()

        Defines the traffic patterns. Choose either PHASES or STAIRS.

        Returns:
        Defines the traffic patterns. Choose either PHASES or STAIRS.
        See Also:
        TrafficType
      • withTrafficType

        public TrafficPattern withTrafficType(String trafficType)

        Defines the traffic patterns. Choose either PHASES or STAIRS.

        Parameters:
        trafficType - Defines the traffic patterns. Choose either PHASES or STAIRS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrafficType
      • withTrafficType

        public TrafficPattern withTrafficType(TrafficType trafficType)

        Defines the traffic patterns. Choose either PHASES or STAIRS.

        Parameters:
        trafficType - Defines the traffic patterns. Choose either PHASES or STAIRS.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TrafficType
      • getPhases

        public List<Phase> getPhases()

        Defines the phases traffic specification.

        Returns:
        Defines the phases traffic specification.
      • setPhases

        public void setPhases(Collection<Phase> phases)

        Defines the phases traffic specification.

        Parameters:
        phases - Defines the phases traffic specification.
      • withPhases

        public TrafficPattern withPhases(Phase... phases)

        Defines the phases traffic specification.

        NOTE: This method appends the values to the existing list (if any). Use setPhases(java.util.Collection) or withPhases(java.util.Collection) if you want to override the existing values.

        Parameters:
        phases - Defines the phases traffic specification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withPhases

        public TrafficPattern withPhases(Collection<Phase> phases)

        Defines the phases traffic specification.

        Parameters:
        phases - Defines the phases traffic specification.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStairs

        public void setStairs(Stairs stairs)

        Defines the stairs traffic pattern.

        Parameters:
        stairs - Defines the stairs traffic pattern.
      • getStairs

        public Stairs getStairs()

        Defines the stairs traffic pattern.

        Returns:
        Defines the stairs traffic pattern.
      • withStairs

        public TrafficPattern withStairs(Stairs stairs)

        Defines the stairs traffic pattern.

        Parameters:
        stairs - Defines the stairs traffic pattern.
        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 によって変換されたページ (->オリジナル) /