@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsApiGatewayAccessLogSettings extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about settings for logging access for the stage.
Constructor and Description |
---|
AwsApiGatewayAccessLogSettings() |
Modifier and Type | Method and Description |
---|---|
AwsApiGatewayAccessLogSettings |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationArn()
The ARN of the CloudWatch Logs log group that receives the 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 that receives the 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.
|
AwsApiGatewayAccessLogSettings |
withDestinationArn(String destinationArn)
The ARN of the CloudWatch Logs log group that receives the access logs.
|
AwsApiGatewayAccessLogSettings |
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
variables. The format must include at least $context.requestId
.public AwsApiGatewayAccessLogSettings 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 that receives the access logs.
destinationArn
- The ARN of the CloudWatch Logs log group that receives the access logs.public String getDestinationArn()
The ARN of the CloudWatch Logs log group that receives the access logs.
public AwsApiGatewayAccessLogSettings withDestinationArn(String destinationArn)
The ARN of the CloudWatch Logs log group that receives the access logs.
destinationArn
- The ARN of the CloudWatch Logs log group that receives the access logs.public String toString()
toString
in class Object
Object.toString()
public AwsApiGatewayAccessLogSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.