Class DeleteInventoryRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteInventoryRequest.Builder,DeleteInventoryRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringUser-provided idempotency token.final BooleandryRun()Use this option to view a summary of the deletion request without deleting any data or the data type.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()Use theSchemaDeleteOptionto delete a custom inventory type (schema).final StringUse theSchemaDeleteOptionto delete a custom inventory type (schema).static Class<? extends DeleteInventoryRequest.Builder>final StringtoString()Returns a string representation of this object.final StringtypeName()The name of the custom inventory type for which you want to delete either all previously collected data or the inventory type itself.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
typeName
The name of the custom inventory type for which you want to delete either all previously collected data or the inventory type itself.
- Returns:
- The name of the custom inventory type for which you want to delete either all previously collected data or the inventory type itself.
-
schemaDeleteOption
Use the
SchemaDeleteOptionto delete a custom inventory type (schema). If you don't choose this option, the system only deletes existing inventory data associated with the custom inventory type. Choose one of the following options:DisableSchema: If you choose this option, the system ignores all inventory data for the specified version, and any earlier versions. To enable this schema again, you must call the
PutInventoryoperation for a version greater than the disabled version.DeleteSchema: This option deletes the specified custom type from the Inventory service. You can recreate the schema later, if you want.
If the service returns an enum value that is not available in the current SDK version,
schemaDeleteOptionwill returnInventorySchemaDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromschemaDeleteOptionAsString().- Returns:
- Use the
SchemaDeleteOptionto delete a custom inventory type (schema). If you don't choose this option, the system only deletes existing inventory data associated with the custom inventory type. Choose one of the following options:DisableSchema: If you choose this option, the system ignores all inventory data for the specified version, and any earlier versions. To enable this schema again, you must call the
PutInventoryoperation for a version greater than the disabled version.DeleteSchema: This option deletes the specified custom type from the Inventory service. You can recreate the schema later, if you want.
- See Also:
-
schemaDeleteOptionAsString
Use the
SchemaDeleteOptionto delete a custom inventory type (schema). If you don't choose this option, the system only deletes existing inventory data associated with the custom inventory type. Choose one of the following options:DisableSchema: If you choose this option, the system ignores all inventory data for the specified version, and any earlier versions. To enable this schema again, you must call the
PutInventoryoperation for a version greater than the disabled version.DeleteSchema: This option deletes the specified custom type from the Inventory service. You can recreate the schema later, if you want.
If the service returns an enum value that is not available in the current SDK version,
schemaDeleteOptionwill returnInventorySchemaDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromschemaDeleteOptionAsString().- Returns:
- Use the
SchemaDeleteOptionto delete a custom inventory type (schema). If you don't choose this option, the system only deletes existing inventory data associated with the custom inventory type. Choose one of the following options:DisableSchema: If you choose this option, the system ignores all inventory data for the specified version, and any earlier versions. To enable this schema again, you must call the
PutInventoryoperation for a version greater than the disabled version.DeleteSchema: This option deletes the specified custom type from the Inventory service. You can recreate the schema later, if you want.
- See Also:
-
dryRun
Use this option to view a summary of the deletion request without deleting any data or the data type. This option is useful when you only want to understand what will be deleted. Once you validate that the data to be deleted is what you intend to delete, you can run the same command without specifying the
DryRunoption.- Returns:
- Use this option to view a summary of the deletion request without deleting any data or the data type.
This option is useful when you only want to understand what will be deleted. Once you validate that the
data to be deleted is what you intend to delete, you can run the same command without specifying the
DryRunoption.
-
clientToken
User-provided idempotency token.
- Returns:
- User-provided idempotency token.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteInventoryRequest.Builder,DeleteInventoryRequest> - Specified by:
toBuilderin classSsmRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-