@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeprecationDetail extends Object implements Serializable, Cloneable, StructuredPojo
The summary information about deprecated resource usage for an insight check in the UPGRADE_READINESS
category.
Constructor and Description |
---|
DeprecationDetail() |
Modifier and Type | Method and Description |
---|---|
DeprecationDetail |
clone() |
boolean |
equals(Object obj) |
List<ClientStat> |
getClientStats()
Details about Kubernetes clients using the deprecated resources.
|
String |
getReplacedWith()
The newer version of the resource to migrate to if applicable.
|
String |
getStartServingReplacementVersion()
The version of the software where the newer resource version became available to migrate to if applicable.
|
String |
getStopServingVersion()
The version of the software where the deprecated resource version will stop being served.
|
String |
getUsage()
The deprecated version of the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientStats(Collection<ClientStat> clientStats)
Details about Kubernetes clients using the deprecated resources.
|
void |
setReplacedWith(String replacedWith)
The newer version of the resource to migrate to if applicable.
|
void |
setStartServingReplacementVersion(String startServingReplacementVersion)
The version of the software where the newer resource version became available to migrate to if applicable.
|
void |
setStopServingVersion(String stopServingVersion)
The version of the software where the deprecated resource version will stop being served.
|
void |
setUsage(String usage)
The deprecated version of the resource.
|
String |
toString()
Returns a string representation of this object.
|
DeprecationDetail |
withClientStats(ClientStat... clientStats)
Details about Kubernetes clients using the deprecated resources.
|
DeprecationDetail |
withClientStats(Collection<ClientStat> clientStats)
Details about Kubernetes clients using the deprecated resources.
|
DeprecationDetail |
withReplacedWith(String replacedWith)
The newer version of the resource to migrate to if applicable.
|
DeprecationDetail |
withStartServingReplacementVersion(String startServingReplacementVersion)
The version of the software where the newer resource version became available to migrate to if applicable.
|
DeprecationDetail |
withStopServingVersion(String stopServingVersion)
The version of the software where the deprecated resource version will stop being served.
|
DeprecationDetail |
withUsage(String usage)
The deprecated version of the resource.
|
public void setUsage(String usage)
The deprecated version of the resource.
usage
- The deprecated version of the resource.public String getUsage()
The deprecated version of the resource.
public DeprecationDetail withUsage(String usage)
The deprecated version of the resource.
usage
- The deprecated version of the resource.public void setReplacedWith(String replacedWith)
The newer version of the resource to migrate to if applicable.
replacedWith
- The newer version of the resource to migrate to if applicable.public String getReplacedWith()
The newer version of the resource to migrate to if applicable.
public DeprecationDetail withReplacedWith(String replacedWith)
The newer version of the resource to migrate to if applicable.
replacedWith
- The newer version of the resource to migrate to if applicable.public void setStopServingVersion(String stopServingVersion)
The version of the software where the deprecated resource version will stop being served.
stopServingVersion
- The version of the software where the deprecated resource version will stop being served.public String getStopServingVersion()
The version of the software where the deprecated resource version will stop being served.
public DeprecationDetail withStopServingVersion(String stopServingVersion)
The version of the software where the deprecated resource version will stop being served.
stopServingVersion
- The version of the software where the deprecated resource version will stop being served.public void setStartServingReplacementVersion(String startServingReplacementVersion)
The version of the software where the newer resource version became available to migrate to if applicable.
startServingReplacementVersion
- The version of the software where the newer resource version became available to migrate to if applicable.public String getStartServingReplacementVersion()
The version of the software where the newer resource version became available to migrate to if applicable.
public DeprecationDetail withStartServingReplacementVersion(String startServingReplacementVersion)
The version of the software where the newer resource version became available to migrate to if applicable.
startServingReplacementVersion
- The version of the software where the newer resource version became available to migrate to if applicable.public List<ClientStat> getClientStats()
Details about Kubernetes clients using the deprecated resources.
public void setClientStats(Collection<ClientStat> clientStats)
Details about Kubernetes clients using the deprecated resources.
clientStats
- Details about Kubernetes clients using the deprecated resources.public DeprecationDetail withClientStats(ClientStat... clientStats)
Details about Kubernetes clients using the deprecated resources.
NOTE: This method appends the values to the existing list (if any). Use
setClientStats(java.util.Collection)
or withClientStats(java.util.Collection)
if you want to
override the existing values.
clientStats
- Details about Kubernetes clients using the deprecated resources.public DeprecationDetail withClientStats(Collection<ClientStat> clientStats)
Details about Kubernetes clients using the deprecated resources.
clientStats
- Details about Kubernetes clients using the deprecated resources.public String toString()
toString
in class Object
Object.toString()
public DeprecationDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.