Interface UpdateControlRequest.Builder

  • Method Details

    • environmentArn

      UpdateControlRequest.Builder environmentArn(String environmentArn)

      The ARN of this governance environment.

      Parameters:
      environmentArn - The ARN of this governance environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • framework

      UpdateControlRequest.Builder framework(String framework)

      The name of the compliance framework.

      Parameters:
      framework - The name of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkVersion

      UpdateControlRequest.Builder frameworkVersion(String frameworkVersion)

      The version of the compliance framework.

      Parameters:
      frameworkVersion - The version of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlId

      UpdateControlRequest.Builder controlId(String controlId)

      The control identifier. Optional. If omitted, the operation applies to the full framework.

      Parameters:
      controlId - The control identifier. Optional. If omitted, the operation applies to the full framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentControlId

      UpdateControlRequest.Builder parentControlId(String parentControlId)

      The identifier of the parent control group.

      Parameters:
      parentControlId - The identifier of the parent control group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      The new display name for the control. Omit to leave it unchanged.

      Parameters:
      title - The new display name for the control. Omit to leave it unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      UpdateControlRequest.Builder description(String description)

      The new description for the control. Omit to leave it unchanged.

      Parameters:
      description - The new description for the control. Omit to leave it unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requirements

      The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.

      Parameters:
      requirements - The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requirements

      UpdateControlRequest.Builder requirements(Requirement... requirements)

      The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.

      Parameters:
      requirements - The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requirements

      The replacement set of requirements. Supplying this replaces the control's existing requirements in full; omit to leave them unchanged.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to requirements(List<Requirement>).

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

      UpdateControlRequest.Builder displayOrder(Integer displayOrder)

      The ordering key that determines the display sequence within the framework.

      Parameters:
      displayOrder - The ordering key that determines the display sequence within the framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlIntents

      UpdateControlRequest.Builder controlIntents(Collection<String> controlIntents)

      The technical control intents that classify how an assessment evaluates this leaf control. Supplying at least one intent makes the control eligible for automated scanning. Leaf controls only.

      Parameters:
      controlIntents - The technical control intents that classify how an assessment evaluates this leaf control. Supplying at least one intent makes the control eligible for automated scanning. Leaf controls only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlIntents

      UpdateControlRequest.Builder controlIntents(String... controlIntents)

      The technical control intents that classify how an assessment evaluates this leaf control. Supplying at least one intent makes the control eligible for automated scanning. Leaf controls only.

      Parameters:
      controlIntents - The technical control intents that classify how an assessment evaluates this leaf control. Supplying at least one intent makes the control eligible for automated scanning. Leaf controls only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowType

      UpdateControlRequest.Builder workflowType(String workflowType)

      The optional evaluation workflow type. When omitted and controlIntents are present, the service defaults this to automated-scan. Leaf controls only.

      Parameters:
      workflowType - The optional evaluation workflow type. When omitted and controlIntents are present, the service defaults this to automated-scan. Leaf controls only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workflowType

      UpdateControlRequest.Builder workflowType(WorkflowType workflowType)

      The optional evaluation workflow type. When omitted and controlIntents are present, the service defaults this to automated-scan. Leaf controls only.

      Parameters:
      workflowType - The optional evaluation workflow type. When omitted and controlIntents are present, the service defaults this to automated-scan. Leaf controls only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateControlRequest.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.