Interface Connector.Builder

  • Method Details

    • connectorArn

      Connector.Builder connectorArn(String connectorArn)

      The Amazon Resource Name (ARN) of the connector.

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

      The name of the connector.

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

      Connector.Builder description(String description)

      A description of the connector.

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

      Connector.Builder provider(String provider)

      The cloud provider for the connector.

      Parameters:
      provider - The cloud provider for the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • provider

      The cloud provider for the connector.

      Parameters:
      provider - The cloud provider for the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enablementStatus

      Connector.Builder enablementStatus(String enablementStatus)

      The enablement status of the connector, which indicates whether the connector is active and scanning resources.

      Parameters:
      enablementStatus - The enablement status of the connector, which indicates whether the connector is active and scanning resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enablementStatus

      Connector.Builder enablementStatus(EnablementStatus enablementStatus)

      The enablement status of the connector, which indicates whether the connector is active and scanning resources.

      Parameters:
      enablementStatus - The enablement status of the connector, which indicates whether the connector is active and scanning resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • enablementStatusReason

      Connector.Builder enablementStatusReason(String enablementStatusReason)

      Additional information about the current enablement status of the connector.

      Parameters:
      enablementStatusReason - Additional information about the current enablement status of the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • health

      The health of the connector, which indicates whether Amazon Inspector can reach and scan the connected resources.

      Parameters:
      health - The health of the connector, which indicates whether Amazon Inspector can reach and scan the connected resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • health

      The health of the connector, which indicates whether Amazon Inspector can reach and scan the connected resources.

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

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

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

      Connector.Builder createdAt(Instant createdAt)

      The date and time when the connector was created.

      Parameters:
      createdAt - The date and time when the connector was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      Connector.Builder updatedAt(Instant updatedAt)

      The date and time when the connector was last updated.

      Parameters:
      updatedAt - The date and time when the connector was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • azureRegions

      Connector.Builder azureRegions(Collection<String> azureRegions)

      The Azure regions configured for the connector.

      Parameters:
      azureRegions - The Azure regions configured for the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • azureRegions

      Connector.Builder azureRegions(String... azureRegions)

      The Azure regions configured for the connector.

      Parameters:
      azureRegions - The Azure regions configured for the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsConfigConnectorArn

      Connector.Builder awsConfigConnectorArn(String awsConfigConnectorArn)

      The ARN of the Amazon Web Services Config connector associated with this connector.

      Parameters:
      awsConfigConnectorArn - The ARN of the Amazon Web Services Config connector associated with this connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopeConfiguration

      Connector.Builder scopeConfiguration(AzureScopeConfiguration scopeConfiguration)

      The Azure scope configuration for the connector.

      Parameters:
      scopeConfiguration - The Azure scope configuration for the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scopeConfiguration

      default Connector.Builder scopeConfiguration(Consumer<AzureScopeConfiguration.Builder> scopeConfiguration)

      The Azure scope configuration for the connector.

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

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

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

      The tags associated with the connector.

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

      Connector.Builder autoInstallVMScanner(Boolean autoInstallVMScanner)

      Specifies whether the VM scanner is automatically installed on connected resources.

      Parameters:
      autoInstallVMScanner - Specifies whether the VM scanner is automatically installed on connected resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.