Cloneable
, ReadLimitInfo
, ToCopyableBuilder<PublishVersionRequest.Builder,PublishVersionRequest>
@Generated("software.amazon.awssdk:codegen") public class PublishVersionRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<PublishVersionRequest.Builder,PublishVersionRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
PublishVersionRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static PublishVersionRequest.Builder |
builder() |
|
String |
codeSha256() |
The SHA256 hash of the deployment package you want to publish.
|
String |
description() |
The description for the version you are publishing.
|
boolean |
equals(Object obj) |
|
String |
functionName() |
The Lambda function name.
|
int |
hashCode() |
|
static Class<? extends PublishVersionRequest.Builder> |
serializableBuilderClass() |
|
PublishVersionRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String functionName()
The Lambda function name. You can specify a function name (for example, Thumbnail
) or you can
specify Amazon Resource Name (ARN) of the function (for example,
arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a
partial ARN (for example, account-id:Thumbnail
). Note that the length constraint applies only to the
ARN. If you specify only the function name, it is limited to 64 characters in length.
Thumbnail
) or you
can specify Amazon Resource Name (ARN) of the function (for example,
arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to
specify a partial ARN (for example, account-id:Thumbnail
). Note that the length constraint
applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.public String codeSha256()
The SHA256 hash of the deployment package you want to publish. This provides validation on the code you are publishing. If you provide this parameter value must match the SHA256 of the $LATEST version for the publication to succeed.
public String description()
The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version.
public PublishVersionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PublishVersionRequest.Builder,PublishVersionRequest>
public static PublishVersionRequest.Builder builder()
public static Class<? extends PublishVersionRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.