Class ListEventSourceMappingsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.lambda.model.ListEventSourceMappingsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListEventSourceMappingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListEventSourceMappingsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListEventSourceMappingsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetEventSourceArn()The Amazon Resource Name (ARN) of the Amazon Kinesis stream.StringgetFunctionName()The name of the Lambda function.StringgetMarker()Optional string.IntegergetMaxItems()Optional integer.inthashCode()voidsetEventSourceArn(String eventSourceArn)The Amazon Resource Name (ARN) of the Amazon Kinesis stream.voidsetFunctionName(String functionName)The name of the Lambda function.voidsetMarker(String marker)Optional string.voidsetMaxItems(Integer maxItems)Optional integer.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListEventSourceMappingsRequestwithEventSourceArn(String eventSourceArn)The Amazon Resource Name (ARN) of the Amazon Kinesis stream.ListEventSourceMappingsRequestwithFunctionName(String functionName)The name of the Lambda function.ListEventSourceMappingsRequestwithMarker(String marker)Optional string.ListEventSourceMappingsRequestwithMaxItems(Integer maxItems)Optional integer.-
Methods inherited from class com.amazonaws.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
-
-
-
-
Method Detail
-
setEventSourceArn
public void setEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
- Parameters:
eventSourceArn- The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
-
getEventSourceArn
public String getEventSourceArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
-
withEventSourceArn
public ListEventSourceMappingsRequest withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
- Parameters:
eventSourceArn- The Amazon Resource Name (ARN) of the Amazon Kinesis stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFunctionName
public void setFunctionName(String functionName)
The name of the Lambda function.
You can specify the 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). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (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 name of the Lambda function.You can specify the 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). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (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
public String getFunctionName()
The name of the Lambda function.
You can specify the 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). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (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 name of the Lambda function.
You can specify the 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). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (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
public ListEventSourceMappingsRequest withFunctionName(String functionName)
The name of the Lambda function.
You can specify the 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). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (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 name of the Lambda function.You can specify the 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). If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). AWS Lambda also allows you to specify only the function name with the account ID qualifier (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.
-
setMarker
public void setMarker(String marker)
Optional string. An opaque pagination token returned from a previous
ListEventSourceMappingsoperation. If present, specifies to continue the list from where the returning call left off.- Parameters:
marker- Optional string. An opaque pagination token returned from a previousListEventSourceMappingsoperation. If present, specifies to continue the list from where the returning call left off.
-
getMarker
public String getMarker()
Optional string. An opaque pagination token returned from a previous
ListEventSourceMappingsoperation. If present, specifies to continue the list from where the returning call left off.- Returns:
- Optional string. An opaque pagination token returned from a
previous
ListEventSourceMappingsoperation. If present, specifies to continue the list from where the returning call left off.
-
withMarker
public ListEventSourceMappingsRequest withMarker(String marker)
Optional string. An opaque pagination token returned from a previous
ListEventSourceMappingsoperation. If present, specifies to continue the list from where the returning call left off.- Parameters:
marker- Optional string. An opaque pagination token returned from a previousListEventSourceMappingsoperation. If present, specifies to continue the list from where the returning call left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
public void setMaxItems(Integer maxItems)
Optional integer. Specifies the maximum number of event sources to return in response. This value must be greater than 0.
- Parameters:
maxItems- Optional integer. Specifies the maximum number of event sources to return in response. This value must be greater than 0.
-
getMaxItems
public Integer getMaxItems()
Optional integer. Specifies the maximum number of event sources to return in response. This value must be greater than 0.
- Returns:
- Optional integer. Specifies the maximum number of event sources to return in response. This value must be greater than 0.
-
withMaxItems
public ListEventSourceMappingsRequest withMaxItems(Integer maxItems)
Optional integer. Specifies the maximum number of event sources to return in response. This value must be greater than 0.
- Parameters:
maxItems- Optional integer. Specifies the maximum number of event sources to return in response. This value must be greater than 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListEventSourceMappingsRequest 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:
Object.clone()
-
-