@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessLogSettings extends Object implements Serializable, Cloneable, StructuredPojo
Settings for logging access in a stage.
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)
Marshalls this structured data using the given
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.
|
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 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 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.
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 String toString()
toString
in class Object
Object.toString()
public AccessLogSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.