Package com.vmware.aria.operations
Class AdapterInstance
-
- All Implemented Interfaces:
public final class AdapterInstance extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private final Credentialcredentialprivate final SuiteApiClientsuiteApiClientprivate final Certificatescertificatesprivate final IntegercollectionNumberprivate final CollectionWindowcollectionWindowprivate final StringadapterTypeprivate final StringobjectTypeprivate final Stringnameprivate final JsonObjectjsonprivate final Keykey
-
Constructor Summary
Constructors Constructor Description AdapterInstance(JsonObject json)
-
Method Summary
Modifier and Type Method Description final CredentialgetCredential()Gets information about the credential (if it exists) for this Adapter Instance final SuiteApiClientgetSuiteApiClient()Gets an authenticated Suite API Client. final CertificatesgetCertificates()Gets the list of SSL Certificates that have been verified automatically by a CA or manually by the user. final IntegergetCollectionNumber()Gets the current collection number, starting from 0. final CollectionWindowgetCollectionWindow()Gets the current collection window. final StringgetCredentialType()final StringgetCredentialValue(String key)Retrieve the value of a given credential final static AdapterInstancefromInput(String inputFile)Create an AdapterInstance from the input pipe. final static AdapterInstancefromInput()Create an AdapterInstance from the input pipe. -
Methods inherited from class com.vmware.aria.operations.Object
addChild, addChildren, addEvent, addEvents, addMetric, addMetrics, addParent, addParents, addProperties, addProperty, getAdapterType, getChildren, getEvents, getIdentifierValue, getIdentifierValue, getJson, getKey, getLastMetricValue, getLastNumericPropertyValue, getLastStringPropertyValue, getMetric, getMetricValues, getName, getNumericPropertyValues, getObjectType, getParents, getProperty, getStringPropertyValues, hasContent, withEvent, withEvent, withEvent, withEvent, withEvent, withEvent, withEvent, withEvent, withEvent, withMetric, withMetric, withProperty, withProperty, withProperty, withProperty -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCredential
final Credential getCredential()
Gets information about the credential (if it exists) for this Adapter Instance
-
getSuiteApiClient
final SuiteApiClient getSuiteApiClient()
Gets an authenticated Suite API Client.
-
getCertificates
final Certificates getCertificates()
Gets the list of SSL Certificates that have been verified automatically by a CA or manually by the user.
-
getCollectionNumber
final Integer getCollectionNumber()
Gets the current collection number, starting from 0.
-
getCollectionWindow
final CollectionWindow getCollectionWindow()
Gets the current collection window.
-
getCredentialType
final String getCredentialType()
- Returns:
The type (key) of the credential, or
nullif this Adapter Instance does not have a credential.
-
getCredentialValue
final String getCredentialValue(String key)
Retrieve the value of a given credential
- Parameters:
key- Key of the credential field- Returns:
value associated with the credential field, or null if a credential field with the given key does not exist.
-
fromInput
@JvmOverloads() final static AdapterInstance fromInput(String inputFile)
Create an AdapterInstance from the input pipe.
-
fromInput
@JvmOverloads() final static AdapterInstance fromInput()
Create an AdapterInstance from the input pipe.
-
-
-
-