public static final class CfnStreamingDistribution.LoggingProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnStreamingDistribution.LoggingProperty
CfnStreamingDistribution.LoggingProperty
CfnStreamingDistribution.LoggingProperty.Builder, CfnStreamingDistribution.LoggingProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBucket()
The Amazon S3 bucket to store the access logs in, for example, `myawslogbucket.s3.amazonaws.com` .
|
java.lang.Object |
getEnabled()
Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket.
|
java.lang.String |
getPrefix()
An optional string that you want CloudFront to prefix to the access log filenames for this streaming distribution, for example, `myprefix/` .
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getBucket()
CfnStreamingDistribution.LoggingProperty
getBucket
in interface CfnStreamingDistribution.LoggingProperty
public final java.lang.Object getEnabled()
CfnStreamingDistribution.LoggingProperty
If you don't want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false
for Enabled
, and specify empty Bucket
and Prefix
elements. If you specify false
for Enabled
but you specify values for Bucket
and Prefix
, the values are automatically deleted.
getEnabled
in interface CfnStreamingDistribution.LoggingProperty
public final java.lang.String getPrefix()
CfnStreamingDistribution.LoggingProperty
If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix
element in the Logging
element.
getPrefix
in interface CfnStreamingDistribution.LoggingProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()