Interface RegisteredService.Builder

  • Method Details

    • serviceId

      RegisteredService.Builder serviceId(String serviceId)

      The unique identifier of a service.

      Parameters:
      serviceId - The unique identifier of a service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceType

      RegisteredService.Builder serviceType(String serviceType)

      The service type e.g github or dynatrace

      Parameters:
      serviceType - The service type e.g github or dynatrace
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serviceType

      RegisteredService.Builder serviceType(Service serviceType)

      The service type e.g github or dynatrace

      Parameters:
      serviceType - The service type e.g github or dynatrace
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      The display name of the registered service.

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

      RegisteredService.Builder accessibleResources(Collection<Document> accessibleResources)

      List of accessible resources for this service.

      Parameters:
      accessibleResources - List of accessible resources for this service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessibleResources

      RegisteredService.Builder accessibleResources(Document... accessibleResources)

      List of accessible resources for this service.

      Parameters:
      accessibleResources - List of accessible resources for this service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalServiceDetails

      RegisteredService.Builder additionalServiceDetails(AdditionalServiceDetails additionalServiceDetails)

      Additional details specific to the service type.

      Parameters:
      additionalServiceDetails - Additional details specific to the service type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalServiceDetails

      default RegisteredService.Builder additionalServiceDetails(Consumer<AdditionalServiceDetails.Builder> additionalServiceDetails)

      Additional details specific to the service type.

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

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

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

      RegisteredService.Builder kmsKeyArn(String kmsKeyArn)

      The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.

      Parameters:
      kmsKeyArn - The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • privateConnectionName

      RegisteredService.Builder privateConnectionName(String privateConnectionName)

      The name of the private connection used for VPC connectivity.

      Parameters:
      privateConnectionName - The name of the private connection used for VPC connectivity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.