JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticloadbalancing.model

Class AccessLog

    • Constructor Detail

      • AccessLog

        public AccessLog()
    • Method Detail

      • setEnabled

        public void setEnabled(Boolean enabled)

        Specifies whether access logs are enabled for the load balancer.

        Parameters:
        enabled - Specifies whether access logs are enabled for the load balancer.
      • getEnabled

        public Boolean getEnabled()

        Specifies whether access logs are enabled for the load balancer.

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

        public AccessLog withEnabled(Boolean enabled)

        Specifies whether access logs are enabled for the load balancer.

        Parameters:
        enabled - Specifies whether access logs are enabled for the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isEnabled

        public Boolean isEnabled()

        Specifies whether access logs are enabled for the load balancer.

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

        public void setS3BucketName(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.
      • getS3BucketName

        public 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.
      • withS3BucketName

        public AccessLog withS3BucketName(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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEmitInterval

        public void setEmitInterval(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

      • getEmitInterval

        public 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

      • withEmitInterval

        public AccessLog withEmitInterval(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

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

        public void setS3BucketPrefix(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.
      • getS3BucketPrefix

        public 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.
      • withS3BucketPrefix

        public AccessLog withS3BucketPrefix(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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /