@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LayerVersionsListItem extends Object implements Serializable, Cloneable, StructuredPojo
Details about a version of an Lambda layer.
Constructor and Description |
---|
LayerVersionsListItem() |
Modifier and Type | Method and Description |
---|---|
LayerVersionsListItem |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCompatibleArchitectures()
A list of compatible instruction set
architectures.
|
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 |
setCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set
architectures.
|
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 |
withCompatibleArchitectures(Architecture... compatibleArchitectures)
A list of compatible instruction set
architectures.
|
LayerVersionsListItem |
withCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set
architectures.
|
LayerVersionsListItem |
withCompatibleArchitectures(String... compatibleArchitectures)
A list of compatible instruction set
architectures.
|
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.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public void setCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public LayerVersionsListItem withCompatibleRuntimes(String... compatibleRuntimes)
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
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.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public LayerVersionsListItem withCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public LayerVersionsListItem withCompatibleRuntimes(Runtime... compatibleRuntimes)
The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
compatibleRuntimes
- The layer's compatible runtimes.
The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.
Runtime
public 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 List<String> getCompatibleArchitectures()
A list of compatible instruction set architectures.
Architecture
public void setCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.Architecture
public LayerVersionsListItem withCompatibleArchitectures(String... compatibleArchitectures)
A list of compatible instruction set architectures.
NOTE: This method appends the values to the existing list (if any). Use
setCompatibleArchitectures(java.util.Collection)
or
withCompatibleArchitectures(java.util.Collection)
if you want to override the existing values.
compatibleArchitectures
- A list of compatible instruction set
architectures.Architecture
public LayerVersionsListItem withCompatibleArchitectures(Collection<String> compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.Architecture
public LayerVersionsListItem withCompatibleArchitectures(Architecture... compatibleArchitectures)
A list of compatible instruction set architectures.
compatibleArchitectures
- A list of compatible instruction set
architectures.Architecture
public String toString()
toString
in class Object
Object.toString()
public LayerVersionsListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.