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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeprecationDetail.BuilderclientStats(Collection<ClientStat> clientStats)Details about Kubernetes clients using the deprecated resources.DeprecationDetail.BuilderclientStats(Consumer<ClientStat.Builder>... clientStats)Details about Kubernetes clients using the deprecated resources.DeprecationDetail.BuilderclientStats(ClientStat... clientStats)Details about Kubernetes clients using the deprecated resources.DeprecationDetail.BuilderreplacedWith(String replacedWith)The newer version of the resource to migrate to if applicable.DeprecationDetail.BuilderstartServingReplacementVersion(String startServingReplacementVersion)The version of the software where the newer resource version became available to migrate to if applicable.DeprecationDetail.BuilderstopServingVersion(String stopServingVersion)The version of the software where the deprecated resource version will stop being served.DeprecationDetail.Builderusage(String usage)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 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.
-
clientStats
DeprecationDetail.Builder clientStats(Consumer<ClientStat.Builder>... clientStats)
Details about Kubernetes clients using the deprecated resources.
This is a convenience method that creates an instance of theClientStat.Builderavoiding the need to create one manually viaClientStat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#clientStats(List.) - 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:
#clientStats(java.util.Collection)
-
-