Class MethodSnapshot

java.lang.Object
com.amazonaws.services.apigateway.model.MethodSnapshot
All Implemented Interfaces:
Serializable, Cloneable

public class MethodSnapshot extends Object implements Serializable, Cloneable

Represents a summary of a Method resource, given a particular date and time.

See Also:
  • Constructor Details

    • MethodSnapshot

      public MethodSnapshot()
  • Method Details

    • setAuthorizationType

      public void setAuthorizationType(String authorizationType)

      Specifies the type of authorization used for the method.

      Parameters:
      authorizationType - Specifies the type of authorization used for the method.
    • getAuthorizationType

      public String getAuthorizationType()

      Specifies the type of authorization used for the method.

      Returns:
      Specifies the type of authorization used for the method.
    • withAuthorizationType

      public MethodSnapshot withAuthorizationType(String authorizationType)

      Specifies the type of authorization used for the method.

      Parameters:
      authorizationType - Specifies the type of authorization used for the method.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setApiKeyRequired

      public void setApiKeyRequired(Boolean apiKeyRequired)

      Specifies whether the method requires a valid ApiKey.

      Parameters:
      apiKeyRequired - Specifies whether the method requires a valid ApiKey.
    • getApiKeyRequired

      public Boolean getApiKeyRequired()

      Specifies whether the method requires a valid ApiKey.

      Returns:
      Specifies whether the method requires a valid ApiKey.
    • withApiKeyRequired

      public MethodSnapshot withApiKeyRequired(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.
    • isApiKeyRequired

      public Boolean isApiKeyRequired()

      Specifies whether the method requires a valid ApiKey.

      Returns:
      Specifies whether the method requires a valid ApiKey.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public MethodSnapshot clone()
      Overrides:
      clone in class Object