Codota Logo
PutEventsRequest$Builder.build
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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());
}
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: 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: aws/aws-sdk-java-v2

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

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

return putEvents(PutEventsRequest.builder().applyMutation(putEventsRequest).build());
software.amazon.awssdk.services.cloudwatchevents.modelPutEventsRequest$Builderbuild

Popular methods of PutEventsRequest$Builder

  • applyMutation

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • setContentView (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now