congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • BoxLayout (javax.swing)
  • JList (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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