@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MethodSnapshot.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
apiKeyRequired()
Specifies whether the method requires a valid ApiKey.
|
String |
authorizationType()
The method's authorization type.
|
static MethodSnapshot.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MethodSnapshot.Builder> |
serializableBuilderClass() |
MethodSnapshot.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String authorizationType()
The method's authorization type. Valid values are NONE for open access, AWS_IAM for
using AWS IAM permissions, CUSTOM for using a custom authorizer, or COGNITO_USER_POOLS
for using a Cognito user pool.
NONE for open access, AWS_IAM
for using AWS IAM permissions, CUSTOM for using a custom authorizer, or
COGNITO_USER_POOLS for using a Cognito user pool.public final Boolean apiKeyRequired()
Specifies whether the method requires a valid ApiKey.
public MethodSnapshot.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>public static MethodSnapshot.Builder builder()
public static Class<? extends MethodSnapshot.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.