congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
PutEventsRequest$Builder
Code IndexAdd Tabnine to your IDE (free)

How to use
PutEventsRequest$Builder
in
software.amazon.awssdk.services.cloudwatchevents.model

Best Java code snippets using software.amazon.awssdk.services.cloudwatchevents.model.PutEventsRequest$Builder (Showing top 6 results out of 315)

origin: software.amazon.awssdk/events

return putEvents(PutEventsRequest.builder().applyMutation(putEventsRequest).build());
origin: software.amazon.awssdk/cloudwatchevents

return putEvents(PutEventsRequest.builder().applyMutation(putEventsRequest).build());
origin: aws/aws-sdk-java-v2

return putEvents(PutEventsRequest.builder().applyMutation(putEventsRequest).build());
origin: software.amazon.awssdk/events

/**
 * <p>
 * Sends custom events to Amazon CloudWatch Events so that they can be matched to rules.
 * </p>
 * <br/>
 * <p>
 * This is a convenience which creates an instance of the {@link PutEventsRequest.Builder} avoiding the need to
 * create one manually via {@link PutEventsRequest#builder()}
 * </p>
 *
 * @param putEventsRequest
 *        A {@link Consumer} that will call methods on {@link PutEventsRequest.Builder} to create a request.
 * @return Result of the PutEvents operation returned by the service.
 * @throws InternalException
 *         This exception occurs due to unexpected causes.
 * @throws SdkException
 *         Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
 *         catch all scenarios.
 * @throws SdkClientException
 *         If any client side error occurs such as an IO related failure, failure to get credentials, etc.
 * @throws CloudWatchEventsException
 *         Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 * @sample CloudWatchEventsClient.PutEvents
 * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents" target="_top">AWS API
 *      Documentation</a>
 */
default PutEventsResponse putEvents(Consumer<PutEventsRequest.Builder> putEventsRequest) throws InternalException,
    AwsServiceException, SdkClientException, CloudWatchEventsException {
  return putEvents(PutEventsRequest.builder().applyMutation(putEventsRequest).build());
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * <p>
 * Sends custom events to Amazon CloudWatch Events so that they can be matched to rules.
 * </p>
 * <br/>
 * <p>
 * This is a convenience which creates an instance of the {@link PutEventsRequest.Builder} avoiding the need to
 * create one manually via {@link PutEventsRequest#builder()}
 * </p>
 *
 * @param putEventsRequest
 *        A {@link Consumer} that will call methods on {@link PutEventsRequest.Builder} to create a request.
 * @return Result of the PutEvents operation returned by the service.
 * @throws InternalException
 *         This exception occurs due to unexpected causes.
 * @throws SdkException
 *         Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
 *         catch all scenarios.
 * @throws SdkClientException
 *         If any client side error occurs such as an IO related failure, failure to get credentials, etc.
 * @throws CloudWatchEventsException
 *         Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 * @sample CloudWatchEventsClient.PutEvents
 * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents" target="_top">AWS API
 *      Documentation</a>
 */
default PutEventsResponse putEvents(Consumer<PutEventsRequest.Builder> putEventsRequest) throws InternalException,
    AwsServiceException, SdkClientException, CloudWatchEventsException {
  return putEvents(PutEventsRequest.builder().applyMutation(putEventsRequest).build());
}
origin: aws/aws-sdk-java-v2

/**
 * <p>
 * Sends custom events to Amazon CloudWatch Events so that they can be matched to rules.
 * </p>
 * <br/>
 * <p>
 * This is a convenience which creates an instance of the {@link PutEventsRequest.Builder} avoiding the need to
 * create one manually via {@link PutEventsRequest#builder()}
 * </p>
 *
 * @param putEventsRequest
 *        A {@link Consumer} that will call methods on {@link PutEventsRequest.Builder} to create a request.
 * @return Result of the PutEvents operation returned by the service.
 * @throws InternalException
 *         This exception occurs due to unexpected causes.
 * @throws SdkException
 *         Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
 *         catch all scenarios.
 * @throws SdkClientException
 *         If any client side error occurs such as an IO related failure, failure to get credentials, etc.
 * @throws CloudWatchEventsException
 *         Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
 * @sample CloudWatchEventsClient.PutEvents
 * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents" target="_top">AWS API
 *      Documentation</a>
 */
default PutEventsResponse putEvents(Consumer<PutEventsRequest.Builder> putEventsRequest) throws InternalException,
    AwsServiceException, SdkClientException, CloudWatchEventsException {
  return putEvents(PutEventsRequest.builder().applyMutation(putEventsRequest).build());
}
software.amazon.awssdk.services.cloudwatchevents.modelPutEventsRequest$Builder

Most used methods

  • applyMutation
  • build

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now