Interface CreateScheduledAuditRequest.Builder

  • Method Details

    • 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:
    • 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:
    • 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

      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

      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:
    • 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

      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

      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

      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<Tag>).

      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:
    • overrideConfiguration

      CreateScheduledAuditRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.