@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CanaryCodeOutput extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains information about the canary's Lambda handler and where its code is stored by CloudWatch Synthetics.
Constructor and Description |
---|
CanaryCodeOutput() |
Modifier and Type | Method and Description |
---|---|
CanaryCodeOutput |
clone() |
boolean |
equals(Object obj) |
String |
getHandler()
The entry point to use for the source code when running the canary.
|
String |
getSourceLocationArn()
The ARN of the Lambda layer where Synthetics stores the canary script code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHandler(String handler)
The entry point to use for the source code when running the canary.
|
void |
setSourceLocationArn(String sourceLocationArn)
The ARN of the Lambda layer where Synthetics stores the canary script code.
|
String |
toString()
Returns a string representation of this object.
|
CanaryCodeOutput |
withHandler(String handler)
The entry point to use for the source code when running the canary.
|
CanaryCodeOutput |
withSourceLocationArn(String sourceLocationArn)
The ARN of the Lambda layer where Synthetics stores the canary script code.
|
public void setSourceLocationArn(String sourceLocationArn)
The ARN of the Lambda layer where Synthetics stores the canary script code.
sourceLocationArn
- The ARN of the Lambda layer where Synthetics stores the canary script code.public String getSourceLocationArn()
The ARN of the Lambda layer where Synthetics stores the canary script code.
public CanaryCodeOutput withSourceLocationArn(String sourceLocationArn)
The ARN of the Lambda layer where Synthetics stores the canary script code.
sourceLocationArn
- The ARN of the Lambda layer where Synthetics stores the canary script code.public void setHandler(String handler)
The entry point to use for the source code when running the canary.
handler
- The entry point to use for the source code when running the canary.public String getHandler()
The entry point to use for the source code when running the canary.
public CanaryCodeOutput withHandler(String handler)
The entry point to use for the source code when running the canary.
handler
- The entry point to use for the source code when running the canary.public String toString()
toString
in class Object
Object.toString()
public CanaryCodeOutput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.