Interface OpportunitySummary.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) for the opportunity. This globally unique identifier can be used for IAM policies and cross-service references.

      Parameters:
      arn - The Amazon Resource Name (ARN) for the opportunity. This globally unique identifier can be used for IAM policies and cross-service references.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • catalog

      Specifies the catalog associated with the opportunity, either AWS or Sandbox. This indicates the environment in which the opportunity is managed.

      Parameters:
      catalog - Specifies the catalog associated with the opportunity, either AWS or Sandbox . This indicates the environment in which the opportunity is managed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      OpportunitySummary.Builder createdDate(Instant createdDate)

      DateTime when the Opportunity was last created.

      Parameters:
      createdDate - DateTime when the Opportunity was last created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customer

      An object that contains the Opportunity's customer details.

      Parameters:
      customer - An object that contains the Opportunity's customer details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customer

      An object that contains the Opportunity's customer details.

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

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

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

      Read-only, system-generated Opportunity unique identifier.

      Parameters:
      id - Read-only, system-generated Opportunity unique identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedDate

      OpportunitySummary.Builder lastModifiedDate(Instant lastModifiedDate)

      DateTime when the Opportunity was last modified.

      Parameters:
      lastModifiedDate - DateTime when the Opportunity was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifeCycle

      An object that contains the Opportunity's lifecycle details.

      Parameters:
      lifeCycle - An object that contains the Opportunity's lifecycle details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lifeCycle

      An object that contains the Opportunity's lifecycle details.

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

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

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

      OpportunitySummary.Builder opportunityType(String opportunityType)

      Specifies opportunity type as a renewal, new, or expansion.

      Opportunity types:

      • New Opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

      • Renewal Opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

      • Expansion Opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

      Parameters:
      opportunityType - Specifies opportunity type as a renewal, new, or expansion.

      Opportunity types:

      • New Opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

      • Renewal Opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

      • Expansion Opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • opportunityType

      OpportunitySummary.Builder opportunityType(OpportunityType opportunityType)

      Specifies opportunity type as a renewal, new, or expansion.

      Opportunity types:

      • New Opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

      • Renewal Opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

      • Expansion Opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

      Parameters:
      opportunityType - Specifies opportunity type as a renewal, new, or expansion.

      Opportunity types:

      • New Opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

      • Renewal Opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

      • Expansion Opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • partnerOpportunityIdentifier

      OpportunitySummary.Builder partnerOpportunityIdentifier(String partnerOpportunityIdentifier)

      Specifies the Opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner. It allows partners to link an opportunity to their CRM.

      Parameters:
      partnerOpportunityIdentifier - Specifies the Opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner. It allows partners to link an opportunity to their CRM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • project

      An object that contains the Opportunity's project details summary.

      Parameters:
      project - An object that contains the Opportunity's project details summary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • project

      An object that contains the Opportunity's project details summary.

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

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

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