Interface CreateScheduledAuditRequest.Builder

    • Method Detail

      • frequency

        CreateScheduledAuditRequest.Builder frequency​(String frequency)

        How often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY or MONTHLY. The start time of each audit is determined by the system.

        Parameters:
        frequency - How often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY or MONTHLY. The start time of each audit is determined by the system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditFrequency, AuditFrequency
      • frequency

        CreateScheduledAuditRequest.Builder frequency​(AuditFrequency frequency)

        How often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY or MONTHLY. The start time of each audit is determined by the system.

        Parameters:
        frequency - How often the scheduled audit takes place, either DAILY, WEEKLY, BIWEEKLY or MONTHLY. The start time of each audit is determined by the system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuditFrequency, AuditFrequency
      • dayOfMonth

        CreateScheduledAuditRequest.Builder dayOfMonth​(String dayOfMonth)

        The day of the month on which the scheduled audit takes place. This can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to MONTHLY. If days 29 to 31 are specified, and the month doesn't have that many days, the audit takes place on the LAST day of the month.

        Parameters:
        dayOfMonth - The day of the month on which the scheduled audit takes place. This can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to MONTHLY. If days 29 to 31 are specified, and the month doesn't have that many days, the audit takes place on the LAST day of the month.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dayOfWeek

        CreateScheduledAuditRequest.Builder dayOfWeek​(String dayOfWeek)

        The day of the week on which the scheduled audit takes place, either SUN, MON, TUE, WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.

        Parameters:
        dayOfWeek - The day of the week on which the scheduled audit takes place, either SUN, MON, TUE, WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DayOfWeek, DayOfWeek
      • dayOfWeek

        CreateScheduledAuditRequest.Builder dayOfWeek​(DayOfWeek dayOfWeek)

        The day of the week on which the scheduled audit takes place, either SUN, MON, TUE, WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.

        Parameters:
        dayOfWeek - The day of the week on which the scheduled audit takes place, either SUN, MON, TUE, WED, THU, FRI, or SAT. This field is required if the frequency parameter is set to WEEKLY or BIWEEKLY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DayOfWeek, DayOfWeek
      • targetCheckNames

        CreateScheduledAuditRequest.Builder targetCheckNames​(Collection<String> targetCheckNames)

        Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)

        Parameters:
        targetCheckNames - Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • targetCheckNames

        CreateScheduledAuditRequest.Builder targetCheckNames​(String... targetCheckNames)

        Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)

        Parameters:
        targetCheckNames - Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scheduledAuditName

        CreateScheduledAuditRequest.Builder scheduledAuditName​(String scheduledAuditName)

        The name you want to give to the scheduled audit. (Max. 128 chars)

        Parameters:
        scheduledAuditName - The name you want to give to the scheduled audit. (Max. 128 chars)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateScheduledAuditRequest.Builder tags​(Collection<Tag> tags)

        Metadata that can be used to manage the scheduled audit.

        Parameters:
        tags - Metadata that can be used to manage the scheduled audit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateScheduledAuditRequest.Builder tags​(Tag... tags)

        Metadata that can be used to manage the scheduled audit.

        Parameters:
        tags - Metadata that can be used to manage the scheduled audit.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateScheduledAuditRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        Metadata that can be used to manage the scheduled audit.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)