@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LayerVersionsListItem extends Object implements Serializable, Cloneable, StructuredPojo
Details about a version of an AWS Lambda layer.
| Constructor and Description | 
|---|
LayerVersionsListItem()  | 
| Modifier and Type | Method and Description | 
|---|---|
LayerVersionsListItem | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<String> | 
getCompatibleRuntimes()
 The layer's compatible runtimes. 
 | 
String | 
getCreatedDate()
 The date that the version was created, in ISO 8601 format. 
 | 
String | 
getDescription()
 The description of the version. 
 | 
String | 
getLayerVersionArn()
 The ARN of the layer version. 
 | 
String | 
getLicenseInfo()
 The layer's open-source license. 
 | 
Long | 
getVersion()
 The version number. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setCompatibleRuntimes(Collection<String> compatibleRuntimes)
 The layer's compatible runtimes. 
 | 
void | 
setCreatedDate(String createdDate)
 The date that the version was created, in ISO 8601 format. 
 | 
void | 
setDescription(String description)
 The description of the version. 
 | 
void | 
setLayerVersionArn(String layerVersionArn)
 The ARN of the layer version. 
 | 
void | 
setLicenseInfo(String licenseInfo)
 The layer's open-source license. 
 | 
void | 
setVersion(Long version)
 The version number. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
LayerVersionsListItem | 
withCompatibleRuntimes(Collection<String> compatibleRuntimes)
 The layer's compatible runtimes. 
 | 
LayerVersionsListItem | 
withCompatibleRuntimes(Runtime... compatibleRuntimes)
 The layer's compatible runtimes. 
 | 
LayerVersionsListItem | 
withCompatibleRuntimes(String... compatibleRuntimes)
 The layer's compatible runtimes. 
 | 
LayerVersionsListItem | 
withCreatedDate(String createdDate)
 The date that the version was created, in ISO 8601 format. 
 | 
LayerVersionsListItem | 
withDescription(String description)
 The description of the version. 
 | 
LayerVersionsListItem | 
withLayerVersionArn(String layerVersionArn)
 The ARN of the layer version. 
 | 
LayerVersionsListItem | 
withLicenseInfo(String licenseInfo)
 The layer's open-source license. 
 | 
LayerVersionsListItem | 
withVersion(Long version)
 The version number. 
 | 
public void setLayerVersionArn(String layerVersionArn)
The ARN of the layer version.
layerVersionArn - The ARN of the layer version.public String getLayerVersionArn()
The ARN of the layer version.
public LayerVersionsListItem withLayerVersionArn(String layerVersionArn)
The ARN of the layer version.
layerVersionArn - The ARN of the layer version.public void setVersion(Long version)
The version number.
version - The version number.public Long getVersion()
The version number.
public LayerVersionsListItem withVersion(Long version)
The version number.
version - The version number.public void setDescription(String description)
The description of the version.
description - The description of the version.public String getDescription()
The description of the version.
public LayerVersionsListItem withDescription(String description)
The description of the version.
description - The description of the version.public void setCreatedDate(String createdDate)
 The date that the version was created, in ISO 8601 format. For example, 2018-11-27T15:10:45.123+0000
 .
 
createdDate - The date that the version was created, in ISO 8601 format. For example,
        2018-11-27T15:10:45.123+0000.public String getCreatedDate()
 The date that the version was created, in ISO 8601 format. For example, 2018-11-27T15:10:45.123+0000
 .
 
2018-11-27T15:10:45.123+0000.public LayerVersionsListItem withCreatedDate(String createdDate)
 The date that the version was created, in ISO 8601 format. For example, 2018-11-27T15:10:45.123+0000
 .
 
createdDate - The date that the version was created, in ISO 8601 format. For example,
        2018-11-27T15:10:45.123+0000.public List<String> getCompatibleRuntimes()
The layer's compatible runtimes.
Runtimepublic void setCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes - The layer's compatible runtimes.Runtimepublic LayerVersionsListItem withCompatibleRuntimes(String... compatibleRuntimes)
The layer's compatible runtimes.
 NOTE: This method appends the values to the existing list (if any). Use
 setCompatibleRuntimes(java.util.Collection) or withCompatibleRuntimes(java.util.Collection) if
 you want to override the existing values.
 
compatibleRuntimes - The layer's compatible runtimes.Runtimepublic LayerVersionsListItem withCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes - The layer's compatible runtimes.Runtimepublic LayerVersionsListItem withCompatibleRuntimes(Runtime... compatibleRuntimes)
The layer's compatible runtimes.
compatibleRuntimes - The layer's compatible runtimes.Runtimepublic void setLicenseInfo(String licenseInfo)
The layer's open-source license.
licenseInfo - The layer's open-source license.public String getLicenseInfo()
The layer's open-source license.
public LayerVersionsListItem withLicenseInfo(String licenseInfo)
The layer's open-source license.
licenseInfo - The layer's open-source license.public String toString()
toString in class ObjectObject.toString()public LayerVersionsListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.