Class UpdateByteMatchSetRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.waf.model.UpdateByteMatchSetRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class UpdateByteMatchSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateByteMatchSetRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateByteMatchSetRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getByteMatchSetId()
TheByteMatchSetId
of the ByteMatchSet that you want to update.String
getChangeToken()
The value returned by the most recent call to GetChangeToken.List<ByteMatchSetUpdate>
getUpdates()
An array ofByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet.int
hashCode()
void
setByteMatchSetId(String byteMatchSetId)
TheByteMatchSetId
of the ByteMatchSet that you want to update.void
setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.void
setUpdates(Collection<ByteMatchSetUpdate> updates)
An array ofByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateByteMatchSetRequest
withByteMatchSetId(String byteMatchSetId)
TheByteMatchSetId
of the ByteMatchSet that you want to update.UpdateByteMatchSetRequest
withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.UpdateByteMatchSetRequest
withUpdates(ByteMatchSetUpdate... updates)
An array ofByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet.UpdateByteMatchSetRequest
withUpdates(Collection<ByteMatchSetUpdate> updates)
An array ofByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet.-
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
-
setByteMatchSetId
public void setByteMatchSetId(String byteMatchSetId)
The
ByteMatchSetId
of the ByteMatchSet that you want to update.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Parameters:
byteMatchSetId
- TheByteMatchSetId
of the ByteMatchSet that you want to update.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.
-
getByteMatchSetId
public String getByteMatchSetId()
The
ByteMatchSetId
of the ByteMatchSet that you want to update.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Returns:
- The
ByteMatchSetId
of the ByteMatchSet that you want to update.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.
-
withByteMatchSetId
public UpdateByteMatchSetRequest withByteMatchSetId(String byteMatchSetId)
The
ByteMatchSetId
of the ByteMatchSet that you want to update.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Parameters:
byteMatchSetId
- TheByteMatchSetId
of the ByteMatchSet that you want to update.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChangeToken
public void setChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.
-
getChangeToken
public String getChangeToken()
The value returned by the most recent call to GetChangeToken.
- Returns:
- The value returned by the most recent call to GetChangeToken.
-
withChangeToken
public UpdateByteMatchSetRequest withChangeToken(String changeToken)
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUpdates
public List<ByteMatchSetUpdate> getUpdates()
An array of
ByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:- ByteMatchSetUpdate: Contains
Action
andByteMatchTuple
- ByteMatchTuple: Contains
FieldToMatch
,PositionalConstraint
,TargetString
, andTextTransformation
- FieldToMatch: Contains
Data
andType
- Returns:
- An array of
ByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:- ByteMatchSetUpdate: Contains
Action
andByteMatchTuple
- ByteMatchTuple: Contains
FieldToMatch
,PositionalConstraint
,TargetString
, andTextTransformation
- FieldToMatch: Contains
Data
andType
- ByteMatchSetUpdate: Contains
- ByteMatchSetUpdate: Contains
-
setUpdates
public void setUpdates(Collection<ByteMatchSetUpdate> updates)
An array of
ByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:- ByteMatchSetUpdate: Contains
Action
andByteMatchTuple
- ByteMatchTuple: Contains
FieldToMatch
,PositionalConstraint
,TargetString
, andTextTransformation
- FieldToMatch: Contains
Data
andType
- Parameters:
updates
- An array ofByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:- ByteMatchSetUpdate: Contains
Action
andByteMatchTuple
- ByteMatchTuple: Contains
FieldToMatch
,PositionalConstraint
,TargetString
, andTextTransformation
- FieldToMatch: Contains
Data
andType
- ByteMatchSetUpdate: Contains
- ByteMatchSetUpdate: Contains
-
withUpdates
public UpdateByteMatchSetRequest withUpdates(ByteMatchSetUpdate... updates)
An array of
ByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:- ByteMatchSetUpdate: Contains
Action
andByteMatchTuple
- ByteMatchTuple: Contains
FieldToMatch
,PositionalConstraint
,TargetString
, andTextTransformation
- FieldToMatch: Contains
Data
andType
NOTE: This method appends the values to the existing list (if any). Use
setUpdates(java.util.Collection)
orwithUpdates(java.util.Collection)
if you want to override the existing values.- Parameters:
updates
- An array ofByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:- ByteMatchSetUpdate: Contains
Action
andByteMatchTuple
- ByteMatchTuple: Contains
FieldToMatch
,PositionalConstraint
,TargetString
, andTextTransformation
- FieldToMatch: Contains
Data
andType
- ByteMatchSetUpdate: Contains
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- ByteMatchSetUpdate: Contains
-
withUpdates
public UpdateByteMatchSetRequest withUpdates(Collection<ByteMatchSetUpdate> updates)
An array of
ByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:- ByteMatchSetUpdate: Contains
Action
andByteMatchTuple
- ByteMatchTuple: Contains
FieldToMatch
,PositionalConstraint
,TargetString
, andTextTransformation
- FieldToMatch: Contains
Data
andType
- Parameters:
updates
- An array ofByteMatchSetUpdate
objects that you want to insert into or delete from a ByteMatchSet. For more information, see the applicable data types:- ByteMatchSetUpdate: Contains
Action
andByteMatchTuple
- ByteMatchTuple: Contains
FieldToMatch
,PositionalConstraint
,TargetString
, andTextTransformation
- FieldToMatch: Contains
Data
andType
- ByteMatchSetUpdate: Contains
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- ByteMatchSetUpdate: Contains
-
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 UpdateByteMatchSetRequest 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()
-
-