Interface OpportunitySummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<OpportunitySummary.Builder,OpportunitySummary>,SdkBuilder<OpportunitySummary.Builder,OpportunitySummary>,SdkPojo
- Enclosing class:
- OpportunitySummary
public static interface OpportunitySummary.Builder extends SdkPojo, CopyableBuilder<OpportunitySummary.Builder,OpportunitySummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OpportunitySummary.Builderarn(String arn)The Amazon Resource Name (ARN) for the opportunity.OpportunitySummary.Buildercatalog(String catalog)Specifies the catalog associated with the opportunity, eitherAWSorSandbox.OpportunitySummary.BuildercreatedDate(Instant createdDate)DateTimewhen theOpportunitywas last created.default OpportunitySummary.Buildercustomer(Consumer<CustomerSummary.Builder> customer)An object that contains theOpportunity's customer details.OpportunitySummary.Buildercustomer(CustomerSummary customer)An object that contains theOpportunity's customer details.OpportunitySummary.Builderid(String id)Read-only, system-generatedOpportunityunique identifier.OpportunitySummary.BuilderlastModifiedDate(Instant lastModifiedDate)DateTimewhen theOpportunitywas last modified.default OpportunitySummary.BuilderlifeCycle(Consumer<LifeCycleSummary.Builder> lifeCycle)An object that contains theOpportunity's lifecycle details.OpportunitySummary.BuilderlifeCycle(LifeCycleSummary lifeCycle)An object that contains theOpportunity's lifecycle details.OpportunitySummary.BuilderopportunityType(String opportunityType)Specifies opportunity type as a renewal, new, or expansion.OpportunitySummary.BuilderopportunityType(OpportunityType opportunityType)Specifies opportunity type as a renewal, new, or expansion.OpportunitySummary.BuilderpartnerOpportunityIdentifier(String partnerOpportunityIdentifier)Specifies theOpportunity's unique identifier in the partner's CRM system.default OpportunitySummary.Builderproject(Consumer<ProjectSummary.Builder> project)An object that contains theOpportunity's project details summary.OpportunitySummary.Builderproject(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 Detail
-
arn
OpportunitySummary.Builder arn(String 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
OpportunitySummary.Builder catalog(String catalog)
Specifies the catalog associated with the opportunity, either
AWSorSandbox. This indicates the environment in which the opportunity is managed.- Parameters:
catalog- Specifies the catalog associated with the opportunity, eitherAWSorSandbox. 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)
DateTimewhen theOpportunitywas last created.- Parameters:
createdDate-DateTimewhen theOpportunitywas last created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customer
OpportunitySummary.Builder customer(CustomerSummary 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
default OpportunitySummary.Builder customer(Consumer<CustomerSummary.Builder> customer)
An object that contains the
This is a convenience method that creates an instance of theOpportunity's customer details.CustomerSummary.Builderavoiding the need to create one manually viaCustomerSummary.builder().When the
Consumercompletes,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:
customer(CustomerSummary)
-
id
OpportunitySummary.Builder id(String id)
Read-only, system-generated
Opportunityunique identifier.- Parameters:
id- Read-only, system-generatedOpportunityunique identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
OpportunitySummary.Builder lastModifiedDate(Instant lastModifiedDate)
DateTimewhen theOpportunitywas last modified.- Parameters:
lastModifiedDate-DateTimewhen theOpportunitywas last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycle
OpportunitySummary.Builder lifeCycle(LifeCycleSummary 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
default OpportunitySummary.Builder lifeCycle(Consumer<LifeCycleSummary.Builder> lifeCycle)
An object that contains the
This is a convenience method that creates an instance of theOpportunity's lifecycle details.LifeCycleSummary.Builderavoiding the need to create one manually viaLifeCycleSummary.builder().When the
Consumercompletes,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:
lifeCycle(LifeCycleSummary)
-
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,OpportunityType
-
-
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:
OpportunityType,OpportunityType
-
-
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 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
OpportunitySummary.Builder project(ProjectSummary 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
default OpportunitySummary.Builder project(Consumer<ProjectSummary.Builder> project)
An object that contains the
This is a convenience method that creates an instance of theOpportunity's project details summary.ProjectSummary.Builderavoiding the need to create one manually viaProjectSummary.builder().When the
Consumercompletes,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:
project(ProjectSummary)
-
-