Class UpdateIntegrationRequest

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

public class UpdateIntegrationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents an update integration request.

See Also:
  • Constructor Details

    • UpdateIntegrationRequest

      public UpdateIntegrationRequest()
  • Method Details

    • setRestApiId

      public void setRestApiId(String restApiId)

      Represents an update integration request's API identifier.

      Parameters:
      restApiId - Represents an update integration request's API identifier.
    • getRestApiId

      public String getRestApiId()

      Represents an update integration request's API identifier.

      Returns:
      Represents an update integration request's API identifier.
    • withRestApiId

      public UpdateIntegrationRequest withRestApiId(String restApiId)

      Represents an update integration request's API identifier.

      Parameters:
      restApiId - Represents an update integration request's API identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setResourceId

      public void setResourceId(String resourceId)

      Represents an update integration request's resource identifier.

      Parameters:
      resourceId - Represents an update integration request's resource identifier.
    • getResourceId

      public String getResourceId()

      Represents an update integration request's resource identifier.

      Returns:
      Represents an update integration request's resource identifier.
    • withResourceId

      public UpdateIntegrationRequest withResourceId(String resourceId)

      Represents an update integration request's resource identifier.

      Parameters:
      resourceId - Represents an update integration request's resource identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setHttpMethod

      public void setHttpMethod(String httpMethod)

      Represents an update integration request's HTTP method.

      Parameters:
      httpMethod - Represents an update integration request's HTTP method.
    • getHttpMethod

      public String getHttpMethod()

      Represents an update integration request's HTTP method.

      Returns:
      Represents an update integration request's HTTP method.
    • withHttpMethod

      public UpdateIntegrationRequest withHttpMethod(String httpMethod)

      Represents an update integration request's HTTP method.

      Parameters:
      httpMethod - Represents an update integration request's HTTP method.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getPatchOperations

      public List<PatchOperation> getPatchOperations()

      A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.

      Returns:
      A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
    • setPatchOperations

      public void setPatchOperations(Collection<PatchOperation> patchOperations)

      A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.

      Parameters:
      patchOperations - A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
    • withPatchOperations

      public UpdateIntegrationRequest withPatchOperations(PatchOperation... patchOperations)

      A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.

      NOTE: This method appends the values to the existing list (if any). Use setPatchOperations(java.util.Collection) or withPatchOperations(java.util.Collection) if you want to override the existing values.

      Parameters:
      patchOperations - A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withPatchOperations

      public UpdateIntegrationRequest withPatchOperations(Collection<PatchOperation> patchOperations)

      A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.

      Parameters:
      patchOperations - A list of operations describing the updates to apply to the specified resource. The patches are applied in the order specified in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 UpdateIntegrationRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: