Interface GetConnectorResponse.Builder

  • Method Details

    • connectorArn

      GetConnectorResponse.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.
    • connectorId

      GetConnectorResponse.Builder connectorId(String connectorId)

      The unique identifier of the connector.

      Parameters:
      connectorId - The unique identifier 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

      GetConnectorResponse.Builder description(String description)

      The description of the connector.

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

      GetConnectorResponse.Builder createdAt(Instant createdAt)

      The ISO 8601 UTC timestamp indicating when the connector was created.

      Parameters:
      createdAt - The ISO 8601 UTC timestamp indicating when the connector was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetConnectorResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The ISO 8601 UTC timestamp indicating when the connector was last updated.

      Parameters:
      lastUpdatedAt - The ISO 8601 UTC timestamp indicating when the connector was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • health

      The health status of the connector, including connectivity status and last check time.

      Parameters:
      health - The health status of the connector, including connectivity status and last check time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • health

      The health status of the connector, including connectivity status and last check time.

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

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

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

      GetConnectorResponse.Builder providerDetail(CspmProviderDetail providerDetail)

      The cloud provider configuration details for the connector.

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

      default GetConnectorResponse.Builder providerDetail(Consumer<CspmProviderDetail.Builder> providerDetail)

      The cloud provider configuration details for the connector.

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

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

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

      GetConnectorResponse.Builder createdBy(String createdBy)

      The service principal that created the connector.

      Parameters:
      createdBy - The service principal that created the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enablementStatus

      GetConnectorResponse.Builder enablementStatus(String enablementStatus)

      The enablement status of the connector.

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

      GetConnectorResponse.Builder enablementStatus(CspmEnablementStatus enablementStatus)

      The enablement status of the connector.

      Parameters:
      enablementStatus - The enablement status of the connector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: