Interface GetControlResponse.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the control.

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

      A list of alternative identifiers for the control. These are human-readable designators, such as SH.S3.1. Several aliases can refer to the same control across different Amazon Web Services services or compliance frameworks.

      Parameters:
      aliases - A list of alternative identifiers for the control. These are human-readable designators, such as SH.S3.1. Several aliases can refer to the same control across different Amazon Web Services services or compliance frameworks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aliases

      GetControlResponse.Builder aliases(String... aliases)

      A list of alternative identifiers for the control. These are human-readable designators, such as SH.S3.1. Several aliases can refer to the same control across different Amazon Web Services services or compliance frameworks.

      Parameters:
      aliases - A list of alternative identifiers for the control. These are human-readable designators, such as SH.S3.1. Several aliases can refer to the same control across different Amazon Web Services services or compliance frameworks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The display name of the control.

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

      GetControlResponse.Builder description(String description)

      A description of what the control does.

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

      GetControlResponse.Builder behavior(String behavior)

      A term that identifies the control's functional behavior. One of Preventive, Detective, Proactive

      Parameters:
      behavior - A term that identifies the control's functional behavior. One of Preventive, Detective, Proactive
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • behavior

      A term that identifies the control's functional behavior. One of Preventive, Detective, Proactive

      Parameters:
      behavior - A term that identifies the control's functional behavior. One of Preventive, Detective, Proactive
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severity

      GetControlResponse.Builder severity(String severity)

      An enumerated type, with the following possible values:

      Parameters:
      severity - An enumerated type, with the following possible values:
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severity

      An enumerated type, with the following possible values:

      Parameters:
      severity - An enumerated type, with the following possible values:
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • regionConfiguration

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

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

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

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

      GetControlResponse.Builder implementation(ImplementationDetails implementation)

      Returns information about the control, as an ImplementationDetails object that shows the underlying implementation type for a control.

      Parameters:
      implementation - Returns information about the control, as an ImplementationDetails object that shows the underlying implementation type for a control.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • implementation

      default GetControlResponse.Builder implementation(Consumer<ImplementationDetails.Builder> implementation)

      Returns information about the control, as an ImplementationDetails object that shows the underlying implementation type for a control.

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

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

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

      Returns an array of ControlParameter objects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.

      Parameters:
      parameters - Returns an array of ControlParameter objects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      GetControlResponse.Builder parameters(ControlParameter... parameters)

      Returns an array of ControlParameter objects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.

      Parameters:
      parameters - Returns an array of ControlParameter objects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parameters

      Returns an array of ControlParameter objects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.

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

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

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

      GetControlResponse.Builder createTime(Instant createTime)

      A timestamp that notes the time when the control was released (start of its life) as a governance capability in Amazon Web Services.

      Parameters:
      createTime - A timestamp that notes the time when the control was released (start of its life) as a governance capability in Amazon Web Services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • governedResources

      GetControlResponse.Builder governedResources(Collection<String> governedResources)

      A list of Amazon Web Services resource types that are governed by this control. This information helps you understand which controls can govern certain types of resources, and conversely, which resources are affected when the control is implemented. The resources are represented as Amazon Web Services CloudFormation resource types. If GovernedResources cannot be represented by available CloudFormation resource types, it’s returned as an empty list.

      Parameters:
      governedResources - A list of Amazon Web Services resource types that are governed by this control. This information helps you understand which controls can govern certain types of resources, and conversely, which resources are affected when the control is implemented. The resources are represented as Amazon Web Services CloudFormation resource types. If GovernedResources cannot be represented by available CloudFormation resource types, it’s returned as an empty list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • governedResources

      GetControlResponse.Builder governedResources(String... governedResources)

      A list of Amazon Web Services resource types that are governed by this control. This information helps you understand which controls can govern certain types of resources, and conversely, which resources are affected when the control is implemented. The resources are represented as Amazon Web Services CloudFormation resource types. If GovernedResources cannot be represented by available CloudFormation resource types, it’s returned as an empty list.

      Parameters:
      governedResources - A list of Amazon Web Services resource types that are governed by this control. This information helps you understand which controls can govern certain types of resources, and conversely, which resources are affected when the control is implemented. The resources are represented as Amazon Web Services CloudFormation resource types. If GovernedResources cannot be represented by available CloudFormation resource types, it’s returned as an empty list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.