@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.
|
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 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 String description()
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 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 LambdaRequest
public static PublishVersionRequest.Builder builder()
public static Class<? extends PublishVersionRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.