Class MethodSnapshot
- java.lang.Object
-
- software.amazon.awssdk.services.apigateway.model.MethodSnapshot
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>
@Generated("software.amazon.awssdk:codegen") public final class MethodSnapshot extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>
Represents a summary of a Method resource, given a particular date and time.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMethodSnapshot.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanapiKeyRequired()Specifies whether the method requires a valid ApiKey.StringauthorizationType()The method's authorization type.static MethodSnapshot.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MethodSnapshot.Builder>serializableBuilderClass()MethodSnapshot.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
authorizationType
public final String authorizationType()
The method's authorization type. Valid values are
NONEfor open access,AWS_IAMfor using AWS IAM permissions,CUSTOMfor using a custom authorizer, orCOGNITO_USER_POOLSfor using a Cognito user pool.- Returns:
- The method's authorization type. Valid values are
NONEfor open access,AWS_IAMfor using AWS IAM permissions,CUSTOMfor using a custom authorizer, orCOGNITO_USER_POOLSfor using a Cognito user pool.
-
apiKeyRequired
public final Boolean apiKeyRequired()
Specifies whether the method requires a valid ApiKey.
- Returns:
- Specifies whether the method requires a valid ApiKey.
-
toBuilder
public MethodSnapshot.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>
-
builder
public static MethodSnapshot.Builder builder()
-
serializableBuilderClass
public static Class<? extends MethodSnapshot.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-