@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsLambdaLayerVersionDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about a Lambda layer version.
Constructor and Description |
---|
AwsLambdaLayerVersionDetails() |
Modifier and Type | Method and Description |
---|---|
AwsLambdaLayerVersionDetails |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCompatibleRuntimes()
The layer's compatible runtimes.
|
String |
getCreatedDate()
Indicates when the version was created.
|
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)
Indicates when the version was created.
|
void |
setVersion(Long version)
The version number.
|
String |
toString()
Returns a string representation of this object.
|
AwsLambdaLayerVersionDetails |
withCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes.
|
AwsLambdaLayerVersionDetails |
withCompatibleRuntimes(String... compatibleRuntimes)
The layer's compatible runtimes.
|
AwsLambdaLayerVersionDetails |
withCreatedDate(String createdDate)
Indicates when the version was created.
|
AwsLambdaLayerVersionDetails |
withVersion(Long version)
The version number.
|
public void setVersion(Long version)
The version number.
version
- The version number.public Long getVersion()
The version number.
public AwsLambdaLayerVersionDetails withVersion(Long version)
The version number.
version
- The version number.public List<String> getCompatibleRuntimes()
The layer's compatible runtimes. Maximum number of five items.
Valid values: nodejs10.x
| nodejs12.x
| java8
| java11
|
python2.7
| python3.6
| python3.7
| python3.8
|
dotnetcore1.0
| dotnetcore2.1
| go1.x
| ruby2.5
|
provided
Valid values: nodejs10.x
| nodejs12.x
| java8
|
java11
| python2.7
| python3.6
| python3.7
|
python3.8
| dotnetcore1.0
| dotnetcore2.1
| go1.x
|
ruby2.5
| provided
public void setCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes. Maximum number of five items.
Valid values: nodejs10.x
| nodejs12.x
| java8
| java11
|
python2.7
| python3.6
| python3.7
| python3.8
|
dotnetcore1.0
| dotnetcore2.1
| go1.x
| ruby2.5
|
provided
compatibleRuntimes
- The layer's compatible runtimes. Maximum number of five items.
Valid values: nodejs10.x
| nodejs12.x
| java8
| java11
| python2.7
| python3.6
| python3.7
| python3.8
|
dotnetcore1.0
| dotnetcore2.1
| go1.x
| ruby2.5
|
provided
public AwsLambdaLayerVersionDetails withCompatibleRuntimes(String... compatibleRuntimes)
The layer's compatible runtimes. Maximum number of five items.
Valid values: nodejs10.x
| nodejs12.x
| java8
| java11
|
python2.7
| python3.6
| python3.7
| python3.8
|
dotnetcore1.0
| dotnetcore2.1
| go1.x
| ruby2.5
|
provided
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. Maximum number of five items.
Valid values: nodejs10.x
| nodejs12.x
| java8
| java11
| python2.7
| python3.6
| python3.7
| python3.8
|
dotnetcore1.0
| dotnetcore2.1
| go1.x
| ruby2.5
|
provided
public AwsLambdaLayerVersionDetails withCompatibleRuntimes(Collection<String> compatibleRuntimes)
The layer's compatible runtimes. Maximum number of five items.
Valid values: nodejs10.x
| nodejs12.x
| java8
| java11
|
python2.7
| python3.6
| python3.7
| python3.8
|
dotnetcore1.0
| dotnetcore2.1
| go1.x
| ruby2.5
|
provided
compatibleRuntimes
- The layer's compatible runtimes. Maximum number of five items.
Valid values: nodejs10.x
| nodejs12.x
| java8
| java11
| python2.7
| python3.6
| python3.7
| python3.8
|
dotnetcore1.0
| dotnetcore2.1
| go1.x
| ruby2.5
|
provided
public void setCreatedDate(String createdDate)
Indicates when the version was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
createdDate
- Indicates when the version was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getCreatedDate()
Indicates when the version was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public AwsLambdaLayerVersionDetails withCreatedDate(String createdDate)
Indicates when the version was created.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
createdDate
- Indicates when the version was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String toString()
toString
in class Object
Object.toString()
public AwsLambdaLayerVersionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.