congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PutEventsRequestEntry.detailType
Code IndexAdd Tabnine to your IDE (free)

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

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

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

/**
 * 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/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: 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/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: 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: 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

@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/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.modelPutEventsRequestEntrydetailType

Javadoc

Free-form string used to decide what fields to expect in the event detail.

Popular methods of PutEventsRequestEntry

  • <init>
  • builder
  • detail
    In the JSON sense, an object containing fields, which may also contain nested subobjects. No constr
  • 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

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • onRequestPermissionsResult (Fragment)
  • getExternalFilesDir (Context)
  • String (java.lang)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • CodeWhisperer alternatives
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