@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuntimeVersion extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains information about one canary runtime version. For more information about runtime versions, see Canary Runtime Versions.
Constructor and Description |
---|
RuntimeVersion() |
Modifier and Type | Method and Description |
---|---|
RuntimeVersion |
clone() |
boolean |
equals(Object obj) |
Date |
getDeprecationDate()
If this runtime version is deprecated, this value is the date of deprecation.
|
String |
getDescription()
A description of the runtime version, created by Amazon.
|
Date |
getReleaseDate()
The date that the runtime version was released.
|
String |
getVersionName()
The name of the runtime version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeprecationDate(Date deprecationDate)
If this runtime version is deprecated, this value is the date of deprecation.
|
void |
setDescription(String description)
A description of the runtime version, created by Amazon.
|
void |
setReleaseDate(Date releaseDate)
The date that the runtime version was released.
|
void |
setVersionName(String versionName)
The name of the runtime version.
|
String |
toString()
Returns a string representation of this object.
|
RuntimeVersion |
withDeprecationDate(Date deprecationDate)
If this runtime version is deprecated, this value is the date of deprecation.
|
RuntimeVersion |
withDescription(String description)
A description of the runtime version, created by Amazon.
|
RuntimeVersion |
withReleaseDate(Date releaseDate)
The date that the runtime version was released.
|
RuntimeVersion |
withVersionName(String versionName)
The name of the runtime version.
|
public void setVersionName(String versionName)
The name of the runtime version. Currently, the only valid value is syn-1.0
.
Specifies the runtime version to use for the canary. Currently, the only valid value is syn-1.0
.
versionName
- The name of the runtime version. Currently, the only valid value is syn-1.0
.
Specifies the runtime version to use for the canary. Currently, the only valid value is
syn-1.0
.
public String getVersionName()
The name of the runtime version. Currently, the only valid value is syn-1.0
.
Specifies the runtime version to use for the canary. Currently, the only valid value is syn-1.0
.
syn-1.0
.
Specifies the runtime version to use for the canary. Currently, the only valid value is
syn-1.0
.
public RuntimeVersion withVersionName(String versionName)
The name of the runtime version. Currently, the only valid value is syn-1.0
.
Specifies the runtime version to use for the canary. Currently, the only valid value is syn-1.0
.
versionName
- The name of the runtime version. Currently, the only valid value is syn-1.0
.
Specifies the runtime version to use for the canary. Currently, the only valid value is
syn-1.0
.
public void setDescription(String description)
A description of the runtime version, created by Amazon.
description
- A description of the runtime version, created by Amazon.public String getDescription()
A description of the runtime version, created by Amazon.
public RuntimeVersion withDescription(String description)
A description of the runtime version, created by Amazon.
description
- A description of the runtime version, created by Amazon.public void setReleaseDate(Date releaseDate)
The date that the runtime version was released.
releaseDate
- The date that the runtime version was released.public Date getReleaseDate()
The date that the runtime version was released.
public RuntimeVersion withReleaseDate(Date releaseDate)
The date that the runtime version was released.
releaseDate
- The date that the runtime version was released.public void setDeprecationDate(Date deprecationDate)
If this runtime version is deprecated, this value is the date of deprecation.
deprecationDate
- If this runtime version is deprecated, this value is the date of deprecation.public Date getDeprecationDate()
If this runtime version is deprecated, this value is the date of deprecation.
public RuntimeVersion withDeprecationDate(Date deprecationDate)
If this runtime version is deprecated, this value is the date of deprecation.
deprecationDate
- If this runtime version is deprecated, this value is the date of deprecation.public String toString()
toString
in class Object
Object.toString()
public RuntimeVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.