Interface CreateControlRequest.Builder

  • Method Details

    • environmentArn

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

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

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

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

      CreateControlRequest.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 display name for the control.

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

      CreateControlRequest.Builder description(String description)

      A description of the control.

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

      The individual checks an assessment scores for this control. Assign each one an id that findings, assessment results, and remediation tasks reference.

      Parameters:
      requirements - The individual checks an assessment scores for this control. Assign each one an id that findings, assessment results, and remediation tasks reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requirements

      CreateControlRequest.Builder requirements(Requirement... requirements)

      The individual checks an assessment scores for this control. Assign each one an id that findings, assessment results, and remediation tasks reference.

      Parameters:
      requirements - The individual checks an assessment scores for this control. Assign each one an id that findings, assessment results, and remediation tasks reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requirements

      The individual checks an assessment scores for this control. Assign each one an id that findings, assessment results, and remediation tasks reference.

      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

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

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

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

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

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

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