Codota Logo
InputTransformer
Code IndexAdd Codota to your IDE (free)

How to use
InputTransformer
in
software.amazon.awssdk.services.cloudwatchevents.model

Best Java code snippets using software.amazon.awssdk.services.cloudwatchevents.model.InputTransformer (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public InputTransformer build() {
  return new InputTransformer(this);
}
origin: aws/aws-sdk-java-v2

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof InputTransformer)) {
    return false;
  }
  InputTransformer other = (InputTransformer) obj;
  return Objects.equals(inputPathsMap(), other.inputPathsMap()) && Objects.equals(inputTemplate(), other.inputTemplate());
}
origin: aws/aws-sdk-java-v2

public final InputTransformer.Builder getInputTransformer() {
  return inputTransformer != null ? inputTransformer.toBuilder() : null;
}
origin: aws/aws-sdk-java-v2

/**
 * <p>
 * Settings to enable you to provide custom input to a target based on certain event data. You can extract one
 * or more key-value pairs from the event and then use that data to send customized input to the target.
 * </p>
 * This is a convenience that creates an instance of the {@link InputTransformer.Builder} avoiding the need to
 * create one manually via {@link InputTransformer#builder()}.
 *
 * When the {@link Consumer} completes, {@link InputTransformer.Builder#build()} is called immediately and its
 * result is passed to {@link #inputTransformer(InputTransformer)}.
 * 
 * @param inputTransformer
 *        a consumer that will call methods on {@link InputTransformer.Builder}
 * @return Returns a reference to this object so that method calls can be chained together.
 * @see #inputTransformer(InputTransformer)
 */
default Builder inputTransformer(Consumer<InputTransformer.Builder> inputTransformer) {
  return inputTransformer(InputTransformer.builder().applyMutation(inputTransformer).build());
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * <p>
 * Settings to enable you to provide custom input to a target based on certain event data. You can extract one
 * or more key-value pairs from the event and then use that data to send customized input to the target.
 * </p>
 * This is a convenience that creates an instance of the {@link InputTransformer.Builder} avoiding the need to
 * create one manually via {@link InputTransformer#builder()}.
 *
 * When the {@link Consumer} completes, {@link InputTransformer.Builder#build()} is called immediately and its
 * result is passed to {@link #inputTransformer(InputTransformer)}.
 * 
 * @param inputTransformer
 *        a consumer that will call methods on {@link InputTransformer.Builder}
 * @return Returns a reference to this object so that method calls can be chained together.
 * @see #inputTransformer(InputTransformer)
 */
default Builder inputTransformer(Consumer<InputTransformer.Builder> inputTransformer) {
  return inputTransformer(InputTransformer.builder().applyMutation(inputTransformer).build());
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(inputPathsMap());
  hashCode = 31 * hashCode + Objects.hashCode(inputTemplate());
  return hashCode;
}
origin: software.amazon.awssdk/events

/**
 * <p>
 * Settings to enable you to provide custom input to a target based on certain event data. You can extract one
 * or more key-value pairs from the event and then use that data to send customized input to the target.
 * </p>
 * This is a convenience that creates an instance of the {@link InputTransformer.Builder} avoiding the need to
 * create one manually via {@link InputTransformer#builder()}.
 *
 * When the {@link Consumer} completes, {@link InputTransformer.Builder#build()} is called immediately and its
 * result is passed to {@link #inputTransformer(InputTransformer)}.
 * 
 * @param inputTransformer
 *        a consumer that will call methods on {@link InputTransformer.Builder}
 * @return Returns a reference to this object so that method calls can be chained together.
 * @see #inputTransformer(InputTransformer)
 */
default Builder inputTransformer(Consumer<InputTransformer.Builder> inputTransformer) {
  return inputTransformer(InputTransformer.builder().applyMutation(inputTransformer).build());
}
origin: aws/aws-sdk-java-v2

@Override
public InputTransformer build() {
  return new InputTransformer(this);
}
origin: software.amazon.awssdk/events

public final InputTransformer.Builder getInputTransformer() {
  return inputTransformer != null ? inputTransformer.toBuilder() : null;
}
origin: software.amazon.awssdk/events

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof InputTransformer)) {
    return false;
  }
  InputTransformer other = (InputTransformer) obj;
  return Objects.equals(inputPathsMap(), other.inputPathsMap()) && Objects.equals(inputTemplate(), other.inputTemplate());
}
origin: software.amazon.awssdk/events

public InputTransformer unmarshall(JsonUnmarshallerContext context) throws Exception {
  InputTransformer.Builder inputTransformerBuilder = InputTransformer.builder();
origin: software.amazon.awssdk/events

  @Override
  public InputTransformer build() {
    return new InputTransformer(this);
  }
}
origin: software.amazon.awssdk/cloudwatchevents

public final InputTransformer.Builder getInputTransformer() {
  return inputTransformer != null ? inputTransformer.toBuilder() : null;
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof InputTransformer)) {
    return false;
  }
  InputTransformer other = (InputTransformer) obj;
  return Objects.equals(inputPathsMap(), other.inputPathsMap()) && Objects.equals(inputTemplate(), other.inputTemplate());
}
origin: software.amazon.awssdk/events

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(inputPathsMap());
  hashCode = 31 * hashCode + Objects.hashCode(inputTemplate());
  return hashCode;
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(inputPathsMap());
  hashCode = 31 * hashCode + Objects.hashCode(inputTemplate());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("InputTransformer").add("InputPathsMap", inputPathsMap()).add("InputTemplate", inputTemplate())
      .build();
}
origin: software.amazon.awssdk/events

@Override
public String toString() {
  return ToString.builder("InputTransformer").add("InputPathsMap", inputPathsMap()).add("InputTemplate", inputTemplate())
      .build();
}
origin: software.amazon.awssdk/cloudwatchevents

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("InputTransformer").add("InputPathsMap", inputPathsMap()).add("InputTemplate", inputTemplate())
      .build();
}
origin: software.amazon.awssdk/events

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "InputPathsMap":
    return Optional.ofNullable(clazz.cast(inputPathsMap()));
  case "InputTemplate":
    return Optional.ofNullable(clazz.cast(inputTemplate()));
  default:
    return Optional.empty();
  }
}
software.amazon.awssdk.services.cloudwatchevents.modelInputTransformer

Javadoc

Contains the parameters needed for you to provide custom input to a target based on one or more pieces of data extracted from the event.

Most used methods

  • <init>
  • builder
  • inputPathsMap
    Map of JSON paths to be extracted from the event. These are key-value pairs, where each value is a
  • inputTemplate
    Input template where you can use the values of the keys from InputPathsMap to customize the data se
  • toBuilder

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Join (org.hibernate.mapping)
  • Runner (org.openjdk.jmh.runner)
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