Class CreateDocumentationVersionRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest
software.amazon.awssdk.services.apigateway.model.CreateDocumentationVersionRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateDocumentationVersionRequest.Builder,CreateDocumentationVersionRequest>
@Generated("software.amazon.awssdk:codegen")
public final class CreateDocumentationVersionRequest
extends ApiGatewayRequest
implements ToCopyableBuilder<CreateDocumentationVersionRequest.Builder,CreateDocumentationVersionRequest>
Creates a new documentation version of a given API.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringA description about the new documentation snapshot.final StringThe version identifier of the new snapshot.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe string identifier of the associated RestApi.static Class<? extends CreateDocumentationVersionRequest.Builder>final StringThe stage name to be associated with the new documentation snapshot.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
-
restApiId
The string identifier of the associated RestApi.
- Returns:
- The string identifier of the associated RestApi.
-
documentationVersion
The version identifier of the new snapshot.
- Returns:
- The version identifier of the new snapshot.
-
stageName
The stage name to be associated with the new documentation snapshot.
- Returns:
- The stage name to be associated with the new documentation snapshot.
-
description
A description about the new documentation snapshot.
- Returns:
- A description about the new documentation snapshot.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateDocumentationVersionRequest.Builder,CreateDocumentationVersionRequest> - Specified by:
toBuilderin classApiGatewayRequest
-
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
-