Class DeleteAgentVersionRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.bedrockagent.model.BedrockAgentRequest
software.amazon.awssdk.services.bedrockagent.model.DeleteAgentVersionRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteAgentVersionRequest.Builder,DeleteAgentVersionRequest>
@Generated("software.amazon.awssdk:codegen")
public final class DeleteAgentVersionRequest
extends BedrockAgentRequest
implements ToCopyableBuilder<DeleteAgentVersionRequest.Builder,DeleteAgentVersionRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringagentId()The unique identifier of the agent that the version belongs to.final StringThe version of the agent to delete.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends DeleteAgentVersionRequest.Builder>final BooleanBy default, this value isfalseand deletion is stopped if the resource is in use.final StringtoString()Returns a string representation of this object.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
-
agentId
The unique identifier of the agent that the version belongs to.
- Returns:
- The unique identifier of the agent that the version belongs to.
-
agentVersion
The version of the agent to delete.
- Returns:
- The version of the agent to delete.
-
skipResourceInUseCheck
By default, this value is
falseand deletion is stopped if the resource is in use. If you set it totrue, the resource will be deleted even if the resource is in use.- Returns:
- By default, this value is
falseand deletion is stopped if the resource is in use. If you set it totrue, the resource will be deleted even if the resource is in use.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteAgentVersionRequest.Builder,DeleteAgentVersionRequest> - Specified by:
toBuilderin classBedrockAgentRequest
-
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
-