Class AccessLog

    • Method Detail

      • enabled

        public final Boolean enabled()

        Specifies whether access logs are enabled for the load balancer.

        Returns:
        Specifies whether access logs are enabled for the load balancer.
      • s3BucketName

        public final String s3BucketName()

        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.
      • emitInterval

        public final 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:
        The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

        Default: 60 minutes

      • s3BucketPrefix

        public final 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:
        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)