@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessLogSettings extends Object implements Serializable, Cloneable, StructuredPojo
Access log settings, including the access log format and access log destination ARN.
| Constructor and Description |
|---|
AccessLogSettings() |
| Modifier and Type | Method and Description |
|---|---|
AccessLogSettings |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to
receive access logs.
|
String |
getFormat()
A single line format of the access logs of data, as specified by selected $context variables.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to
receive access logs.
|
void |
setFormat(String format)
A single line format of the access logs of data, as specified by selected $context variables.
|
String |
toString()
Returns a string representation of this object.
|
AccessLogSettings |
withDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to
receive access logs.
|
AccessLogSettings |
withFormat(String format)
A single line format of the access logs of data, as specified by selected $context variables.
|
public void setFormat(String format)
A single line format of the access logs of data, as specified by selected $context variables. The format must
include at least $context.requestId.
format - A single line format of the access logs of data, as specified by selected $context variables. The format
must include at least $context.requestId.public String getFormat()
A single line format of the access logs of data, as specified by selected $context variables. The format must
include at least $context.requestId.
$context.requestId.public AccessLogSettings withFormat(String format)
A single line format of the access logs of data, as specified by selected $context variables. The format must
include at least $context.requestId.
format - A single line format of the access logs of data, as specified by selected $context variables. The format
must include at least $context.requestId.public void setDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to
receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with
amazon-apigateway-.
destinationArn - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream
to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin
with amazon-apigateway-.public String getDestinationArn()
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to
receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with
amazon-apigateway-.
amazon-apigateway-.public AccessLogSettings withDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream to
receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin with
amazon-apigateway-.
destinationArn - The Amazon Resource Name (ARN) of the CloudWatch Logs log group or Kinesis Data Firehose delivery stream
to receive access logs. If you specify a Kinesis Data Firehose delivery stream, the stream name must begin
with amazon-apigateway-.public String toString()
toString in class ObjectObject.toString()public AccessLogSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.