Interface GetAutomationRuleResponse.Builder

  • Method Details

    • ruleArn

      The Amazon Resource Name (ARN) of the automation rule.

      Parameters:
      ruleArn - The Amazon Resource Name (ARN) of the automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleId

      The unique identifier of the automation rule.

      Parameters:
      ruleId - The unique identifier of the automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the automation rule.

      Parameters:
      name - The name of the automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetAutomationRuleResponse.Builder description(String description)

      A description of the automation rule.

      Parameters:
      description - A description of the automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleType

      The type of automation rule.

      Parameters:
      ruleType - The type of automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ruleType

      The type of automation rule.

      Parameters:
      ruleType - The type of automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ruleRevision

      GetAutomationRuleResponse.Builder ruleRevision(Long ruleRevision)

      The revision number of the automation rule.

      Parameters:
      ruleRevision - The revision number of the automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      The 12-digit Amazon Web Services account ID that owns this automation rule.

      Parameters:
      accountId - The 12-digit Amazon Web Services account ID that owns this automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationConfiguration

      GetAutomationRuleResponse.Builder organizationConfiguration(OrganizationConfiguration organizationConfiguration)
      Sets the value of the OrganizationConfiguration property for this object.
      Parameters:
      organizationConfiguration - The new value for the OrganizationConfiguration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationConfiguration

      default GetAutomationRuleResponse.Builder organizationConfiguration(Consumer<OrganizationConfiguration.Builder> organizationConfiguration)
      Sets the value of the OrganizationConfiguration property for this object. This is a convenience method that creates an instance of the OrganizationConfiguration.Builder avoiding the need to create one manually via OrganizationConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to organizationConfiguration(OrganizationConfiguration).

      Parameters:
      organizationConfiguration - a consumer that will call methods on OrganizationConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • priority

      A string representation of a decimal number between 0 and 1 (having up to 30 digits after the decimal point) that determines the priority of the rule.

      Parameters:
      priority - A string representation of a decimal number between 0 and 1 (having up to 30 digits after the decimal point) that determines the priority of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedActionTypesWithStrings

      GetAutomationRuleResponse.Builder recommendedActionTypesWithStrings(Collection<String> recommendedActionTypes)

      List of recommended action types that this rule can execute.

      Parameters:
      recommendedActionTypes - List of recommended action types that this rule can execute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedActionTypesWithStrings

      GetAutomationRuleResponse.Builder recommendedActionTypesWithStrings(String... recommendedActionTypes)

      List of recommended action types that this rule can execute.

      Parameters:
      recommendedActionTypes - List of recommended action types that this rule can execute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedActionTypes

      GetAutomationRuleResponse.Builder recommendedActionTypes(Collection<RecommendedActionType> recommendedActionTypes)

      List of recommended action types that this rule can execute.

      Parameters:
      recommendedActionTypes - List of recommended action types that this rule can execute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recommendedActionTypes

      GetAutomationRuleResponse.Builder recommendedActionTypes(RecommendedActionType... recommendedActionTypes)

      List of recommended action types that this rule can execute.

      Parameters:
      recommendedActionTypes - List of recommended action types that this rule can execute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • criteria

      Sets the value of the Criteria property for this object.
      Parameters:
      criteria - The new value for the Criteria property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • criteria

      Sets the value of the Criteria property for this object. This is a convenience method that creates an instance of the Criteria.Builder avoiding the need to create one manually via Criteria.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to criteria(Criteria).

      Parameters:
      criteria - a consumer that will call methods on Criteria.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • schedule

      Sets the value of the Schedule property for this object.
      Parameters:
      schedule - The new value for the Schedule property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schedule

      Sets the value of the Schedule property for this object. This is a convenience method that creates an instance of the Schedule.Builder avoiding the need to create one manually via Schedule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to schedule(Schedule).

      Parameters:
      schedule - a consumer that will call methods on Schedule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the automation rule (Active or Inactive).

      Parameters:
      status - The current status of the automation rule (Active or Inactive).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the automation rule (Active or Inactive).

      Parameters:
      status - The current status of the automation rule (Active or Inactive).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags associated with the automation rule.

      Parameters:
      tags - The tags associated with the automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the automation rule.

      Parameters:
      tags - The tags associated with the automation rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the automation rule.

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

      GetAutomationRuleResponse.Builder createdTimestamp(Instant createdTimestamp)

      The timestamp when the automation rule was created.

      Parameters:
      createdTimestamp - The timestamp when the automation rule was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTimestamp

      GetAutomationRuleResponse.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)

      The timestamp when the automation rule was last updated.

      Parameters:
      lastUpdatedTimestamp - The timestamp when the automation rule was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.