Interface Assets.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Assets.Builder,Assets>, SdkBuilder<Assets.Builder,Assets>, SdkPojo
Enclosing class:
Assets

@Mutable @NotThreadSafe public static interface Assets.Builder extends SdkPojo, CopyableBuilder<Assets.Builder,Assets>
  • Method Details

    • endpoints

      Assets.Builder endpoints(Collection<Endpoint> endpoints)

      The list of endpoints to test during the pentest.

      Parameters:
      endpoints - The list of endpoints to test during the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoints

      Assets.Builder endpoints(Endpoint... endpoints)

      The list of endpoints to test during the pentest.

      Parameters:
      endpoints - The list of endpoints to test during the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endpoints

      Assets.Builder endpoints(Consumer<Endpoint.Builder>... endpoints)

      The list of endpoints to test during the pentest.

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

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

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

      Assets.Builder actors(Collection<Actor> actors)

      The list of actors used during penetration testing.

      Parameters:
      actors - The list of actors used during penetration testing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actors

      Assets.Builder actors(Actor... actors)

      The list of actors used during penetration testing.

      Parameters:
      actors - The list of actors used during penetration testing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actors

      The list of actors used during penetration testing.

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

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

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

      Assets.Builder documents(Collection<DocumentInfo> documents)

      The list of documents that provide context for the pentest.

      Parameters:
      documents - The list of documents that provide context for the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • documents

      Assets.Builder documents(DocumentInfo... documents)

      The list of documents that provide context for the pentest.

      Parameters:
      documents - The list of documents that provide context for the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • documents

      Assets.Builder documents(Consumer<DocumentInfo.Builder>... documents)

      The list of documents that provide context for the pentest.

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

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

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

      The list of source code repositories to analyze during the pentest.

      Parameters:
      sourceCode - The list of source code repositories to analyze during the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceCode

      Assets.Builder sourceCode(SourceCodeRepository... sourceCode)

      The list of source code repositories to analyze during the pentest.

      Parameters:
      sourceCode - The list of source code repositories to analyze during the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceCode

      The list of source code repositories to analyze during the pentest.

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

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

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

      Assets.Builder integratedRepositories(Collection<IntegratedRepository> integratedRepositories)

      The list of integrated repositories associated with the pentest.

      Parameters:
      integratedRepositories - The list of integrated repositories associated with the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integratedRepositories

      Assets.Builder integratedRepositories(IntegratedRepository... integratedRepositories)

      The list of integrated repositories associated with the pentest.

      Parameters:
      integratedRepositories - The list of integrated repositories associated with the pentest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integratedRepositories

      Assets.Builder integratedRepositories(Consumer<IntegratedRepository.Builder>... integratedRepositories)

      The list of integrated repositories associated with the pentest.

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

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

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

      Assets.Builder trustedCaCertificates(Collection<TrustedCaCertificate> trustedCaCertificates)

      The trust anchors used to validate target endpoint TLS certificates. Provide these for endpoints served by a private or internal certificate authority (CA), an intermediate CA, or a self-signed certificate.

      Parameters:
      trustedCaCertificates - The trust anchors used to validate target endpoint TLS certificates. Provide these for endpoints served by a private or internal certificate authority (CA), an intermediate CA, or a self-signed certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trustedCaCertificates

      Assets.Builder trustedCaCertificates(TrustedCaCertificate... trustedCaCertificates)

      The trust anchors used to validate target endpoint TLS certificates. Provide these for endpoints served by a private or internal certificate authority (CA), an intermediate CA, or a self-signed certificate.

      Parameters:
      trustedCaCertificates - The trust anchors used to validate target endpoint TLS certificates. Provide these for endpoints served by a private or internal certificate authority (CA), an intermediate CA, or a self-signed certificate.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trustedCaCertificates

      Assets.Builder trustedCaCertificates(Consumer<TrustedCaCertificate.Builder>... trustedCaCertificates)

      The trust anchors used to validate target endpoint TLS certificates. Provide these for endpoints served by a private or internal certificate authority (CA), an intermediate CA, or a self-signed certificate.

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

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

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

      Assets.Builder clientCertificates(Collection<ClientCertificate> clientCertificates)

      The client certificates for mutual TLS (mTLS) authentication to target hosts. Each certificate is stored in Secrets Manager and scoped to specific target origins.

      Parameters:
      clientCertificates - The client certificates for mutual TLS (mTLS) authentication to target hosts. Each certificate is stored in Secrets Manager and scoped to specific target origins.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientCertificates

      Assets.Builder clientCertificates(ClientCertificate... clientCertificates)

      The client certificates for mutual TLS (mTLS) authentication to target hosts. Each certificate is stored in Secrets Manager and scoped to specific target origins.

      Parameters:
      clientCertificates - The client certificates for mutual TLS (mTLS) authentication to target hosts. Each certificate is stored in Secrets Manager and scoped to specific target origins.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientCertificates

      Assets.Builder clientCertificates(Consumer<ClientCertificate.Builder>... clientCertificates)

      The client certificates for mutual TLS (mTLS) authentication to target hosts. Each certificate is stored in Secrets Manager and scoped to specific target origins.

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

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

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