@Generated(value="software.amazon.awssdk:codegen") public final class ProtocolsListData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProtocolsListData.Builder,ProtocolsListData>
An AWS Firewall Manager protocols list.
Modifier and Type | Class and Description |
---|---|
static interface |
ProtocolsListData.Builder |
Modifier and Type | Method and Description |
---|---|
static ProtocolsListData.Builder |
builder() |
Instant |
createTime()
The time that the AWS Firewall Manager protocols list was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPreviousProtocolsList()
Returns true if the PreviousProtocolsList property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasProtocolsList()
Returns true if the ProtocolsList property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
Instant |
lastUpdateTime()
The time that the AWS Firewall Manager protocols list was last updated.
|
String |
listId()
The ID of the AWS Firewall Manager protocols list.
|
String |
listName()
The name of the AWS Firewall Manager protocols list.
|
String |
listUpdateToken()
A unique identifier for each update to the list.
|
Map<String,List<String>> |
previousProtocolsList()
A map of previous version numbers to their corresponding protocol arrays.
|
List<String> |
protocolsList()
An array of protocols in the AWS Firewall Manager protocols list.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProtocolsListData.Builder> |
serializableBuilderClass() |
ProtocolsListData.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String listId()
The ID of the AWS Firewall Manager protocols list.
public final String listName()
The name of the AWS Firewall Manager protocols list.
public final 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.
public final Instant createTime()
The time that the AWS Firewall Manager protocols list was created.
public final Instant lastUpdateTime()
The time that the AWS Firewall Manager protocols list was last updated.
public final boolean hasProtocolsList()
public final List<String> protocolsList()
An array of protocols in the AWS Firewall Manager protocols list.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProtocolsList()
to see if a value was sent in this field.
public final boolean hasPreviousProtocolsList()
public final Map<String,List<String>> previousProtocolsList()
A map of previous version numbers to their corresponding protocol arrays.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPreviousProtocolsList()
to see if a value was sent in this field.
public ProtocolsListData.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ProtocolsListData.Builder,ProtocolsListData>
public static ProtocolsListData.Builder builder()
public static Class<? extends ProtocolsListData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()