Class GetEventSourceMappingResult

    • Constructor Detail

      • GetEventSourceMappingResult

        public GetEventSourceMappingResult()
    • Method Detail

      • setUUID

        public void setUUID​(String uUID)

        The AWS Lambda assigned opaque identifier for the mapping.

        Parameters:
        uUID - The AWS Lambda assigned opaque identifier for the mapping.
      • getUUID

        public String getUUID()

        The AWS Lambda assigned opaque identifier for the mapping.

        Returns:
        The AWS Lambda assigned opaque identifier for the mapping.
      • withUUID

        public GetEventSourceMappingResult withUUID​(String uUID)

        The AWS Lambda assigned opaque identifier for the mapping.

        Parameters:
        uUID - The AWS Lambda assigned opaque identifier for the mapping.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBatchSize

        public void setBatchSize​(Integer batchSize)

        The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.

        Parameters:
        batchSize - The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
      • getBatchSize

        public Integer getBatchSize()

        The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.

        Returns:
        The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
      • withBatchSize

        public GetEventSourceMappingResult withBatchSize​(Integer batchSize)

        The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.

        Parameters:
        batchSize - The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEventSourceArn

        public void setEventSourceArn​(String eventSourceArn)

        The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

        Parameters:
        eventSourceArn - The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
      • getEventSourceArn

        public String getEventSourceArn()

        The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

        Returns:
        The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
      • withEventSourceArn

        public GetEventSourceMappingResult withEventSourceArn​(String eventSourceArn)

        The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

        Parameters:
        eventSourceArn - The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFunctionArn

        public void setFunctionArn​(String functionArn)

        The Lambda function to invoke when AWS Lambda detects an event on the stream.

        Parameters:
        functionArn - The Lambda function to invoke when AWS Lambda detects an event on the stream.
      • getFunctionArn

        public String getFunctionArn()

        The Lambda function to invoke when AWS Lambda detects an event on the stream.

        Returns:
        The Lambda function to invoke when AWS Lambda detects an event on the stream.
      • withFunctionArn

        public GetEventSourceMappingResult withFunctionArn​(String functionArn)

        The Lambda function to invoke when AWS Lambda detects an event on the stream.

        Parameters:
        functionArn - The Lambda function to invoke when AWS Lambda detects an event on the stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastModified

        public void setLastModified​(Date lastModified)

        The UTC time string indicating the last time the event mapping was updated.

        Parameters:
        lastModified - The UTC time string indicating the last time the event mapping was updated.
      • getLastModified

        public Date getLastModified()

        The UTC time string indicating the last time the event mapping was updated.

        Returns:
        The UTC time string indicating the last time the event mapping was updated.
      • withLastModified

        public GetEventSourceMappingResult withLastModified​(Date lastModified)

        The UTC time string indicating the last time the event mapping was updated.

        Parameters:
        lastModified - The UTC time string indicating the last time the event mapping was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLastProcessingResult

        public void setLastProcessingResult​(String lastProcessingResult)

        The result of the last AWS Lambda invocation of your Lambda function.

        Parameters:
        lastProcessingResult - The result of the last AWS Lambda invocation of your Lambda function.
      • getLastProcessingResult

        public String getLastProcessingResult()

        The result of the last AWS Lambda invocation of your Lambda function.

        Returns:
        The result of the last AWS Lambda invocation of your Lambda function.
      • withLastProcessingResult

        public GetEventSourceMappingResult withLastProcessingResult​(String lastProcessingResult)

        The result of the last AWS Lambda invocation of your Lambda function.

        Parameters:
        lastProcessingResult - The result of the last AWS Lambda invocation of your Lambda function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setState

        public void setState​(String state)

        The state of the event source mapping. It can be Creating, Enabled, Disabled, Enabling, Disabling, Updating, or Deleting.

        Parameters:
        state - The state of the event source mapping. It can be Creating, Enabled, Disabled , Enabling, Disabling, Updating, or Deleting.
      • getState

        public String getState()

        The state of the event source mapping. It can be Creating, Enabled, Disabled, Enabling, Disabling, Updating, or Deleting.

        Returns:
        The state of the event source mapping. It can be Creating, Enabled, Disabled, Enabling, Disabling, Updating, or Deleting.
      • withState

        public GetEventSourceMappingResult withState​(String state)

        The state of the event source mapping. It can be Creating, Enabled, Disabled, Enabling, Disabling, Updating, or Deleting.

        Parameters:
        state - The state of the event source mapping. It can be Creating, Enabled, Disabled , Enabling, Disabling, Updating, or Deleting.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStateTransitionReason

        public void setStateTransitionReason​(String stateTransitionReason)

        The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

        Parameters:
        stateTransitionReason - The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
      • getStateTransitionReason

        public String getStateTransitionReason()

        The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

        Returns:
        The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
      • withStateTransitionReason

        public GetEventSourceMappingResult withStateTransitionReason​(String stateTransitionReason)

        The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.

        Parameters:
        stateTransitionReason - The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
        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:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object