@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsElbLoadBalancerAccessLog extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the access log configuration for the load balancer.
Constructor and Description |
---|
AwsElbLoadBalancerAccessLog() |
Modifier and Type | Method and Description |
---|---|
AwsElbLoadBalancerAccessLog |
clone() |
boolean |
equals(Object obj) |
Integer |
getEmitInterval()
The interval in minutes for publishing the access logs.
|
Boolean |
getEnabled()
Indicates whether access logs are enabled for the load balancer.
|
String |
getS3BucketName()
The name of the S3 bucket where the access logs are stored.
|
String |
getS3BucketPrefix()
The logical hierarchy that was created for the S3 bucket.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether access logs are enabled for the load balancer.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEmitInterval(Integer emitInterval)
The interval in minutes for publishing the access logs.
|
void |
setEnabled(Boolean enabled)
Indicates whether access logs are enabled for the load balancer.
|
void |
setS3BucketName(String s3BucketName)
The name of the S3 bucket where the access logs are stored.
|
void |
setS3BucketPrefix(String s3BucketPrefix)
The logical hierarchy that was created for the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
AwsElbLoadBalancerAccessLog |
withEmitInterval(Integer emitInterval)
The interval in minutes for publishing the access logs.
|
AwsElbLoadBalancerAccessLog |
withEnabled(Boolean enabled)
Indicates whether access logs are enabled for the load balancer.
|
AwsElbLoadBalancerAccessLog |
withS3BucketName(String s3BucketName)
The name of the S3 bucket where the access logs are stored.
|
AwsElbLoadBalancerAccessLog |
withS3BucketPrefix(String s3BucketPrefix)
The logical hierarchy that was created for the S3 bucket.
|
public void setEmitInterval(Integer emitInterval)
The interval in minutes for publishing the access logs.
You can publish access logs either every 5 minutes or every 60 minutes.
emitInterval
- The interval in minutes for publishing the access logs.
You can publish access logs either every 5 minutes or every 60 minutes.
public Integer getEmitInterval()
The interval in minutes for publishing the access logs.
You can publish access logs either every 5 minutes or every 60 minutes.
You can publish access logs either every 5 minutes or every 60 minutes.
public AwsElbLoadBalancerAccessLog withEmitInterval(Integer emitInterval)
The interval in minutes for publishing the access logs.
You can publish access logs either every 5 minutes or every 60 minutes.
emitInterval
- The interval in minutes for publishing the access logs.
You can publish access logs either every 5 minutes or every 60 minutes.
public void setEnabled(Boolean enabled)
Indicates whether access logs are enabled for the load balancer.
enabled
- Indicates whether access logs are enabled for the load balancer.public Boolean getEnabled()
Indicates whether access logs are enabled for the load balancer.
public AwsElbLoadBalancerAccessLog withEnabled(Boolean enabled)
Indicates whether access logs are enabled for the load balancer.
enabled
- Indicates whether access logs are enabled for the load balancer.public Boolean isEnabled()
Indicates whether access logs are enabled for the load balancer.
public void setS3BucketName(String s3BucketName)
The name of the S3 bucket where the access logs are stored.
s3BucketName
- The name of the S3 bucket where the access logs are stored.public String getS3BucketName()
The name of the S3 bucket where the access logs are stored.
public AwsElbLoadBalancerAccessLog withS3BucketName(String s3BucketName)
The name of the S3 bucket where the access logs are stored.
s3BucketName
- The name of the S3 bucket where the access logs are stored.public void setS3BucketPrefix(String s3BucketPrefix)
The logical hierarchy that was created for the S3 bucket.
If a prefix is not provided, the log is placed at the root level of the bucket.
s3BucketPrefix
- The logical hierarchy that was created for the S3 bucket.
If a prefix is not provided, the log is placed at the root level of the bucket.
public String getS3BucketPrefix()
The logical hierarchy that was created for the S3 bucket.
If a prefix is not provided, the log is placed at the root level of the bucket.
If a prefix is not provided, the log is placed at the root level of the bucket.
public AwsElbLoadBalancerAccessLog withS3BucketPrefix(String s3BucketPrefix)
The logical hierarchy that was created for the S3 bucket.
If a prefix is not provided, the log is placed at the root level of the bucket.
s3BucketPrefix
- The logical hierarchy that was created for the S3 bucket.
If a prefix is not provided, the log is placed at the root level of the bucket.
public String toString()
toString
in class Object
Object.toString()
public AwsElbLoadBalancerAccessLog clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.