Interface DeprecationDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DeprecationDetail.Builder,DeprecationDetail>, SdkBuilder<DeprecationDetail.Builder,DeprecationDetail>, SdkPojo
Enclosing class:
DeprecationDetail

public static interface DeprecationDetail.Builder extends SdkPojo, CopyableBuilder<DeprecationDetail.Builder,DeprecationDetail>
  • Method Details

    • 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.
    • clientStats

      Details about Kubernetes clients using the deprecated resources.

      This is a convenience method that creates an instance of the ClientStat.Builder avoiding the need to create one manually via ClientStat.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to clientStats(List<ClientStat>).

      Parameters:
      clientStats - a consumer that will call methods on ClientStat.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: