@Generated(value="software.amazon.awssdk:codegen") public final class Activation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Activation.Builder,Activation>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
Activation.Builder |
Modifier and Type | Method and Description |
---|---|
String |
activationId()
The ID created by Systems Manager when you submitted the activation.
|
static Activation.Builder |
builder() |
Instant |
createdDate()
The date the activation was created.
|
String |
defaultInstanceName()
A name for the managed instance when it is created.
|
String |
description()
A user defined description of the activation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expirationDate()
The date when this activation can no longer be used to register managed instances.
|
Boolean |
expired()
Whether or not the activation is expired.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
iamRole()
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
|
Integer |
registrationLimit()
The maximum number of managed instances that can be registered using this activation.
|
Integer |
registrationsCount()
The number of managed instances already registered with this activation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Activation.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Tags assigned to the activation.
|
Activation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String activationId()
The ID created by Systems Manager when you submitted the activation.
public String description()
A user defined description of the activation.
public String defaultInstanceName()
A name for the managed instance when it is created.
public String iamRole()
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
public Integer registrationLimit()
The maximum number of managed instances that can be registered using this activation.
public Integer registrationsCount()
The number of managed instances already registered with this activation.
public Instant expirationDate()
The date when this activation can no longer be used to register managed instances.
public Boolean expired()
Whether or not the activation is expired.
public Instant createdDate()
The date the activation was created.
public boolean hasTags()
public List<Tag> tags()
Tags assigned to the activation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public Activation.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Activation.Builder,Activation>
public static Activation.Builder builder()
public static Class<? extends Activation.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.