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

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

Best Java code snippets using software.amazon.awssdk.services.cloudwatchevents.model.PutEventsRequest$Builder.applyMutation (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$BuilderapplyMutation

Popular methods of PutEventsRequest$Builder

  • build

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Reference (javax.naming)
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
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