@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class App extends Object implements Serializable, Cloneable, StructuredPojo
An individual Firewall Manager application.
| Constructor and Description |
|---|
App() |
| Modifier and Type | Method and Description |
|---|---|
App |
clone() |
boolean |
equals(Object obj) |
String |
getAppName()
The application's name.
|
Long |
getPort()
The application's port number, for example
80. |
String |
getProtocol()
The IP protocol name or number.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAppName(String appName)
The application's name.
|
void |
setPort(Long port)
The application's port number, for example
80. |
void |
setProtocol(String protocol)
The IP protocol name or number.
|
String |
toString()
Returns a string representation of this object.
|
App |
withAppName(String appName)
The application's name.
|
App |
withPort(Long port)
The application's port number, for example
80. |
App |
withProtocol(String protocol)
The IP protocol name or number.
|
public void setAppName(String appName)
The application's name.
appName - The application's name.public String getAppName()
The application's name.
public App withAppName(String appName)
The application's name.
appName - The application's name.public void setProtocol(String protocol)
The IP protocol name or number. The name can be one of tcp, udp, or icmp.
For information on possible numbers, see Protocol Numbers.
protocol - The IP protocol name or number. The name can be one of tcp, udp, or
icmp. For information on possible numbers, see Protocol Numbers.public String getProtocol()
The IP protocol name or number. The name can be one of tcp, udp, or icmp.
For information on possible numbers, see Protocol Numbers.
tcp, udp, or
icmp. For information on possible numbers, see Protocol Numbers.public App withProtocol(String protocol)
The IP protocol name or number. The name can be one of tcp, udp, or icmp.
For information on possible numbers, see Protocol Numbers.
protocol - The IP protocol name or number. The name can be one of tcp, udp, or
icmp. For information on possible numbers, see Protocol Numbers.public void setPort(Long port)
The application's port number, for example 80.
port - The application's port number, for example 80.public Long getPort()
The application's port number, for example 80.
80.public App withPort(Long port)
The application's port number, for example 80.
port - The application's port number, for example 80.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.