Class CanaryCodeOutput
- java.lang.Object
-
- software.amazon.awssdk.services.synthetics.model.CanaryCodeOutput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CanaryCodeOutput.Builder,CanaryCodeOutput>
@Generated("software.amazon.awssdk:codegen") public final class CanaryCodeOutput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CanaryCodeOutput.Builder,CanaryCodeOutput>
This structure contains information about the canary's Lambda handler and where its code is stored by CloudWatch Synthetics.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCanaryCodeOutput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CanaryCodeOutput.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)Stringhandler()The entry point to use for the source code when running the canary.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CanaryCodeOutput.Builder>serializableBuilderClass()StringsourceLocationArn()The ARN of the Lambda layer where Synthetics stores the canary script code.CanaryCodeOutput.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sourceLocationArn
public final String sourceLocationArn()
The ARN of the Lambda layer where Synthetics stores the canary script code.
- Returns:
- The ARN of the Lambda layer where Synthetics stores the canary script code.
-
handler
public final String handler()
The entry point to use for the source code when running the canary.
- Returns:
- The entry point to use for the source code when running the canary.
-
toBuilder
public CanaryCodeOutput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CanaryCodeOutput.Builder,CanaryCodeOutput>
-
builder
public static CanaryCodeOutput.Builder builder()
-
serializableBuilderClass
public static Class<? extends CanaryCodeOutput.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-