@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutFunctionEventInvokeConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutFunctionEventInvokeConfigRequest() |
Modifier and Type | Method and Description |
---|---|
PutFunctionEventInvokeConfigRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
DestinationConfig |
getDestinationConfig()
A destination for events after they have been sent to a function for processing.
|
String |
getFunctionName()
The name or ARN of the Lambda function, version, or alias.
|
Integer |
getMaximumEventAgeInSeconds()
The maximum age of a request that Lambda sends to a function for processing.
|
Integer |
getMaximumRetryAttempts()
The maximum number of times to retry when the function returns an error.
|
String |
getQualifier()
A version number or alias name.
|
int |
hashCode() |
void |
setDestinationConfig(DestinationConfig destinationConfig)
A destination for events after they have been sent to a function for processing.
|
void |
setFunctionName(String functionName)
The name or ARN of the Lambda function, version, or alias.
|
void |
setMaximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum age of a request that Lambda sends to a function for processing.
|
void |
setMaximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of times to retry when the function returns an error.
|
void |
setQualifier(String qualifier)
A version number or alias name.
|
String |
toString()
Returns a string representation of this object.
|
PutFunctionEventInvokeConfigRequest |
withDestinationConfig(DestinationConfig destinationConfig)
A destination for events after they have been sent to a function for processing.
|
PutFunctionEventInvokeConfigRequest |
withFunctionName(String functionName)
The name or ARN of the Lambda function, version, or alias.
|
PutFunctionEventInvokeConfigRequest |
withMaximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum age of a request that Lambda sends to a function for processing.
|
PutFunctionEventInvokeConfigRequest |
withMaximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of times to retry when the function returns an error.
|
PutFunctionEventInvokeConfigRequest |
withQualifier(String qualifier)
A version number or alias name.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFunctionName(String functionName)
The name or ARN of the Lambda function, version, or alias.
Name formats
Function name - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name or ARN of the Lambda function, version, or alias.
Name formats
Function name - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. 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 getFunctionName()
The name or ARN of the Lambda function, version, or alias.
Name formats
Function name - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. 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 - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. 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 PutFunctionEventInvokeConfigRequest withFunctionName(String functionName)
The name or ARN of the Lambda function, version, or alias.
Name formats
Function name - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name or ARN of the Lambda function, version, or alias.
Name formats
Function name - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. 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 void setQualifier(String qualifier)
A version number or alias name.
qualifier
- A version number or alias name.public String getQualifier()
A version number or alias name.
public PutFunctionEventInvokeConfigRequest withQualifier(String qualifier)
A version number or alias name.
qualifier
- A version number or alias name.public void setMaximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of times to retry when the function returns an error.
maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.public Integer getMaximumRetryAttempts()
The maximum number of times to retry when the function returns an error.
public PutFunctionEventInvokeConfigRequest withMaximumRetryAttempts(Integer maximumRetryAttempts)
The maximum number of times to retry when the function returns an error.
maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.public void setMaximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum age of a request that Lambda sends to a function for processing.
maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for processing.public Integer getMaximumEventAgeInSeconds()
The maximum age of a request that Lambda sends to a function for processing.
public PutFunctionEventInvokeConfigRequest withMaximumEventAgeInSeconds(Integer maximumEventAgeInSeconds)
The maximum age of a request that Lambda sends to a function for processing.
maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for processing.public void setDestinationConfig(DestinationConfig destinationConfig)
A destination for events after they have been sent to a function for processing.
Destinations
Function - The Amazon Resource Name (ARN) of a Lambda function.
Queue - The ARN of a standard SQS queue.
Topic - The ARN of a standard SNS topic.
Event Bus - The ARN of an Amazon EventBridge event bus.
destinationConfig
- A destination for events after they have been sent to a function for processing.
Destinations
Function - The Amazon Resource Name (ARN) of a Lambda function.
Queue - The ARN of a standard SQS queue.
Topic - The ARN of a standard SNS topic.
Event Bus - The ARN of an Amazon EventBridge event bus.
public DestinationConfig getDestinationConfig()
A destination for events after they have been sent to a function for processing.
Destinations
Function - The Amazon Resource Name (ARN) of a Lambda function.
Queue - The ARN of a standard SQS queue.
Topic - The ARN of a standard SNS topic.
Event Bus - The ARN of an Amazon EventBridge event bus.
Destinations
Function - The Amazon Resource Name (ARN) of a Lambda function.
Queue - The ARN of a standard SQS queue.
Topic - The ARN of a standard SNS topic.
Event Bus - The ARN of an Amazon EventBridge event bus.
public PutFunctionEventInvokeConfigRequest withDestinationConfig(DestinationConfig destinationConfig)
A destination for events after they have been sent to a function for processing.
Destinations
Function - The Amazon Resource Name (ARN) of a Lambda function.
Queue - The ARN of a standard SQS queue.
Topic - The ARN of a standard SNS topic.
Event Bus - The ARN of an Amazon EventBridge event bus.
destinationConfig
- A destination for events after they have been sent to a function for processing.
Destinations
Function - The Amazon Resource Name (ARN) of a Lambda function.
Queue - The ARN of a standard SQS queue.
Topic - The ARN of a standard SNS topic.
Event Bus - The ARN of an Amazon EventBridge event bus.
public String toString()
toString
in class Object
Object.toString()
public PutFunctionEventInvokeConfigRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()