Interface GetWebFunctionRevisionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWebFunctionRevisionResponse.Builder,,GetWebFunctionRevisionResponse> LambdaWebResponse.Builder,SdkBuilder<GetWebFunctionRevisionResponse.Builder,,GetWebFunctionRevisionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetWebFunctionRevisionResponse
-
Method Summary
Modifier and TypeMethodDescriptionbuildConfig(Consumer<BuildConfig.Builder> buildConfig) Sets the value of the BuildConfig property for this object.buildConfig(BuildConfig buildConfig) Sets the value of the BuildConfig property for this object.The date and time the revision was created.description(String description) The description of the revision.errors(Collection<RevisionError> errors) A list of errors encountered during revision creation.errors(Consumer<RevisionError.Builder>... errors) A list of errors encountered during revision creation.errors(RevisionError... errors) A list of errors encountered during revision creation.functionArn(String functionArn) The Amazon Resource Name (ARN) of the web function.The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the revision's code and environment variables.revisionArn(String revisionArn) The Amazon Resource Name (ARN) of the revision.revisionId(String revisionId) The identifier of the revision.serviceConfig(Consumer<ServiceConfig.Builder> serviceConfig) Sets the value of the ServiceConfig property for this object.serviceConfig(ServiceConfig serviceConfig) Sets the value of the ServiceConfig property for this object.The current state of the revision.state(RevisionState state) The current state of the revision.stateReason(String stateReason) The reason for the current state of the revision.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lambdaweb.model.LambdaWebResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
functionArn
The Amazon Resource Name (ARN) of the web function.
- Parameters:
functionArn- The Amazon Resource Name (ARN) of the web function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionArn
The Amazon Resource Name (ARN) of the revision.
- Parameters:
revisionArn- The Amazon Resource Name (ARN) of the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The identifier of the revision.
- Parameters:
revisionId- The identifier of the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the revision.
- Parameters:
description- The 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 KMS key used to encrypt the revision's code and environment variables.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the 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
Sets the value of the BuildConfig property for this object.- Parameters:
buildConfig- The new value for the BuildConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buildConfig
default GetWebFunctionRevisionResponse.Builder buildConfig(Consumer<BuildConfig.Builder> buildConfig) Sets the value of the BuildConfig property for this object. 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
Sets the value of the ServiceConfig property for this object.- Parameters:
serviceConfig- The new value for the ServiceConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceConfig
default GetWebFunctionRevisionResponse.Builder serviceConfig(Consumer<ServiceConfig.Builder> serviceConfig) Sets the value of the ServiceConfig property for this object. 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:
-
state
The current state of the revision.
- Parameters:
state- The current state of the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the revision.
- Parameters:
state- The current state of the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateReason
The reason for the current state of the revision.
- Parameters:
stateReason- The reason for the current state of the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors encountered during revision creation. This field is absent when the revision has no errors.
- Parameters:
errors- A list of errors encountered during revision creation. This field is absent when the revision has no errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors encountered during revision creation. This field is absent when the revision has no errors.
- Parameters:
errors- A list of errors encountered during revision creation. This field is absent when the revision has no errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors encountered during revision creation. This field is absent when the revision has no errors.
This is a convenience method that creates an instance of theRevisionError.Builderavoiding the need to create one manually viaRevisionError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<RevisionError>).- Parameters:
errors- a consumer that will call methods onRevisionError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the revision was created.
- Parameters:
createdAt- The date and time the revision was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-