@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Instance extends Object implements Serializable, Cloneable, StructuredPojo
Details discovered information about a running instance using Linux subscriptions.
Constructor and Description |
---|
Instance() |
Modifier and Type | Method and Description |
---|---|
Instance |
clone() |
boolean |
equals(Object obj) |
String |
getAccountID()
The account ID which owns the instance.
|
String |
getAmiId()
The AMI ID used to launch the instance.
|
String |
getDualSubscription()
Indicates that you have two different license subscriptions for the same software on your instance.
|
String |
getInstanceID()
The instance ID of the resource.
|
String |
getInstanceType()
The instance type of the resource.
|
String |
getLastUpdatedTime()
The time in which the last discovery updated the instance details.
|
String |
getOsVersion()
The operating system software version that runs on your instance.
|
List<String> |
getProductCode()
The product code for the instance.
|
String |
getRegion()
The Region the instance is running in.
|
String |
getRegisteredWithSubscriptionProvider()
Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription provider that
you've registered with License Manager.
|
String |
getStatus()
The status of the instance.
|
String |
getSubscriptionName()
The name of the license subscription that the instance uses.
|
String |
getSubscriptionProviderCreateTime()
The timestamp when you registered the third-party Linux subscription provider for the subscription that the
instance uses.
|
String |
getSubscriptionProviderUpdateTime()
The timestamp from the last time that the instance synced with the registered third-party Linux subscription
provider.
|
String |
getUsageOperation()
The usage operation of the instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountID(String accountID)
The account ID which owns the instance.
|
void |
setAmiId(String amiId)
The AMI ID used to launch the instance.
|
void |
setDualSubscription(String dualSubscription)
Indicates that you have two different license subscriptions for the same software on your instance.
|
void |
setInstanceID(String instanceID)
The instance ID of the resource.
|
void |
setInstanceType(String instanceType)
The instance type of the resource.
|
void |
setLastUpdatedTime(String lastUpdatedTime)
The time in which the last discovery updated the instance details.
|
void |
setOsVersion(String osVersion)
The operating system software version that runs on your instance.
|
void |
setProductCode(Collection<String> productCode)
The product code for the instance.
|
void |
setRegion(String region)
The Region the instance is running in.
|
void |
setRegisteredWithSubscriptionProvider(String registeredWithSubscriptionProvider)
Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription provider that
you've registered with License Manager.
|
void |
setStatus(String status)
The status of the instance.
|
void |
setSubscriptionName(String subscriptionName)
The name of the license subscription that the instance uses.
|
void |
setSubscriptionProviderCreateTime(String subscriptionProviderCreateTime)
The timestamp when you registered the third-party Linux subscription provider for the subscription that the
instance uses.
|
void |
setSubscriptionProviderUpdateTime(String subscriptionProviderUpdateTime)
The timestamp from the last time that the instance synced with the registered third-party Linux subscription
provider.
|
void |
setUsageOperation(String usageOperation)
The usage operation of the instance.
|
String |
toString()
Returns a string representation of this object.
|
Instance |
withAccountID(String accountID)
The account ID which owns the instance.
|
Instance |
withAmiId(String amiId)
The AMI ID used to launch the instance.
|
Instance |
withDualSubscription(String dualSubscription)
Indicates that you have two different license subscriptions for the same software on your instance.
|
Instance |
withInstanceID(String instanceID)
The instance ID of the resource.
|
Instance |
withInstanceType(String instanceType)
The instance type of the resource.
|
Instance |
withLastUpdatedTime(String lastUpdatedTime)
The time in which the last discovery updated the instance details.
|
Instance |
withOsVersion(String osVersion)
The operating system software version that runs on your instance.
|
Instance |
withProductCode(Collection<String> productCode)
The product code for the instance.
|
Instance |
withProductCode(String... productCode)
The product code for the instance.
|
Instance |
withRegion(String region)
The Region the instance is running in.
|
Instance |
withRegisteredWithSubscriptionProvider(String registeredWithSubscriptionProvider)
Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription provider that
you've registered with License Manager.
|
Instance |
withStatus(String status)
The status of the instance.
|
Instance |
withSubscriptionName(String subscriptionName)
The name of the license subscription that the instance uses.
|
Instance |
withSubscriptionProviderCreateTime(String subscriptionProviderCreateTime)
The timestamp when you registered the third-party Linux subscription provider for the subscription that the
instance uses.
|
Instance |
withSubscriptionProviderUpdateTime(String subscriptionProviderUpdateTime)
The timestamp from the last time that the instance synced with the registered third-party Linux subscription
provider.
|
Instance |
withUsageOperation(String usageOperation)
The usage operation of the instance.
|
public void setAccountID(String accountID)
The account ID which owns the instance.
accountID
- The account ID which owns the instance.public String getAccountID()
The account ID which owns the instance.
public Instance withAccountID(String accountID)
The account ID which owns the instance.
accountID
- The account ID which owns the instance.public void setAmiId(String amiId)
The AMI ID used to launch the instance.
amiId
- The AMI ID used to launch the instance.public String getAmiId()
The AMI ID used to launch the instance.
public Instance withAmiId(String amiId)
The AMI ID used to launch the instance.
amiId
- The AMI ID used to launch the instance.public void setDualSubscription(String dualSubscription)
Indicates that you have two different license subscriptions for the same software on your instance.
dualSubscription
- Indicates that you have two different license subscriptions for the same software on your instance.public String getDualSubscription()
Indicates that you have two different license subscriptions for the same software on your instance.
public Instance withDualSubscription(String dualSubscription)
Indicates that you have two different license subscriptions for the same software on your instance.
dualSubscription
- Indicates that you have two different license subscriptions for the same software on your instance.public void setInstanceID(String instanceID)
The instance ID of the resource.
instanceID
- The instance ID of the resource.public String getInstanceID()
The instance ID of the resource.
public Instance withInstanceID(String instanceID)
The instance ID of the resource.
instanceID
- The instance ID of the resource.public void setInstanceType(String instanceType)
The instance type of the resource.
instanceType
- The instance type of the resource.public String getInstanceType()
The instance type of the resource.
public Instance withInstanceType(String instanceType)
The instance type of the resource.
instanceType
- The instance type of the resource.public void setLastUpdatedTime(String lastUpdatedTime)
The time in which the last discovery updated the instance details.
lastUpdatedTime
- The time in which the last discovery updated the instance details.public String getLastUpdatedTime()
The time in which the last discovery updated the instance details.
public Instance withLastUpdatedTime(String lastUpdatedTime)
The time in which the last discovery updated the instance details.
lastUpdatedTime
- The time in which the last discovery updated the instance details.public void setOsVersion(String osVersion)
The operating system software version that runs on your instance.
osVersion
- The operating system software version that runs on your instance.public String getOsVersion()
The operating system software version that runs on your instance.
public Instance withOsVersion(String osVersion)
The operating system software version that runs on your instance.
osVersion
- The operating system software version that runs on your instance.public List<String> getProductCode()
The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .
public void setProductCode(Collection<String> productCode)
The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .
productCode
- The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .public Instance withProductCode(String... productCode)
The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .
NOTE: This method appends the values to the existing list (if any). Use
setProductCode(java.util.Collection)
or withProductCode(java.util.Collection)
if you want to
override the existing values.
productCode
- The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .public Instance withProductCode(Collection<String> productCode)
The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .
productCode
- The product code for the instance. For more information, see Usage operation values in the License Manager User Guide .public void setRegion(String region)
The Region the instance is running in.
region
- The Region the instance is running in.public String getRegion()
The Region the instance is running in.
public Instance withRegion(String region)
The Region the instance is running in.
region
- The Region the instance is running in.public void setRegisteredWithSubscriptionProvider(String registeredWithSubscriptionProvider)
Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription provider that you've registered with License Manager.
registeredWithSubscriptionProvider
- Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription
provider that you've registered with License Manager.public String getRegisteredWithSubscriptionProvider()
Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription provider that you've registered with License Manager.
public Instance withRegisteredWithSubscriptionProvider(String registeredWithSubscriptionProvider)
Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription provider that you've registered with License Manager.
registeredWithSubscriptionProvider
- Indicates that your instance uses a BYOL license subscription from a third-party Linux subscription
provider that you've registered with License Manager.public void setStatus(String status)
The status of the instance.
status
- The status of the instance.public String getStatus()
The status of the instance.
public Instance withStatus(String status)
The status of the instance.
status
- The status of the instance.public void setSubscriptionName(String subscriptionName)
The name of the license subscription that the instance uses.
subscriptionName
- The name of the license subscription that the instance uses.public String getSubscriptionName()
The name of the license subscription that the instance uses.
public Instance withSubscriptionName(String subscriptionName)
The name of the license subscription that the instance uses.
subscriptionName
- The name of the license subscription that the instance uses.public void setSubscriptionProviderCreateTime(String subscriptionProviderCreateTime)
The timestamp when you registered the third-party Linux subscription provider for the subscription that the instance uses.
subscriptionProviderCreateTime
- The timestamp when you registered the third-party Linux subscription provider for the subscription that
the instance uses.public String getSubscriptionProviderCreateTime()
The timestamp when you registered the third-party Linux subscription provider for the subscription that the instance uses.
public Instance withSubscriptionProviderCreateTime(String subscriptionProviderCreateTime)
The timestamp when you registered the third-party Linux subscription provider for the subscription that the instance uses.
subscriptionProviderCreateTime
- The timestamp when you registered the third-party Linux subscription provider for the subscription that
the instance uses.public void setSubscriptionProviderUpdateTime(String subscriptionProviderUpdateTime)
The timestamp from the last time that the instance synced with the registered third-party Linux subscription provider.
subscriptionProviderUpdateTime
- The timestamp from the last time that the instance synced with the registered third-party Linux
subscription provider.public String getSubscriptionProviderUpdateTime()
The timestamp from the last time that the instance synced with the registered third-party Linux subscription provider.
public Instance withSubscriptionProviderUpdateTime(String subscriptionProviderUpdateTime)
The timestamp from the last time that the instance synced with the registered third-party Linux subscription provider.
subscriptionProviderUpdateTime
- The timestamp from the last time that the instance synced with the registered third-party Linux
subscription provider.public void setUsageOperation(String usageOperation)
The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.
usageOperation
- The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.public String getUsageOperation()
The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.
public Instance withUsageOperation(String usageOperation)
The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.
usageOperation
- The usage operation of the instance. For more information, see For more information, see Usage operation values in the License Manager User Guide.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.