Interface DeprecationDetail.Builder

    • Method Detail

      • usage

        DeprecationDetail.Builder usage​(String usage)

        The deprecated version of the resource.

        Parameters:
        usage - The deprecated version of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replacedWith

        DeprecationDetail.Builder replacedWith​(String replacedWith)

        The newer version of the resource to migrate to if applicable.

        Parameters:
        replacedWith - The newer version of the resource to migrate to if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stopServingVersion

        DeprecationDetail.Builder stopServingVersion​(String stopServingVersion)

        The version of the software where the deprecated resource version will stop being served.

        Parameters:
        stopServingVersion - The version of the software where the deprecated resource version will stop being served.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startServingReplacementVersion

        DeprecationDetail.Builder startServingReplacementVersion​(String startServingReplacementVersion)

        The version of the software where the newer resource version became available to migrate to if applicable.

        Parameters:
        startServingReplacementVersion - The version of the software where the newer resource version became available to migrate to if applicable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientStats

        DeprecationDetail.Builder clientStats​(Collection<ClientStat> clientStats)

        Details about Kubernetes clients using the deprecated resources.

        Parameters:
        clientStats - Details about Kubernetes clients using the deprecated resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientStats

        DeprecationDetail.Builder clientStats​(ClientStat... clientStats)

        Details about Kubernetes clients using the deprecated resources.

        Parameters:
        clientStats - Details about Kubernetes clients using the deprecated resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.