@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Activation extends Object implements Serializable, Cloneable, StructuredPojo
An activation registers one or more on-premises servers or virtual machines (VMs) with AWS so that you can configure those servers or VMs using Run Command. A server or VM that has been registered with AWS is called a managed instance.
Constructor and Description |
---|
Activation() |
Modifier and Type | Method and Description |
---|---|
Activation |
clone() |
boolean |
equals(Object obj) |
String |
getActivationId()
The ID created by Systems Manager when you submitted the activation.
|
Date |
getCreatedDate()
The date the activation was created.
|
String |
getDefaultInstanceName()
A name for the managed instance when it is created.
|
String |
getDescription()
A user defined description of the activation.
|
Date |
getExpirationDate()
The date when this activation can no longer be used to register managed instances.
|
Boolean |
getExpired()
Whether or not the activation is expired.
|
String |
getIamRole()
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
|
Integer |
getRegistrationLimit()
The maximum number of managed instances that can be registered using this activation.
|
Integer |
getRegistrationsCount()
The number of managed instances already registered with this activation.
|
int |
hashCode() |
Boolean |
isExpired()
Whether or not the activation is expired.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActivationId(String activationId)
The ID created by Systems Manager when you submitted the activation.
|
void |
setCreatedDate(Date createdDate)
The date the activation was created.
|
void |
setDefaultInstanceName(String defaultInstanceName)
A name for the managed instance when it is created.
|
void |
setDescription(String description)
A user defined description of the activation.
|
void |
setExpirationDate(Date expirationDate)
The date when this activation can no longer be used to register managed instances.
|
void |
setExpired(Boolean expired)
Whether or not the activation is expired.
|
void |
setIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
|
void |
setRegistrationLimit(Integer registrationLimit)
The maximum number of managed instances that can be registered using this activation.
|
void |
setRegistrationsCount(Integer registrationsCount)
The number of managed instances already registered with this activation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Activation |
withActivationId(String activationId)
The ID created by Systems Manager when you submitted the activation.
|
Activation |
withCreatedDate(Date createdDate)
The date the activation was created.
|
Activation |
withDefaultInstanceName(String defaultInstanceName)
A name for the managed instance when it is created.
|
Activation |
withDescription(String description)
A user defined description of the activation.
|
Activation |
withExpirationDate(Date expirationDate)
The date when this activation can no longer be used to register managed instances.
|
Activation |
withExpired(Boolean expired)
Whether or not the activation is expired.
|
Activation |
withIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
|
Activation |
withRegistrationLimit(Integer registrationLimit)
The maximum number of managed instances that can be registered using this activation.
|
Activation |
withRegistrationsCount(Integer registrationsCount)
The number of managed instances already registered with this activation.
|
public void setActivationId(String activationId)
The ID created by Systems Manager when you submitted the activation.
activationId
- The ID created by Systems Manager when you submitted the activation.public String getActivationId()
The ID created by Systems Manager when you submitted the activation.
public Activation withActivationId(String activationId)
The ID created by Systems Manager when you submitted the activation.
activationId
- The ID created by Systems Manager when you submitted the activation.public void setDescription(String description)
A user defined description of the activation.
description
- A user defined description of the activation.public String getDescription()
A user defined description of the activation.
public Activation withDescription(String description)
A user defined description of the activation.
description
- A user defined description of the activation.public void setDefaultInstanceName(String defaultInstanceName)
A name for the managed instance when it is created.
defaultInstanceName
- A name for the managed instance when it is created.public String getDefaultInstanceName()
A name for the managed instance when it is created.
public Activation withDefaultInstanceName(String defaultInstanceName)
A name for the managed instance when it is created.
defaultInstanceName
- A name for the managed instance when it is created.public void setIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
iamRole
- The Amazon Identity and Access Management (IAM) role to assign to the managed instance.public String getIamRole()
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
public Activation withIamRole(String iamRole)
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
iamRole
- The Amazon Identity and Access Management (IAM) role to assign to the managed instance.public void setRegistrationLimit(Integer registrationLimit)
The maximum number of managed instances that can be registered using this activation.
registrationLimit
- The maximum number of managed instances that can be registered using this activation.public Integer getRegistrationLimit()
The maximum number of managed instances that can be registered using this activation.
public Activation withRegistrationLimit(Integer registrationLimit)
The maximum number of managed instances that can be registered using this activation.
registrationLimit
- The maximum number of managed instances that can be registered using this activation.public void setRegistrationsCount(Integer registrationsCount)
The number of managed instances already registered with this activation.
registrationsCount
- The number of managed instances already registered with this activation.public Integer getRegistrationsCount()
The number of managed instances already registered with this activation.
public Activation withRegistrationsCount(Integer registrationsCount)
The number of managed instances already registered with this activation.
registrationsCount
- The number of managed instances already registered with this activation.public void setExpirationDate(Date expirationDate)
The date when this activation can no longer be used to register managed instances.
expirationDate
- The date when this activation can no longer be used to register managed instances.public Date getExpirationDate()
The date when this activation can no longer be used to register managed instances.
public Activation withExpirationDate(Date expirationDate)
The date when this activation can no longer be used to register managed instances.
expirationDate
- The date when this activation can no longer be used to register managed instances.public void setExpired(Boolean expired)
Whether or not the activation is expired.
expired
- Whether or not the activation is expired.public Boolean getExpired()
Whether or not the activation is expired.
public Activation withExpired(Boolean expired)
Whether or not the activation is expired.
expired
- Whether or not the activation is expired.public Boolean isExpired()
Whether or not the activation is expired.
public void setCreatedDate(Date createdDate)
The date the activation was created.
createdDate
- The date the activation was created.public Date getCreatedDate()
The date the activation was created.
public Activation withCreatedDate(Date createdDate)
The date the activation was created.
createdDate
- The date the activation was created.public String toString()
toString
in class Object
Object.toString()
public Activation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.