Class GetGatewayResponsesRequest
- 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.GetGatewayResponsesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetGatewayResponsesRequest.Builder,GetGatewayResponsesRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetGatewayResponsesRequest extends ApiGatewayRequest implements ToCopyableBuilder<GetGatewayResponsesRequest.Builder,GetGatewayResponsesRequest>
Gets the GatewayResponses collection on the given RestApi. If an API developer has not added any definitions for gateway responses, the result will be the API Gateway-generated default GatewayResponses collection for the supported response types.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetGatewayResponsesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetGatewayResponsesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlimit()The maximum number of returned results per page.Stringposition()The current pagination position in the paged result set.StringrestApiId()The string identifier of the associated RestApi.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetGatewayResponsesRequest.Builder>serializableBuilderClass()GetGatewayResponsesRequest.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.
-
position
public final String position()
The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.
- Returns:
- The current pagination position in the paged result set. The GatewayResponse collection does not support pagination and the position does not apply here.
-
limit
public final Integer limit()
The maximum number of returned results per page. The default value is 25 and the maximum value is 500. The GatewayResponses collection does not support pagination and the limit does not apply here.
- Returns:
- The maximum number of returned results per page. The default value is 25 and the maximum value is 500. The GatewayResponses collection does not support pagination and the limit does not apply here.
-
toBuilder
public GetGatewayResponsesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetGatewayResponsesRequest.Builder,GetGatewayResponsesRequest>- Specified by:
toBuilderin classApiGatewayRequest
-
builder
public static GetGatewayResponsesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetGatewayResponsesRequest.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
-
-