@Generated(value="software.amazon.awssdk:codegen") public final class DeleteInventoryRequest extends SsmRequest implements ToCopyableBuilder<DeleteInventoryRequest.Builder,DeleteInventoryRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteInventoryRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteInventoryRequest.Builder |
builder() |
String |
clientToken()
User-provided idempotency token.
|
Boolean |
dryRun()
Use this option to view a summary of the deletion request without deleting any data or the data type.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest. |
int |
hashCode() |
InventorySchemaDeleteOption |
schemaDeleteOption()
Use the
SchemaDeleteOption to delete a custom inventory type (schema). |
String |
schemaDeleteOptionAsString()
Use the
SchemaDeleteOption to delete a custom inventory type (schema). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteInventoryRequest.Builder> |
serializableBuilderClass() |
DeleteInventoryRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
typeName()
The name of the custom inventory type for which you want to delete either all previously collected data, or the
inventory type itself.
|
overrideConfigurationcopypublic String typeName()
The name of the custom inventory type for which you want to delete either all previously collected data, or the inventory type itself.
public InventorySchemaDeleteOption schemaDeleteOption()
Use the SchemaDeleteOption to 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 PutInventory action for a
version greater than the disbled 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,
schemaDeleteOption will return InventorySchemaDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from schemaDeleteOptionAsString().
SchemaDeleteOption to 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
PutInventory action for a version greater than the disbled version.
DeleteSchema: This option deletes the specified custom type from the Inventory service. You can recreate the schema later, if you want.
InventorySchemaDeleteOptionpublic String schemaDeleteOptionAsString()
Use the SchemaDeleteOption to 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 PutInventory action for a
version greater than the disbled 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,
schemaDeleteOption will return InventorySchemaDeleteOption.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from schemaDeleteOptionAsString().
SchemaDeleteOption to 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
PutInventory action for a version greater than the disbled version.
DeleteSchema: This option deletes the specified custom type from the Inventory service. You can recreate the schema later, if you want.
InventorySchemaDeleteOptionpublic Boolean 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 DryRun option.
DryRun option.public String clientToken()
User-provided idempotency token.
public DeleteInventoryRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<DeleteInventoryRequest.Builder,DeleteInventoryRequest>toBuilder in class SsmRequestpublic static DeleteInventoryRequest.Builder builder()
public static Class<? extends DeleteInventoryRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.