Codota Logo
AgentInfo.agentNetworkInfoList
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
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/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

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

@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/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: 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.modelAgentInfoagentNetworkInfoList

Javadoc

Network details about the host where the agent or connector resides.

Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

Popular methods of AgentInfo

  • <init>
  • agentId
    The agent or connector ID.
  • agentType
    Type of agent.
  • builder
  • collectionStatus
    Status of the collection process for an agent or connector.
  • 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

  • Start an intent from android
  • startActivity (Activity)
  • getApplicationContext (Context)
  • onCreateOptionsMenu (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
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