@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 ARN of the CloudWatch Logs log group 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) |
void |
setDestinationArn(String destinationArn)
The ARN of the CloudWatch Logs log group 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; useful for testing and debugging.
|
AccessLogSettings |
withDestinationArn(String destinationArn)
The ARN of the CloudWatch Logs log group 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 ARN of the CloudWatch Logs log group to receive access logs.
destinationArn
- The ARN of the CloudWatch Logs log group to receive access logs.public String getDestinationArn()
The ARN of the CloudWatch Logs log group to receive access logs.
public AccessLogSettings withDestinationArn(String destinationArn)
The ARN of the CloudWatch Logs log group to receive access logs.
destinationArn
- The ARN of the CloudWatch Logs log group to receive access logs.public String toString()
toString
in class Object
Object.toString()
public AccessLogSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.