@Generated(value="software.amazon.awssdk:codegen") public final class Activation extends Object implements StructuredPojo, 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) |
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() |
String |
iamRole()
The Amazon Identity and Access Management (IAM) role to assign to the managed instance.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
static Class<? extends Activation.Builder> |
serializableBuilderClass() |
Activation.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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 Activation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Activation.Builder,Activation>
public static Activation.Builder builder()
public static Class<? extends Activation.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.