@Generated(value="software.amazon.awssdk:codegen") public class MethodSnapshot extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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() |
copypublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>public static MethodSnapshot.Builder builder()
public static Class<? extends MethodSnapshot.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.