Class CreateTrafficPolicyVersionRequest

    • Constructor Detail

      • CreateTrafficPolicyVersionRequest

        public CreateTrafficPolicyVersionRequest()
    • Method Detail

      • setId

        public void setId​(String id)

        The ID of the traffic policy for which you want to create a new version.

        Parameters:
        id - The ID of the traffic policy for which you want to create a new version.
      • getId

        public String getId()

        The ID of the traffic policy for which you want to create a new version.

        Returns:
        The ID of the traffic policy for which you want to create a new version.
      • withId

        public CreateTrafficPolicyVersionRequest withId​(String id)

        The ID of the traffic policy for which you want to create a new version.

        Parameters:
        id - The ID of the traffic policy for which you want to create a new version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDocument

        public void setDocument​(String document)

        The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.

        Parameters:
        document - The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.
      • getDocument

        public String getDocument()

        The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.

        Returns:
        The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.
      • withDocument

        public CreateTrafficPolicyVersionRequest withDocument​(String document)

        The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.

        Parameters:
        document - The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setComment

        public void setComment​(String comment)

        Any comments that you want to include about the new traffic policy version.

        Parameters:
        comment - Any comments that you want to include about the new traffic policy version.
      • getComment

        public String getComment()

        Any comments that you want to include about the new traffic policy version.

        Returns:
        Any comments that you want to include about the new traffic policy version.
      • withComment

        public CreateTrafficPolicyVersionRequest withComment​(String comment)

        Any comments that you want to include about the new traffic policy version.

        Parameters:
        comment - Any comments that you want to include about the new traffic policy version.
        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; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object