@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 Amazon Web Services so that you can configure those servers or VMs using Run Command. A server or VM that has been registered with Amazon Web Services Systems Manager is called a managed node.
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 node 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 nodes.
|
Boolean |
getExpired()
Whether or not the activation is expired.
|
String |
getIamRole()
The Identity and Access Management (IAM) role to assign to the managed node.
|
Integer |
getRegistrationLimit()
The maximum number of managed nodes that can be registered using this activation.
|
Integer |
getRegistrationsCount()
The number of managed nodes already registered with this activation.
|
List<Tag> |
getTags()
Tags assigned to the 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 node 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 nodes.
|
void |
setExpired(Boolean expired)
Whether or not the activation is expired.
|
void |
setIamRole(String iamRole)
The Identity and Access Management (IAM) role to assign to the managed node.
|
void |
setRegistrationLimit(Integer registrationLimit)
The maximum number of managed nodes that can be registered using this activation.
|
void |
setRegistrationsCount(Integer registrationsCount)
The number of managed nodes already registered with this activation.
|
void |
setTags(Collection<Tag> tags)
Tags assigned to the activation.
|
String |
toString()
Returns a string representation of this object.
|
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 node 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 nodes.
|
Activation |
withExpired(Boolean expired)
Whether or not the activation is expired.
|
Activation |
withIamRole(String iamRole)
The Identity and Access Management (IAM) role to assign to the managed node.
|
Activation |
withRegistrationLimit(Integer registrationLimit)
The maximum number of managed nodes that can be registered using this activation.
|
Activation |
withRegistrationsCount(Integer registrationsCount)
The number of managed nodes already registered with this activation.
|
Activation |
withTags(Collection<Tag> tags)
Tags assigned to the activation.
|
Activation |
withTags(Tag... tags)
Tags assigned to the 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 node when it is created.
defaultInstanceName
- A name for the managed node when it is created.public String getDefaultInstanceName()
A name for the managed node when it is created.
public Activation withDefaultInstanceName(String defaultInstanceName)
A name for the managed node when it is created.
defaultInstanceName
- A name for the managed node when it is created.public void setIamRole(String iamRole)
The Identity and Access Management (IAM) role to assign to the managed node.
iamRole
- The Identity and Access Management (IAM) role to assign to the managed node.public String getIamRole()
The Identity and Access Management (IAM) role to assign to the managed node.
public Activation withIamRole(String iamRole)
The Identity and Access Management (IAM) role to assign to the managed node.
iamRole
- The Identity and Access Management (IAM) role to assign to the managed node.public void setRegistrationLimit(Integer registrationLimit)
The maximum number of managed nodes that can be registered using this activation.
registrationLimit
- The maximum number of managed nodes that can be registered using this activation.public Integer getRegistrationLimit()
The maximum number of managed nodes that can be registered using this activation.
public Activation withRegistrationLimit(Integer registrationLimit)
The maximum number of managed nodes that can be registered using this activation.
registrationLimit
- The maximum number of managed nodes that can be registered using this activation.public void setRegistrationsCount(Integer registrationsCount)
The number of managed nodes already registered with this activation.
registrationsCount
- The number of managed nodes already registered with this activation.public Integer getRegistrationsCount()
The number of managed nodes already registered with this activation.
public Activation withRegistrationsCount(Integer registrationsCount)
The number of managed nodes already registered with this activation.
registrationsCount
- The number of managed nodes already registered with this activation.public void setExpirationDate(Date expirationDate)
The date when this activation can no longer be used to register managed nodes.
expirationDate
- The date when this activation can no longer be used to register managed nodes.public Date getExpirationDate()
The date when this activation can no longer be used to register managed nodes.
public Activation withExpirationDate(Date expirationDate)
The date when this activation can no longer be used to register managed nodes.
expirationDate
- The date when this activation can no longer be used to register managed nodes.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 List<Tag> getTags()
Tags assigned to the activation.
public void setTags(Collection<Tag> tags)
Tags assigned to the activation.
tags
- Tags assigned to the activation.public Activation withTags(Tag... tags)
Tags assigned to the activation.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags assigned to the activation.public Activation withTags(Collection<Tag> tags)
Tags assigned to the activation.
tags
- Tags assigned to the activation.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.