Interface AppSpecContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AppSpecContent.Builder,AppSpecContent>,SdkBuilder<AppSpecContent.Builder,AppSpecContent>,SdkPojo
- Enclosing class:
- AppSpecContent
public static interface AppSpecContent.Builder extends SdkPojo, CopyableBuilder<AppSpecContent.Builder,AppSpecContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AppSpecContent.Buildercontent(String content)The YAML-formatted or JSON-formatted revision string.AppSpecContent.Buildersha256(String sha256)The SHA256 hash value of the revision content.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
content
AppSpecContent.Builder content(String content)
The YAML-formatted or JSON-formatted revision string.
For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.
For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.
For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as
BeforeInstall, during a deployment.- Parameters:
content- The YAML-formatted or JSON-formatted revision string.For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.
For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more.
For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as
BeforeInstall, during a deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sha256
AppSpecContent.Builder sha256(String sha256)
The SHA256 hash value of the revision content.
- Parameters:
sha256- The SHA256 hash value of the revision content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-