@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MethodSnapshot.Builder> |
serializableBuilderClass() |
MethodSnapshot.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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 Boolean apiKeyRequired()
Specifies whether the method requires a valid ApiKey.
public MethodSnapshot.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>
public static MethodSnapshot.Builder builder()
public static Class<? extends MethodSnapshot.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.