Class PublishVersionRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe SHA256 hash of the deployment package you want to publish.The description for the version you are publishing.The Lambda function name.inthashCode()voidsetCodeSha256(String codeSha256) The SHA256 hash of the deployment package you want to publish.voidsetDescription(String description) The description for the version you are publishing.voidsetFunctionName(String functionName) The Lambda function name.toString()Returns a string representation of this object; useful for testing and debugging.withCodeSha256(String codeSha256) The SHA256 hash of the deployment package you want to publish.withDescription(String description) The description for the version you are publishing.withFunctionName(String functionName) The Lambda function name.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
PublishVersionRequest
public PublishVersionRequest()
-
-
Method Details
-
setFunctionName
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 character in length.- Parameters:
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 character in length.
-
getFunctionName
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 character in length.- Returns:
- 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 character in length.
-
withFunctionName
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 character in length.- Parameters:
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 character in length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCodeSha256
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.
- Parameters:
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.
-
getCodeSha256
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.
- Returns:
- 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.
-
withCodeSha256
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version.
- Parameters:
description- The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version.
-
getDescription
The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version.
- Returns:
- The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version.
-
withDescription
The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version.
- Parameters:
description- The description for the version you are publishing. If not provided, AWS Lambda copies the description from the $LATEST version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-