@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Layer extends Object implements Serializable, Cloneable, StructuredPojo
An AWS Lambda layer.
Constructor and Description |
---|
Layer() |
Modifier and Type | Method and Description |
---|---|
Layer |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the function layer.
|
Long |
getCodeSize()
The size of the layer archive in bytes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the function layer.
|
void |
setCodeSize(Long codeSize)
The size of the layer archive in bytes.
|
String |
toString()
Returns a string representation of this object.
|
Layer |
withArn(String arn)
The Amazon Resource Name (ARN) of the function layer.
|
Layer |
withCodeSize(Long codeSize)
The size of the layer archive in bytes.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the function layer.
arn
- The Amazon Resource Name (ARN) of the function layer.public String getArn()
The Amazon Resource Name (ARN) of the function layer.
public Layer withArn(String arn)
The Amazon Resource Name (ARN) of the function layer.
arn
- The Amazon Resource Name (ARN) of the function layer.public void setCodeSize(Long codeSize)
The size of the layer archive in bytes.
codeSize
- The size of the layer archive in bytes.public Long getCodeSize()
The size of the layer archive in bytes.
public Layer withCodeSize(Long codeSize)
The size of the layer archive in bytes.
codeSize
- The size of the layer archive in bytes.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.