Class ByteMatchSetSummary
- java.lang.Object
-
- com.amazonaws.services.waf.model.ByteMatchSetSummary
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ByteMatchSetSummary extends Object implements Serializable, Cloneable
Returned by ListByteMatchSets. Each
ByteMatchSetSummary
object includes theName
andByteMatchSetId
for one ByteMatchSet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByteMatchSetSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteMatchSetSummary
clone()
boolean
equals(Object obj)
String
getByteMatchSetId()
TheByteMatchSetId
for aByteMatchSet
.String
getName()
A friendly name or description of the ByteMatchSet.int
hashCode()
void
setByteMatchSetId(String byteMatchSetId)
TheByteMatchSetId
for aByteMatchSet
.void
setName(String name)
A friendly name or description of the ByteMatchSet.String
toString()
Returns a string representation of this object; useful for testing and debugging.ByteMatchSetSummary
withByteMatchSetId(String byteMatchSetId)
TheByteMatchSetId
for aByteMatchSet
.ByteMatchSetSummary
withName(String name)
A friendly name or description of the ByteMatchSet.
-
-
-
Method Detail
-
setByteMatchSetId
public void setByteMatchSetId(String byteMatchSetId)
The
ByteMatchSetId
for aByteMatchSet
. You useByteMatchSetId
to get information about aByteMatchSet
, update aByteMatchSet
, remove aByteMatchSet
from aRule
, and delete aByteMatchSet
from AWS WAF.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Parameters:
byteMatchSetId
- TheByteMatchSetId
for aByteMatchSet
. You useByteMatchSetId
to get information about aByteMatchSet
, update aByteMatchSet
, remove aByteMatchSet
from aRule
, and delete aByteMatchSet
from AWS WAF.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.
-
getByteMatchSetId
public String getByteMatchSetId()
The
ByteMatchSetId
for aByteMatchSet
. You useByteMatchSetId
to get information about aByteMatchSet
, update aByteMatchSet
, remove aByteMatchSet
from aRule
, and delete aByteMatchSet
from AWS WAF.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Returns:
- The
ByteMatchSetId
for aByteMatchSet
. You useByteMatchSetId
to get information about aByteMatchSet
, update aByteMatchSet
, remove aByteMatchSet
from aRule
, and delete aByteMatchSet
from AWS WAF.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.
-
withByteMatchSetId
public ByteMatchSetSummary withByteMatchSetId(String byteMatchSetId)
The
ByteMatchSetId
for aByteMatchSet
. You useByteMatchSetId
to get information about aByteMatchSet
, update aByteMatchSet
, remove aByteMatchSet
from aRule
, and delete aByteMatchSet
from AWS WAF.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Parameters:
byteMatchSetId
- TheByteMatchSetId
for aByteMatchSet
. You useByteMatchSetId
to get information about aByteMatchSet
, update aByteMatchSet
, remove aByteMatchSet
from aRule
, and delete aByteMatchSet
from AWS WAF.ByteMatchSetId
is returned by CreateByteMatchSet and by ListByteMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
A friendly name or description of the ByteMatchSet. You can't change
Name
after you create aByteMatchSet
.- Parameters:
name
- A friendly name or description of the ByteMatchSet. You can't changeName
after you create aByteMatchSet
.
-
getName
public String getName()
A friendly name or description of the ByteMatchSet. You can't change
Name
after you create aByteMatchSet
.- Returns:
- A friendly name or description of the ByteMatchSet. You
can't change
Name
after you create aByteMatchSet
.
-
withName
public ByteMatchSetSummary withName(String name)
A friendly name or description of the ByteMatchSet. You can't change
Name
after you create aByteMatchSet
.- Parameters:
name
- A friendly name or description of the ByteMatchSet. You can't changeName
after you create aByteMatchSet
.- 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 ByteMatchSetSummary clone()
-
-