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 Modifier and Type Class Description static interfaceCreateDocumentationVersionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDocumentationVersionRequest.Builderbuilder()Stringdescription()A description about the new documentation snapshot.StringdocumentationVersion()The version identifier of the new snapshot.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrestApiId()The string identifier of the associated RestApi.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateDocumentationVersionRequest.Builder>serializableBuilderClass()StringstageName()The stage name to be associated with the new documentation snapshot.CreateDocumentationVersionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
restApiId
public final String restApiId()
The string identifier of the associated RestApi.
- Returns:
- The string identifier of the associated RestApi.
-
documentationVersion
public final String documentationVersion()
The version identifier of the new snapshot.
- Returns:
- The version identifier of the new snapshot.
-
stageName
public final String 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
public final String description()
A description about the new documentation snapshot.
- Returns:
- A description about the new documentation snapshot.
-
toBuilder
public CreateDocumentationVersionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateDocumentationVersionRequest.Builder,CreateDocumentationVersionRequest>- Specified by:
toBuilderin classApiGatewayRequest
-
builder
public static CreateDocumentationVersionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateDocumentationVersionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-