@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VirtualGatewayFileAccessLog extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents an access log file.
| Constructor and Description | 
|---|
| VirtualGatewayFileAccessLog() | 
| Modifier and Type | Method and Description | 
|---|---|
| VirtualGatewayFileAccessLog | clone() | 
| boolean | equals(Object obj) | 
| LoggingFormat | getFormat()
 The specified format for the virtual gateway access logs. | 
| String | getPath()
 The file path to write access logs to. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setFormat(LoggingFormat format)
 The specified format for the virtual gateway access logs. | 
| void | setPath(String path)
 The file path to write access logs to. | 
| String | toString()Returns a string representation of this object. | 
| VirtualGatewayFileAccessLog | withFormat(LoggingFormat format)
 The specified format for the virtual gateway access logs. | 
| VirtualGatewayFileAccessLog | withPath(String path)
 The file path to write access logs to. | 
public void setFormat(LoggingFormat format)
 The specified format for the virtual gateway access logs. It can be either json_format or
 text_format.
 
format - The specified format for the virtual gateway access logs. It can be either json_format or
        text_format.public LoggingFormat getFormat()
 The specified format for the virtual gateway access logs. It can be either json_format or
 text_format.
 
json_format or
         text_format.public VirtualGatewayFileAccessLog withFormat(LoggingFormat format)
 The specified format for the virtual gateway access logs. It can be either json_format or
 text_format.
 
format - The specified format for the virtual gateway access logs. It can be either json_format or
        text_format.public void setPath(String path)
 The file path to write access logs to. You can use /dev/stdout to send access logs to standard out
 and configure your Envoy container to use a log driver, such as awslogs, to export the access logs
 to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's
 file system to write the files to disk.
 
path - The file path to write access logs to. You can use /dev/stdout to send access logs to
        standard out and configure your Envoy container to use a log driver, such as awslogs, to
        export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a
        path in the Envoy container's file system to write the files to disk.public String getPath()
 The file path to write access logs to. You can use /dev/stdout to send access logs to standard out
 and configure your Envoy container to use a log driver, such as awslogs, to export the access logs
 to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's
 file system to write the files to disk.
 
/dev/stdout to send access logs to
         standard out and configure your Envoy container to use a log driver, such as awslogs, to
         export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a
         path in the Envoy container's file system to write the files to disk.public VirtualGatewayFileAccessLog withPath(String path)
 The file path to write access logs to. You can use /dev/stdout to send access logs to standard out
 and configure your Envoy container to use a log driver, such as awslogs, to export the access logs
 to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's
 file system to write the files to disk.
 
path - The file path to write access logs to. You can use /dev/stdout to send access logs to
        standard out and configure your Envoy container to use a log driver, such as awslogs, to
        export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a
        path in the Envoy container's file system to write the files to disk.public String toString()
toString in class ObjectObject.toString()public VirtualGatewayFileAccessLog clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.