@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 value matches the value that's specified.
|
String |
description()
A description for the version to override the description in the function configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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 that's specified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PublishVersionRequest.Builder> |
serializableBuilderClass() |
PublishVersionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final String codeSha256()
Only publish a version if the hash value matches the value that's 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 that you uploaded from the output of UpdateFunctionCode.
public final String description()
A description for the version to override the description in the function configuration.
public final String revisionId()
Only update the function if the revision ID matches the ID that's 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 LambdaRequestpublic static PublishVersionRequest.Builder builder()
public static Class<? extends PublishVersionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.