Interface MaxAgeRule.Builder

    • Method Detail

      • enabled

        MaxAgeRule.Builder enabled​(Boolean enabled)

        Specify true to apply the rule, or false to disable it.

        Parameters:
        enabled - Specify true to apply the rule, or false to disable it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxAgeInDays

        MaxAgeRule.Builder maxAgeInDays​(Integer maxAgeInDays)

        Specify the number of days to retain an application versions.

        Parameters:
        maxAgeInDays - Specify the number of days to retain an application versions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteSourceFromS3

        MaxAgeRule.Builder deleteSourceFromS3​(Boolean deleteSourceFromS3)

        Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.

        Parameters:
        deleteSourceFromS3 - Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.