@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkHeader extends Object implements Serializable, Cloneable, StructuredPojo
Details about a network path component that occurs before or after the current component.
| Constructor and Description | 
|---|
| NetworkHeader() | 
| Modifier and Type | Method and Description | 
|---|---|
| NetworkHeader | clone() | 
| boolean | equals(Object obj) | 
| NetworkPathComponentDetails | getDestination()
 Information about the destination of the component. | 
| String | getProtocol()
 The protocol used for the component. | 
| NetworkPathComponentDetails | getSource()
 Information about the origin of the component. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setDestination(NetworkPathComponentDetails destination)
 Information about the destination of the component. | 
| void | setProtocol(String protocol)
 The protocol used for the component. | 
| void | setSource(NetworkPathComponentDetails source)
 Information about the origin of the component. | 
| String | toString()Returns a string representation of this object. | 
| NetworkHeader | withDestination(NetworkPathComponentDetails destination)
 Information about the destination of the component. | 
| NetworkHeader | withProtocol(String protocol)
 The protocol used for the component. | 
| NetworkHeader | withSource(NetworkPathComponentDetails source)
 Information about the origin of the component. | 
public void setProtocol(String protocol)
The protocol used for the component.
Length Constraints: Minimum of 1. Maximum of 16.
protocol - The protocol used for the component.
        Length Constraints: Minimum of 1. Maximum of 16.
public String getProtocol()
The protocol used for the component.
Length Constraints: Minimum of 1. Maximum of 16.
Length Constraints: Minimum of 1. Maximum of 16.
public NetworkHeader withProtocol(String protocol)
The protocol used for the component.
Length Constraints: Minimum of 1. Maximum of 16.
protocol - The protocol used for the component.
        Length Constraints: Minimum of 1. Maximum of 16.
public void setDestination(NetworkPathComponentDetails destination)
Information about the destination of the component.
destination - Information about the destination of the component.public NetworkPathComponentDetails getDestination()
Information about the destination of the component.
public NetworkHeader withDestination(NetworkPathComponentDetails destination)
Information about the destination of the component.
destination - Information about the destination of the component.public void setSource(NetworkPathComponentDetails source)
Information about the origin of the component.
source - Information about the origin of the component.public NetworkPathComponentDetails getSource()
Information about the origin of the component.
public NetworkHeader withSource(NetworkPathComponentDetails source)
Information about the origin of the component.
source - Information about the origin of the component.public String toString()
toString in class ObjectObject.toString()public NetworkHeader clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.