@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String activationId()
The ID created by Systems Manager when you submitted the activation.
public final String description()
A user defined description of the activation.
public final String defaultInstanceName()
A name for the managed instance when it is created.
public final String iamRole()
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
public final Integer registrationLimit()
The maximum number of managed instances that can be registered using this activation.
public final Integer registrationsCount()
The number of managed instances already registered with this activation.
public final Instant expirationDate()
The date when this activation can no longer be used to register managed instances.
public final Boolean expired()
Whether or not the activation is expired.
public final Instant createdDate()
The date the activation was created.
public final boolean hasTags()
public final 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Activation.Builder,Activation>
public static Activation.Builder builder()
public static Class<? extends Activation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.