Tabnine Logo
AgentInfo.collectionStatus
Code IndexAdd Tabnine to your IDE (free)

How to use
collectionStatus
method
in
software.amazon.awssdk.services.applicationdiscovery.model.AgentInfo

Best Java code snippets using software.amazon.awssdk.services.applicationdiscovery.model.AgentInfo.collectionStatus (Showing top 13 results out of 315)

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("AgentInfo").add("AgentId", agentId()).add("HostName", hostName())
      .add("AgentNetworkInfoList", agentNetworkInfoList()).add("ConnectorId", connectorId()).add("Version", version())
      .add("Health", healthAsString()).add("LastHealthPingTime", lastHealthPingTime())
      .add("CollectionStatus", collectionStatus()).add("AgentType", agentType())
      .add("RegisteredTime", registeredTime()).build();
}
origin: software.amazon.awssdk/applicationdiscovery

/**
 * 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("AgentInfo").add("AgentId", agentId()).add("HostName", hostName())
      .add("AgentNetworkInfoList", agentNetworkInfoList()).add("ConnectorId", connectorId()).add("Version", version())
      .add("Health", healthAsString()).add("LastHealthPingTime", lastHealthPingTime())
      .add("CollectionStatus", collectionStatus()).add("AgentType", agentType())
      .add("RegisteredTime", registeredTime()).build();
}
origin: software.amazon.awssdk/discovery

@Override
public String toString() {
  return ToString.builder("AgentInfo").add("AgentId", agentId()).add("HostName", hostName())
      .add("AgentNetworkInfoList", agentNetworkInfoList()).add("ConnectorId", connectorId()).add("Version", version())
      .add("Health", healthAsString()).add("LastHealthPingTime", lastHealthPingTime())
      .add("CollectionStatus", collectionStatus()).add("AgentType", agentType())
      .add("RegisteredTime", registeredTime()).build();
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(agentId());
  hashCode = 31 * hashCode + Objects.hashCode(hostName());
  hashCode = 31 * hashCode + Objects.hashCode(agentNetworkInfoList());
  hashCode = 31 * hashCode + Objects.hashCode(connectorId());
  hashCode = 31 * hashCode + Objects.hashCode(version());
  hashCode = 31 * hashCode + Objects.hashCode(healthAsString());
  hashCode = 31 * hashCode + Objects.hashCode(lastHealthPingTime());
  hashCode = 31 * hashCode + Objects.hashCode(collectionStatus());
  hashCode = 31 * hashCode + Objects.hashCode(agentType());
  hashCode = 31 * hashCode + Objects.hashCode(registeredTime());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "agentId":
    return Optional.ofNullable(clazz.cast(agentId()));
  case "hostName":
    return Optional.ofNullable(clazz.cast(hostName()));
  case "agentNetworkInfoList":
    return Optional.ofNullable(clazz.cast(agentNetworkInfoList()));
  case "connectorId":
    return Optional.ofNullable(clazz.cast(connectorId()));
  case "version":
    return Optional.ofNullable(clazz.cast(version()));
  case "health":
    return Optional.ofNullable(clazz.cast(healthAsString()));
  case "lastHealthPingTime":
    return Optional.ofNullable(clazz.cast(lastHealthPingTime()));
  case "collectionStatus":
    return Optional.ofNullable(clazz.cast(collectionStatus()));
  case "agentType":
    return Optional.ofNullable(clazz.cast(agentType()));
  case "registeredTime":
    return Optional.ofNullable(clazz.cast(registeredTime()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/discovery

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "agentId":
    return Optional.ofNullable(clazz.cast(agentId()));
  case "hostName":
    return Optional.ofNullable(clazz.cast(hostName()));
  case "agentNetworkInfoList":
    return Optional.ofNullable(clazz.cast(agentNetworkInfoList()));
  case "connectorId":
    return Optional.ofNullable(clazz.cast(connectorId()));
  case "version":
    return Optional.ofNullable(clazz.cast(version()));
  case "health":
    return Optional.ofNullable(clazz.cast(healthAsString()));
  case "lastHealthPingTime":
    return Optional.ofNullable(clazz.cast(lastHealthPingTime()));
  case "collectionStatus":
    return Optional.ofNullable(clazz.cast(collectionStatus()));
  case "agentType":
    return Optional.ofNullable(clazz.cast(agentType()));
  case "registeredTime":
    return Optional.ofNullable(clazz.cast(registeredTime()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/applicationdiscovery

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "agentId":
    return Optional.ofNullable(clazz.cast(agentId()));
  case "hostName":
    return Optional.ofNullable(clazz.cast(hostName()));
  case "agentNetworkInfoList":
    return Optional.ofNullable(clazz.cast(agentNetworkInfoList()));
  case "connectorId":
    return Optional.ofNullable(clazz.cast(connectorId()));
  case "version":
    return Optional.ofNullable(clazz.cast(version()));
  case "health":
    return Optional.ofNullable(clazz.cast(healthAsString()));
  case "lastHealthPingTime":
    return Optional.ofNullable(clazz.cast(lastHealthPingTime()));
  case "collectionStatus":
    return Optional.ofNullable(clazz.cast(collectionStatus()));
  case "agentType":
    return Optional.ofNullable(clazz.cast(agentType()));
  case "registeredTime":
    return Optional.ofNullable(clazz.cast(registeredTime()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/discovery

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(agentId());
  hashCode = 31 * hashCode + Objects.hashCode(hostName());
  hashCode = 31 * hashCode + Objects.hashCode(agentNetworkInfoList());
  hashCode = 31 * hashCode + Objects.hashCode(connectorId());
  hashCode = 31 * hashCode + Objects.hashCode(version());
  hashCode = 31 * hashCode + Objects.hashCode(healthAsString());
  hashCode = 31 * hashCode + Objects.hashCode(lastHealthPingTime());
  hashCode = 31 * hashCode + Objects.hashCode(collectionStatus());
  hashCode = 31 * hashCode + Objects.hashCode(agentType());
  hashCode = 31 * hashCode + Objects.hashCode(registeredTime());
  return hashCode;
}
origin: software.amazon.awssdk/applicationdiscovery

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(agentId());
  hashCode = 31 * hashCode + Objects.hashCode(hostName());
  hashCode = 31 * hashCode + Objects.hashCode(agentNetworkInfoList());
  hashCode = 31 * hashCode + Objects.hashCode(connectorId());
  hashCode = 31 * hashCode + Objects.hashCode(version());
  hashCode = 31 * hashCode + Objects.hashCode(healthAsString());
  hashCode = 31 * hashCode + Objects.hashCode(lastHealthPingTime());
  hashCode = 31 * hashCode + Objects.hashCode(collectionStatus());
  hashCode = 31 * hashCode + Objects.hashCode(agentType());
  hashCode = 31 * hashCode + Objects.hashCode(registeredTime());
  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 AgentInfo)) {
    return false;
  }
  AgentInfo other = (AgentInfo) obj;
  return Objects.equals(agentId(), other.agentId()) && Objects.equals(hostName(), other.hostName())
      && Objects.equals(agentNetworkInfoList(), other.agentNetworkInfoList())
      && Objects.equals(connectorId(), other.connectorId()) && Objects.equals(version(), other.version())
      && Objects.equals(healthAsString(), other.healthAsString())
      && Objects.equals(lastHealthPingTime(), other.lastHealthPingTime())
      && Objects.equals(collectionStatus(), other.collectionStatus()) && Objects.equals(agentType(), other.agentType())
      && Objects.equals(registeredTime(), other.registeredTime());
}
origin: software.amazon.awssdk/discovery

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof AgentInfo)) {
    return false;
  }
  AgentInfo other = (AgentInfo) obj;
  return Objects.equals(agentId(), other.agentId()) && Objects.equals(hostName(), other.hostName())
      && Objects.equals(agentNetworkInfoList(), other.agentNetworkInfoList())
      && Objects.equals(connectorId(), other.connectorId()) && Objects.equals(version(), other.version())
      && Objects.equals(healthAsString(), other.healthAsString())
      && Objects.equals(lastHealthPingTime(), other.lastHealthPingTime())
      && Objects.equals(collectionStatus(), other.collectionStatus()) && Objects.equals(agentType(), other.agentType())
      && Objects.equals(registeredTime(), other.registeredTime());
}
origin: software.amazon.awssdk/applicationdiscovery

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof AgentInfo)) {
    return false;
  }
  AgentInfo other = (AgentInfo) obj;
  return Objects.equals(agentId(), other.agentId()) && Objects.equals(hostName(), other.hostName())
      && Objects.equals(agentNetworkInfoList(), other.agentNetworkInfoList())
      && Objects.equals(connectorId(), other.connectorId()) && Objects.equals(version(), other.version())
      && Objects.equals(healthAsString(), other.healthAsString())
      && Objects.equals(lastHealthPingTime(), other.lastHealthPingTime())
      && Objects.equals(collectionStatus(), other.collectionStatus()) && Objects.equals(agentType(), other.agentType())
      && Objects.equals(registeredTime(), other.registeredTime());
}
origin: software.amazon.awssdk/discovery

  /**
   * Marshall the given parameter object
   */
  public void marshall(AgentInfo agentInfo, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(agentInfo, "agentInfo");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(agentInfo.agentId(), AGENTID_BINDING);
      protocolMarshaller.marshall(agentInfo.hostName(), HOSTNAME_BINDING);
      protocolMarshaller.marshall(agentInfo.agentNetworkInfoList(), AGENTNETWORKINFOLIST_BINDING);
      protocolMarshaller.marshall(agentInfo.connectorId(), CONNECTORID_BINDING);
      protocolMarshaller.marshall(agentInfo.version(), VERSION_BINDING);
      protocolMarshaller.marshall(agentInfo.healthAsString(), HEALTH_BINDING);
      protocolMarshaller.marshall(agentInfo.lastHealthPingTime(), LASTHEALTHPINGTIME_BINDING);
      protocolMarshaller.marshall(agentInfo.collectionStatus(), COLLECTIONSTATUS_BINDING);
      protocolMarshaller.marshall(agentInfo.agentType(), AGENTTYPE_BINDING);
      protocolMarshaller.marshall(agentInfo.registeredTime(), REGISTEREDTIME_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.applicationdiscovery.modelAgentInfocollectionStatus

Javadoc

Status of the collection process for an agent or connector.

Popular methods of AgentInfo

  • <init>
  • agentId
    The agent or connector ID.
  • agentNetworkInfoList
    Network details about the host where the agent or connector resides. Attempts to modify the colle
  • agentType
    Type of agent.
  • builder
  • connectorId
    The ID of the connector.
  • healthAsString
    The health of the agent or connector. If the service returns an enum value that is not available
  • hostName
    The name of the host where the agent or connector resides. The host can be a server or virtual mach
  • lastHealthPingTime
    Time since agent or connector health was reported.
  • registeredTime
    Agent's first registration timestamp in UTC.
  • version
    The agent or connector version.
  • version

Popular in Java

  • Running tasks concurrently on multiple threads
  • setScale (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top PhpStorm plugins
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