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 Credential
credential
private final SuiteApiClient
suiteApiClient
private final Certificates
certificates
private final Integer
collectionNumber
private final CollectionWindow
collectionWindow
private final String
adapterType
private final String
objectType
private final String
name
private final JsonObject
json
private final Key
key
-
Constructor Summary
Constructors Constructor Description AdapterInstance(JsonObject json)
-
Method Summary
Modifier and Type Method Description final Credential
getCredential()
Gets information about the credential (if it exists) for this Adapter Instance final SuiteApiClient
getSuiteApiClient()
Gets an authenticated Suite API Client. final Certificates
getCertificates()
Gets the list of SSL Certificates that have been verified automatically by a CA or manually by the user. final Integer
getCollectionNumber()
Gets the current collection number, starting from 0. final CollectionWindow
getCollectionWindow()
Gets the current collection window. final String
getCredentialType()
final String
getCredentialValue(String key)
Retrieve the value of a given credential final static AdapterInstance
fromInput(String inputFile)
Create an AdapterInstance from the input pipe. final static AdapterInstance
fromInput()
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
null
if 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.
-
-
-
-