@Generated(value="software.amazon.awssdk:codegen") public final class DeleteAgent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeleteAgent.Builder,DeleteAgent>
An object representing the agent or data collector to be deleted along with the optional configurations for error handling.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteAgent.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
agentId()
The ID of the agent or data collector to delete.
|
static DeleteAgent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
force()
Optional flag used to force delete an agent or data collector.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteAgent.Builder> |
serializableBuilderClass() |
DeleteAgent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String agentId()
The ID of the agent or data collector to delete.
public final Boolean force()
Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.
public DeleteAgent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteAgent.Builder,DeleteAgent>public static DeleteAgent.Builder builder()
public static Class<? extends DeleteAgent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.