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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateIntegrationRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateIntegrationRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getHttpMethod()
Represents an update integration request's HTTP method.List<PatchOperation>
getPatchOperations()
A list of operations describing the updates to apply to the specified resource.String
getResourceId()
Represents an update integration request's resource identifier.String
getRestApiId()
Represents an update integration request's API identifier.int
hashCode()
void
setHttpMethod(String httpMethod)
Represents an update integration request's HTTP method.void
setPatchOperations(Collection<PatchOperation> patchOperations)
A list of operations describing the updates to apply to the specified resource.void
setResourceId(String resourceId)
Represents an update integration request's resource identifier.void
setRestApiId(String restApiId)
Represents an update integration request's API identifier.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateIntegrationRequest
withHttpMethod(String httpMethod)
Represents an update integration request's HTTP method.UpdateIntegrationRequest
withPatchOperations(PatchOperation... patchOperations)
A list of operations describing the updates to apply to the specified resource.UpdateIntegrationRequest
withPatchOperations(Collection<PatchOperation> patchOperations)
A list of operations describing the updates to apply to the specified resource.UpdateIntegrationRequest
withResourceId(String resourceId)
Represents an update integration request's resource identifier.UpdateIntegrationRequest
withRestApiId(String restApiId)
Represents an update integration request's API identifier.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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)
orwithPatchOperations(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-