Class DeleteAgent
- java.lang.Object
-
- software.amazon.awssdk.services.applicationdiscovery.model.DeleteAgent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeleteAgent.Builder,DeleteAgent>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteAgent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagentId()The ID of the agent or data collector to delete.static DeleteAgent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Booleanforce()Optional flag used to force delete an agent or data collector.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeleteAgent.Builder>serializableBuilderClass()DeleteAgent.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
agentId
public final String agentId()
The ID of the agent or data collector to delete.
- Returns:
- The ID of the agent or data collector to delete.
-
force
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.
- Returns:
- 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.
-
toBuilder
public DeleteAgent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteAgent.Builder,DeleteAgent>
-
builder
public static DeleteAgent.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteAgent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-