com.amazonaws.services.elasticloadbalancing.model
Class AccessLog

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.AccessLog
All Implemented Interfaces:
java.io.Serializable

public class AccessLog
extends java.lang.Object
implements java.io.Serializable

The AccessLog data type.

See Also:
Serialized Form

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

AccessLog

public AccessLog()
Method Detail

isEnabled

public java.lang.Boolean isEnabled()
Specifies whether access log is enabled for the load balancer.

Returns:
Specifies whether access log is enabled for the load balancer.

setEnabled

public void setEnabled(java.lang.Boolean enabled)
Specifies whether access log is enabled for the load balancer.

Parameters:
enabled - Specifies whether access log is enabled for the load balancer.

withEnabled

public AccessLog withEnabled(java.lang.Boolean enabled)
Specifies whether access log is enabled for the load balancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
enabled - Specifies whether access log is enabled for the load balancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnabled

public java.lang.Boolean getEnabled()
Specifies whether access log is enabled for the load balancer.

Returns:
Specifies whether access log is enabled for the load balancer.

getS3BucketName

public java.lang.String getS3BucketName()
The name of the Amazon S3 bucket where the access logs are stored.

Returns:
The name of the Amazon S3 bucket where the access logs are stored.

setS3BucketName

public void setS3BucketName(java.lang.String s3BucketName)
The name of the Amazon S3 bucket where the access logs are stored.

Parameters:
s3BucketName - The name of the Amazon S3 bucket where the access logs are stored.

withS3BucketName

public AccessLog withS3BucketName(java.lang.String s3BucketName)
The name of the Amazon S3 bucket where the access logs are stored.

Returns a reference to this object so that method calls can be chained together.

Parameters:
s3BucketName - The name of the Amazon S3 bucket where the access logs are stored.
Returns:
A reference to this updated object so that method calls can be chained together.

getEmitInterval

public java.lang.Integer getEmitInterval()
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

Default: 60 minutes

Returns:
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

Default: 60 minutes


setEmitInterval

public void setEmitInterval(java.lang.Integer emitInterval)
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

Default: 60 minutes

Parameters:
emitInterval - The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

Default: 60 minutes


withEmitInterval

public AccessLog withEmitInterval(java.lang.Integer emitInterval)
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

Default: 60 minutes

Returns a reference to this object so that method calls can be chained together.

Parameters:
emitInterval - The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

Default: 60 minutes

Returns:
A reference to this updated object so that method calls can be chained together.

getS3BucketPrefix

public java.lang.String getS3BucketPrefix()
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.

Returns:
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.

setS3BucketPrefix

public void setS3BucketPrefix(java.lang.String 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.

Parameters:
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.

withS3BucketPrefix

public AccessLog withS3BucketPrefix(java.lang.String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.