Interface CreateRuleResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>, SdkBuilder<CreateRuleResponse.Builder,CreateRuleResponse>, SdkPojo, SdkResponse.Builder, WafResponse.Builder
Enclosing class:
CreateRuleResponse

public static interface CreateRuleResponse.Builder extends WafResponse.Builder, SdkPojo, CopyableBuilder<CreateRuleResponse.Builder,CreateRuleResponse>
  • Method Details

    • rule

      The Rule returned in the CreateRule response.

      Parameters:
      rule - The Rule returned in the CreateRule response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rule

      The Rule returned in the CreateRule response.

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

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

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

      CreateRuleResponse.Builder changeToken(String changeToken)

      The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

      Parameters:
      changeToken - The ChangeToken that you used to submit the CreateRule request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
      Returns:
      Returns a reference to this object so that method calls can be chained together.