Tabnine Logo
PutEventsRequestEntry
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: aws/aws-sdk-java-v2

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

@Override
public String toString() {
  return ToString.builder("PutEventsRequestEntry").add("Time", time()).add("Source", source())
      .add("Resources", resources()).add("DetailType", detailType()).add("Detail", detail()).build();
}
origin: aws/aws-sdk-java-v2

@Override
@SafeVarargs
public final Builder entries(Consumer<PutEventsRequestEntry.Builder>... entries) {
  entries(Stream.of(entries).map(c -> PutEventsRequestEntry.builder().applyMutation(c).build())
      .collect(Collectors.toList()));
  return this;
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
@SafeVarargs
public final Builder entries(Consumer<PutEventsRequestEntry.Builder>... entries) {
  entries(Stream.of(entries).map(c -> PutEventsRequestEntry.builder().applyMutation(c).build())
      .collect(Collectors.toList()));
  return this;
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(time());
  hashCode = 31 * hashCode + Objects.hashCode(source());
  hashCode = 31 * hashCode + Objects.hashCode(resources());
  hashCode = 31 * hashCode + Objects.hashCode(detailType());
  hashCode = 31 * hashCode + Objects.hashCode(detail());
  return hashCode;
}
origin: software.amazon.awssdk/events

@Override
@SafeVarargs
public final Builder entries(Consumer<PutEventsRequestEntry.Builder>... entries) {
  entries(Stream.of(entries).map(c -> PutEventsRequestEntry.builder().applyMutation(c).build())
      .collect(Collectors.toList()));
  return this;
}
origin: software.amazon.awssdk/events

  @Override
  public PutEventsRequestEntry build() {
    return new PutEventsRequestEntry(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 PutEventsRequestEntry)) {
    return false;
  }
  PutEventsRequestEntry other = (PutEventsRequestEntry) obj;
  return Objects.equals(time(), other.time()) && Objects.equals(source(), other.source())
      && Objects.equals(resources(), other.resources()) && Objects.equals(detailType(), other.detailType())
      && Objects.equals(detail(), other.detail());
}
origin: software.amazon.awssdk/events

public PutEventsRequestEntry unmarshall(JsonUnmarshallerContext context) throws Exception {
  PutEventsRequestEntry.Builder putEventsRequestEntryBuilder = PutEventsRequestEntry.builder();
origin: software.amazon.awssdk/cloudwatchevents

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

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(time());
  hashCode = 31 * hashCode + Objects.hashCode(source());
  hashCode = 31 * hashCode + Objects.hashCode(resources());
  hashCode = 31 * hashCode + Objects.hashCode(detailType());
  hashCode = 31 * hashCode + Objects.hashCode(detail());
  return hashCode;
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(time());
  hashCode = 31 * hashCode + Objects.hashCode(source());
  hashCode = 31 * hashCode + Objects.hashCode(resources());
  hashCode = 31 * hashCode + Objects.hashCode(detailType());
  hashCode = 31 * hashCode + Objects.hashCode(detail());
  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("PutEventsRequestEntry").add("Time", time()).add("Source", source())
      .add("Resources", resources()).add("DetailType", detailType()).add("Detail", detail()).build();
}
origin: software.amazon.awssdk/events

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof PutEventsRequestEntry)) {
    return false;
  }
  PutEventsRequestEntry other = (PutEventsRequestEntry) obj;
  return Objects.equals(time(), other.time()) && Objects.equals(source(), other.source())
      && Objects.equals(resources(), other.resources()) && Objects.equals(detailType(), other.detailType())
      && Objects.equals(detail(), other.detail());
}
origin: software.amazon.awssdk/cloudwatchevents

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof PutEventsRequestEntry)) {
    return false;
  }
  PutEventsRequestEntry other = (PutEventsRequestEntry) obj;
  return Objects.equals(time(), other.time()) && Objects.equals(source(), other.source())
      && Objects.equals(resources(), other.resources()) && Objects.equals(detailType(), other.detailType())
      && Objects.equals(detail(), other.detail());
}
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("PutEventsRequestEntry").add("Time", time()).add("Source", source())
      .add("Resources", resources()).add("DetailType", detailType()).add("Detail", detail()).build();
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Time":
    return Optional.ofNullable(clazz.cast(time()));
  case "Source":
    return Optional.ofNullable(clazz.cast(source()));
  case "Resources":
    return Optional.ofNullable(clazz.cast(resources()));
  case "DetailType":
    return Optional.ofNullable(clazz.cast(detailType()));
  case "Detail":
    return Optional.ofNullable(clazz.cast(detail()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/events

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Time":
    return Optional.ofNullable(clazz.cast(time()));
  case "Source":
    return Optional.ofNullable(clazz.cast(source()));
  case "Resources":
    return Optional.ofNullable(clazz.cast(resources()));
  case "DetailType":
    return Optional.ofNullable(clazz.cast(detailType()));
  case "Detail":
    return Optional.ofNullable(clazz.cast(detail()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cloudwatchevents

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "Time":
    return Optional.ofNullable(clazz.cast(time()));
  case "Source":
    return Optional.ofNullable(clazz.cast(source()));
  case "Resources":
    return Optional.ofNullable(clazz.cast(resources()));
  case "DetailType":
    return Optional.ofNullable(clazz.cast(detailType()));
  case "Detail":
    return Optional.ofNullable(clazz.cast(detail()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/events

  /**
   * Marshall the given parameter object
   */
  public void marshall(PutEventsRequestEntry putEventsRequestEntry, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(putEventsRequestEntry, "putEventsRequestEntry");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(putEventsRequestEntry.time(), TIME_BINDING);
      protocolMarshaller.marshall(putEventsRequestEntry.source(), SOURCE_BINDING);
      protocolMarshaller.marshall(putEventsRequestEntry.resources(), RESOURCES_BINDING);
      protocolMarshaller.marshall(putEventsRequestEntry.detailType(), DETAILTYPE_BINDING);
      protocolMarshaller.marshall(putEventsRequestEntry.detail(), DETAIL_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.cloudwatchevents.modelPutEventsRequestEntry

Javadoc

Represents an event to be submitted.

Most used methods

  • <init>
  • builder
  • detail
    In the JSON sense, an object containing fields, which may also contain nested subobjects. No constr
  • detailType
    Free-form string used to decide what fields to expect in the event detail.
  • resources
    AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any nu
  • source
    The source of the event.
  • time
    The timestamp of the event, per RFC3339 [https://www.rfc-editor.org/rfc/rfc3339.txt]. If no timesta

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSharedPreferences (Context)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • 21 Best IntelliJ Plugins
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