@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProtocolsListData extends Object implements Serializable, Cloneable, StructuredPojo
An Firewall Manager protocols list.
Constructor and Description |
---|
ProtocolsListData() |
Modifier and Type | Method and Description |
---|---|
ProtocolsListData |
addPreviousProtocolsListEntry(String key,
List<String> value)
Add a single PreviousProtocolsList entry
|
ProtocolsListData |
clearPreviousProtocolsListEntries()
Removes all the entries added into PreviousProtocolsList.
|
ProtocolsListData |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTime()
The time that the Firewall Manager protocols list was created.
|
Date |
getLastUpdateTime()
The time that the Firewall Manager protocols list was last updated.
|
String |
getListId()
The ID of the Firewall Manager protocols list.
|
String |
getListName()
The name of the Firewall Manager protocols list.
|
String |
getListUpdateToken()
A unique identifier for each update to the list.
|
Map<String,List<String>> |
getPreviousProtocolsList()
A map of previous version numbers to their corresponding protocol arrays.
|
List<String> |
getProtocolsList()
An array of protocols in the Firewall Manager protocols list.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTime(Date createTime)
The time that the Firewall Manager protocols list was created.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The time that the Firewall Manager protocols list was last updated.
|
void |
setListId(String listId)
The ID of the Firewall Manager protocols list.
|
void |
setListName(String listName)
The name of the Firewall Manager protocols list.
|
void |
setListUpdateToken(String listUpdateToken)
A unique identifier for each update to the list.
|
void |
setPreviousProtocolsList(Map<String,List<String>> previousProtocolsList)
A map of previous version numbers to their corresponding protocol arrays.
|
void |
setProtocolsList(Collection<String> protocolsList)
An array of protocols in the Firewall Manager protocols list.
|
String |
toString()
Returns a string representation of this object.
|
ProtocolsListData |
withCreateTime(Date createTime)
The time that the Firewall Manager protocols list was created.
|
ProtocolsListData |
withLastUpdateTime(Date lastUpdateTime)
The time that the Firewall Manager protocols list was last updated.
|
ProtocolsListData |
withListId(String listId)
The ID of the Firewall Manager protocols list.
|
ProtocolsListData |
withListName(String listName)
The name of the Firewall Manager protocols list.
|
ProtocolsListData |
withListUpdateToken(String listUpdateToken)
A unique identifier for each update to the list.
|
ProtocolsListData |
withPreviousProtocolsList(Map<String,List<String>> previousProtocolsList)
A map of previous version numbers to their corresponding protocol arrays.
|
ProtocolsListData |
withProtocolsList(Collection<String> protocolsList)
An array of protocols in the Firewall Manager protocols list.
|
ProtocolsListData |
withProtocolsList(String... protocolsList)
An array of protocols in the Firewall Manager protocols list.
|
public void setListId(String listId)
The ID of the Firewall Manager protocols list.
listId
- The ID of the Firewall Manager protocols list.public String getListId()
The ID of the Firewall Manager protocols list.
public ProtocolsListData withListId(String listId)
The ID of the Firewall Manager protocols list.
listId
- The ID of the Firewall Manager protocols list.public void setListName(String listName)
The name of the Firewall Manager protocols list.
listName
- The name of the Firewall Manager protocols list.public String getListName()
The name of the Firewall Manager protocols list.
public ProtocolsListData withListName(String listName)
The name of the Firewall Manager protocols list.
listName
- The name of the Firewall Manager protocols list.public void setListUpdateToken(String listUpdateToken)
A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.
listUpdateToken
- A unique identifier for each update to the list. When you update the list, the update token must match the
token of the current version of the application list. You can retrieve the update token by getting the
list.public String getListUpdateToken()
A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.
public ProtocolsListData withListUpdateToken(String listUpdateToken)
A unique identifier for each update to the list. When you update the list, the update token must match the token of the current version of the application list. You can retrieve the update token by getting the list.
listUpdateToken
- A unique identifier for each update to the list. When you update the list, the update token must match the
token of the current version of the application list. You can retrieve the update token by getting the
list.public void setCreateTime(Date createTime)
The time that the Firewall Manager protocols list was created.
createTime
- The time that the Firewall Manager protocols list was created.public Date getCreateTime()
The time that the Firewall Manager protocols list was created.
public ProtocolsListData withCreateTime(Date createTime)
The time that the Firewall Manager protocols list was created.
createTime
- The time that the Firewall Manager protocols list was created.public void setLastUpdateTime(Date lastUpdateTime)
The time that the Firewall Manager protocols list was last updated.
lastUpdateTime
- The time that the Firewall Manager protocols list was last updated.public Date getLastUpdateTime()
The time that the Firewall Manager protocols list was last updated.
public ProtocolsListData withLastUpdateTime(Date lastUpdateTime)
The time that the Firewall Manager protocols list was last updated.
lastUpdateTime
- The time that the Firewall Manager protocols list was last updated.public List<String> getProtocolsList()
An array of protocols in the Firewall Manager protocols list.
public void setProtocolsList(Collection<String> protocolsList)
An array of protocols in the Firewall Manager protocols list.
protocolsList
- An array of protocols in the Firewall Manager protocols list.public ProtocolsListData withProtocolsList(String... protocolsList)
An array of protocols in the Firewall Manager protocols list.
NOTE: This method appends the values to the existing list (if any). Use
setProtocolsList(java.util.Collection)
or withProtocolsList(java.util.Collection)
if you want
to override the existing values.
protocolsList
- An array of protocols in the Firewall Manager protocols list.public ProtocolsListData withProtocolsList(Collection<String> protocolsList)
An array of protocols in the Firewall Manager protocols list.
protocolsList
- An array of protocols in the Firewall Manager protocols list.public Map<String,List<String>> getPreviousProtocolsList()
A map of previous version numbers to their corresponding protocol arrays.
public void setPreviousProtocolsList(Map<String,List<String>> previousProtocolsList)
A map of previous version numbers to their corresponding protocol arrays.
previousProtocolsList
- A map of previous version numbers to their corresponding protocol arrays.public ProtocolsListData withPreviousProtocolsList(Map<String,List<String>> previousProtocolsList)
A map of previous version numbers to their corresponding protocol arrays.
previousProtocolsList
- A map of previous version numbers to their corresponding protocol arrays.public ProtocolsListData addPreviousProtocolsListEntry(String key, List<String> value)
public ProtocolsListData clearPreviousProtocolsListEntries()
public String toString()
toString
in class Object
Object.toString()
public ProtocolsListData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.