@Generated(value="software.amazon.awssdk:codegen") public final class PublishVersionRequest extends LambdaRequest implements ToCopyableBuilder<PublishVersionRequest.Builder,PublishVersionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
PublishVersionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static PublishVersionRequest.Builder |
builder() |
String |
codeSha256()
Only publish a version if the hash matches the value specified.
|
String |
description()
Specify a description for the version to override the description in the function configuration.
|
boolean |
equals(Object obj) |
String |
functionName()
The name of the lambda function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
revisionId()
Only update the function if the revision ID matches the ID specified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PublishVersionRequest.Builder> |
serializableBuilderClass() |
PublishVersionRequest.Builder |
toBuilder() |
String |
toString() |
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String functionName()
The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public String codeSha256()
Only publish a version if the hash matches the value specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. You can get the hash for the version you uploaded from the output of UpdateFunctionCode.
public String description()
Specify a description for the version to override the description in the function configuration.
public String revisionId()
Only update the function if the revision ID matches the ID specified. Use this option to avoid publishing a version if the function configuration has changed since you last updated it.
public PublishVersionRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PublishVersionRequest.Builder,PublishVersionRequest>
toBuilder
in class LambdaRequest
public static PublishVersionRequest.Builder builder()
public static Class<? extends PublishVersionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.