Interface RevisionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RevisionConfig.Builder,,RevisionConfig> SdkBuilder<RevisionConfig.Builder,,RevisionConfig> SdkPojo
- Enclosing class:
RevisionConfig
@Mutable
@NotThreadSafe
public static interface RevisionConfig.Builder
extends SdkPojo, CopyableBuilder<RevisionConfig.Builder,RevisionConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RevisionConfig.BuilderbuildConfig(Consumer<BuildConfig.Builder> buildConfig) The build configuration for the revision.buildConfig(BuildConfig buildConfig) The build configuration for the revision.description(String description) A description of the revision.The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.default RevisionConfig.BuilderserviceConfig(Consumer<ServiceConfig.Builder> serviceConfig) The service configuration for the revision.serviceConfig(ServiceConfig serviceConfig) The service configuration for the revision.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
description
A description of the revision.
- Parameters:
description- A description of the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyArn
The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildConfig
The build configuration for the revision.
- Parameters:
buildConfig- The build configuration for the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildConfig
The build configuration for the revision.
This is a convenience method that creates an instance of theBuildConfig.Builderavoiding the need to create one manually viaBuildConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuildConfig(BuildConfig).- Parameters:
buildConfig- a consumer that will call methods onBuildConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceConfig
The service configuration for the revision.
- Parameters:
serviceConfig- The service configuration for the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceConfig
The service configuration for the revision.
This is a convenience method that creates an instance of theServiceConfig.Builderavoiding the need to create one manually viaServiceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceConfig(ServiceConfig).- Parameters:
serviceConfig- a consumer that will call methods onServiceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-