Interface MethodSnapshot.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>, SdkBuilder<MethodSnapshot.Builder,MethodSnapshot>, SdkPojo
Enclosing class:
MethodSnapshot

public static interface MethodSnapshot.Builder extends SdkPojo, CopyableBuilder<MethodSnapshot.Builder,MethodSnapshot>
  • Method Details

    • authorizationType

      MethodSnapshot.Builder authorizationType(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiKeyRequired

      MethodSnapshot.Builder apiKeyRequired(Boolean apiKeyRequired)

      Specifies whether the method requires a valid ApiKey.

      Parameters:
      apiKeyRequired - Specifies whether the method requires a valid ApiKey.
      Returns:
      Returns a reference to this object so that method calls can be chained together.