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 Summary
Modifier and TypeMethodDescriptionclientStats
(Collection<ClientStat> clientStats) Details about Kubernetes clients using the deprecated resources.clientStats
(Consumer<ClientStat.Builder>... clientStats) Details about Kubernetes clients using the deprecated resources.clientStats
(ClientStat... clientStats) Details about Kubernetes clients using the deprecated resources.replacedWith
(String replacedWith) The newer version of the resource to migrate to if applicable.startServingReplacementVersion
(String startServingReplacementVersion) The version of the software where the newer resource version became available to migrate to if applicable.stopServingVersion
(String stopServingVersion) The version of the software where the deprecated resource version will stop being served.The deprecated version of the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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
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.
- 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 theClientStat.Builder
avoiding the need to create one manually viaClientStat.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientStats(List<ClientStat>)
.- Parameters:
clientStats
- a consumer that will call methods onClientStat.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-