|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticloadbalancing.model.AccessLog
public class AccessLog
The AccessLog
data type.
Constructor Summary | |
---|---|
AccessLog()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getEmitInterval()
The interval for publishing the access logs. |
java.lang.Boolean |
getEnabled()
Specifies whether access log is enabled for the load balancer. |
java.lang.String |
getS3BucketName()
The name of the Amazon S3 bucket where the access logs are stored. |
java.lang.String |
getS3BucketPrefix()
The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod . |
int |
hashCode()
|
java.lang.Boolean |
isEnabled()
Specifies whether access log is enabled for the load balancer. |
void |
setEmitInterval(java.lang.Integer emitInterval)
The interval for publishing the access logs. |
void |
setEnabled(java.lang.Boolean enabled)
Specifies whether access log is enabled for the load balancer. |
void |
setS3BucketName(java.lang.String s3BucketName)
The name of the Amazon S3 bucket where the access logs are stored. |
void |
setS3BucketPrefix(java.lang.String s3BucketPrefix)
The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AccessLog |
withEmitInterval(java.lang.Integer emitInterval)
The interval for publishing the access logs. |
AccessLog |
withEnabled(java.lang.Boolean enabled)
Specifies whether access log is enabled for the load balancer. |
AccessLog |
withS3BucketName(java.lang.String s3BucketName)
The name of the Amazon S3 bucket where the access logs are stored. |
AccessLog |
withS3BucketPrefix(java.lang.String s3BucketPrefix)
The logical hierarchy you created for your Amazon S3 bucket, for example my-bucket-prefix/prod . |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AccessLog()
Method Detail |
---|
public java.lang.Boolean isEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled
- Specifies whether access log is enabled for the load balancer.public AccessLog withEnabled(java.lang.Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled
- Specifies whether access log is enabled for the load balancer.
public java.lang.Boolean getEnabled()
public java.lang.String getS3BucketName()
public void setS3BucketName(java.lang.String s3BucketName)
s3BucketName
- The name of the Amazon S3 bucket where the access logs are stored.public AccessLog withS3BucketName(java.lang.String s3BucketName)
Returns a reference to this object so that method calls can be chained together.
s3BucketName
- The name of the Amazon S3 bucket where the access logs are stored.
public java.lang.Integer getEmitInterval()
Default: 60 minutes
Default: 60 minutes
public void setEmitInterval(java.lang.Integer emitInterval)
Default: 60 minutes
emitInterval
- The interval for publishing the access logs. You can specify an
interval of either 5 minutes or 60 minutes. Default: 60 minutes
public AccessLog withEmitInterval(java.lang.Integer emitInterval)
Default: 60 minutes
Returns a reference to this object so that method calls can be chained together.
emitInterval
- The interval for publishing the access logs. You can specify an
interval of either 5 minutes or 60 minutes. Default: 60 minutes
public java.lang.String getS3BucketPrefix()
my-bucket-prefix/prod
. If the prefix is not
provided, the log is placed at the root level of the bucket.
my-bucket-prefix/prod
. If the prefix is not
provided, the log is placed at the root level of the bucket.public void setS3BucketPrefix(java.lang.String s3BucketPrefix)
my-bucket-prefix/prod
. If the prefix is not
provided, the log is placed at the root level of the bucket.
s3BucketPrefix
- The logical hierarchy you created for your Amazon S3 bucket, for
example my-bucket-prefix/prod
. If the prefix is not
provided, the log is placed at the root level of the bucket.public AccessLog withS3BucketPrefix(java.lang.String s3BucketPrefix)
my-bucket-prefix/prod
. If the prefix is not
provided, the log is placed at the root level of the bucket.
Returns a reference to this object so that method calls can be chained together.
s3BucketPrefix
- The logical hierarchy you created for your Amazon S3 bucket, for
example my-bucket-prefix/prod
. If the prefix is not
provided, the log is placed at the root level of the bucket.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |