Interface OpportunitySummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OpportunitySummary.Builder,
,OpportunitySummary> SdkBuilder<OpportunitySummary.Builder,
,OpportunitySummary> SdkPojo
- Enclosing class:
OpportunitySummary
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) for the opportunity.Specifies the catalog associated with the opportunity, eitherAWS
orSandbox
.createdDate
(Instant createdDate) DateTime
when theOpportunity
was last created.default OpportunitySummary.Builder
customer
(Consumer<CustomerSummary.Builder> customer) An object that contains theOpportunity
's customer details.customer
(CustomerSummary customer) An object that contains theOpportunity
's customer details.Read-only, system-generatedOpportunity
unique identifier.lastModifiedDate
(Instant lastModifiedDate) DateTime
when theOpportunity
was last modified.default OpportunitySummary.Builder
lifeCycle
(Consumer<LifeCycleSummary.Builder> lifeCycle) An object that contains theOpportunity
's lifecycle details.lifeCycle
(LifeCycleSummary lifeCycle) An object that contains theOpportunity
's lifecycle details.opportunityType
(String opportunityType) Specifies opportunity type as a renewal, new, or expansion.opportunityType
(OpportunityType opportunityType) Specifies opportunity type as a renewal, new, or expansion.partnerOpportunityIdentifier
(String partnerOpportunityIdentifier) Specifies theOpportunity
's unique identifier in the partner's CRM system.default OpportunitySummary.Builder
project
(Consumer<ProjectSummary.Builder> project) An object that contains theOpportunity
's project details summary.project
(ProjectSummary project) An object that contains theOpportunity
's project details summary.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
orSandbox
. This indicates the environment in which the opportunity is managed.- Parameters:
catalog
- Specifies the catalog associated with the opportunity, eitherAWS
orSandbox
. 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
DateTime
when theOpportunity
was last created.- Parameters:
createdDate
-DateTime
when theOpportunity
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 theOpportunity
's customer details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customer
An object that contains the
This is a convenience method that creates an instance of theOpportunity
's customer details.CustomerSummary.Builder
avoiding the need to create one manually viaCustomerSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomer(CustomerSummary)
.- Parameters:
customer
- a consumer that will call methods onCustomerSummary.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-generatedOpportunity
unique identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
DateTime
when theOpportunity
was last modified.- Parameters:
lastModifiedDate
-DateTime
when theOpportunity
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 theOpportunity
's lifecycle details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycle
An object that contains the
This is a convenience method that creates an instance of theOpportunity
's lifecycle details.LifeCycleSummary.Builder
avoiding the need to create one manually viaLifeCycleSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifeCycle(LifeCycleSummary)
.- Parameters:
lifeCycle
- a consumer that will call methods onLifeCycleSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theOpportunity
'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 theOpportunity
'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
This is a convenience method that creates an instance of theOpportunity
's project details summary.ProjectSummary.Builder
avoiding the need to create one manually viaProjectSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproject(ProjectSummary)
.- Parameters:
project
- a consumer that will call methods onProjectSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-