Class UpdateDocumentationPartResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse
-
- software.amazon.awssdk.services.apigateway.model.UpdateDocumentationPartResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateDocumentationPartResponse.Builder,UpdateDocumentationPartResponse>
@Generated("software.amazon.awssdk:codegen") public final class UpdateDocumentationPartResponse extends ApiGatewayResponse implements ToCopyableBuilder<UpdateDocumentationPartResponse.Builder,UpdateDocumentationPartResponse>
A documentation part for a targeted API entity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateDocumentationPartResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDocumentationPartResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The DocumentationPart identifier, generated by API Gateway when theDocumentationPartis created.DocumentationPartLocationlocation()The location of the API entity to which the documentation applies.Stringproperties()A content map of API-specific key-value pairs describing the targeted API entity.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateDocumentationPartResponse.Builder>serializableBuilderClass()UpdateDocumentationPartResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.apigateway.model.ApiGatewayResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
id
public final String id()
The DocumentationPart identifier, generated by API Gateway when the
DocumentationPartis created.- Returns:
- The DocumentationPart identifier, generated by API Gateway when the
DocumentationPartis created.
-
location
public final DocumentationPartLocation location()
The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.
- Returns:
- The location of the API entity to which the documentation applies. Valid fields depend on the targeted API entity type. All the valid location fields are not required. If not explicitly specified, a valid location field is treated as a wildcard and associated documentation content may be inherited by matching entities, unless overridden.
-
properties
public final String properties()
A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded as a JSON string, e.g.,
"{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension ofx-amazon-apigateway-documentation.- Returns:
- A content map of API-specific key-value pairs describing the targeted API entity. The map must be encoded
as a JSON string, e.g.,
"{ \"description\": \"The API does ...\" }". Only OpenAPI-compliant documentation-related fields from the properties map are exported and, hence, published as part of the API entity definitions, while the original documentation parts are exported in a OpenAPI extension ofx-amazon-apigateway-documentation.
-
toBuilder
public UpdateDocumentationPartResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateDocumentationPartResponse.Builder,UpdateDocumentationPartResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UpdateDocumentationPartResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateDocumentationPartResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-