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

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

Best Java code snippets using software.amazon.awssdk.services.cloudwatchevents.model.PutEventsRequestEntry.source (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.modelPutEventsRequestEntrysource

Javadoc

The source of the event. This field is required.

Popular methods of PutEventsRequestEntry

  • <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
  • time
    The timestamp of the event, per RFC3339 [https://www.rfc-editor.org/rfc/rfc3339.txt]. If no timesta

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • Menu (java.awt)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JComboBox (javax.swing)
  • 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