Class LifeCycle

java.lang.Object
software.amazon.awssdk.services.partnercentralselling.model.LifeCycle
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<LifeCycle.Builder,LifeCycle>

@Generated("software.amazon.awssdk:codegen") public final class LifeCycle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LifeCycle.Builder,LifeCycle>

An object that contains the Opportunity lifecycle's details.

See Also:
  • Method Details

    • closedLostReason

      public final ClosedLostReason closedLostReason()

      Specifies the reason code when an opportunity is marked as Closed Lost. When you select an appropriate reason code, you communicate the context for closing the Opportunity, and aid in accurate reports and analysis of opportunity outcomes. The possible values are:

      • Customer Deficiency: The customer lacked necessary resources or capabilities.

      • Delay/Cancellation of Project: The project was delayed or canceled.

      • Legal/Tax/Regulatory: Legal, tax, or regulatory issues prevented progress.

      • Lost to Competitor—Google: The opportunity was lost to Google.

      • Lost to Competitor—Microsoft: The opportunity was lost to Microsoft.

      • Lost to Competitor—SoftLayer: The opportunity was lost to SoftLayer.

      • Lost to Competitor—VMWare: The opportunity was lost to VMWare.

      • Lost to Competitor—Other: The opportunity was lost to a competitor not listed above.

      • No Opportunity: There was no opportunity to pursue.

      • On Premises Deployment: The customer chose an on-premises solution.

      • Partner Gap: The partner lacked necessary resources or capabilities.

      • Price: The price was not competitive or acceptable to the customer.

      • Security/Compliance: Security or compliance issues prevented progress.

      • Technical Limitations: Technical limitations prevented progress.

      • Customer Experience: Issues related to the customer's experience impacted the decision.

      • Other: Any reason not covered by the other values.

      • People/Relationship/Governance: Issues related to people, relationships, or governance.

      • Product/Technology: Issues related to the product or technology.

      • Financial/Commercial: Financial or commercial issues impacted the decision.

      If the service returns an enum value that is not available in the current SDK version, closedLostReason will return ClosedLostReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from closedLostReasonAsString().

      Returns:
      Specifies the reason code when an opportunity is marked as Closed Lost. When you select an appropriate reason code, you communicate the context for closing the Opportunity, and aid in accurate reports and analysis of opportunity outcomes. The possible values are:

      • Customer Deficiency: The customer lacked necessary resources or capabilities.

      • Delay/Cancellation of Project: The project was delayed or canceled.

      • Legal/Tax/Regulatory: Legal, tax, or regulatory issues prevented progress.

      • Lost to Competitor—Google: The opportunity was lost to Google.

      • Lost to Competitor—Microsoft: The opportunity was lost to Microsoft.

      • Lost to Competitor—SoftLayer: The opportunity was lost to SoftLayer.

      • Lost to Competitor—VMWare: The opportunity was lost to VMWare.

      • Lost to Competitor—Other: The opportunity was lost to a competitor not listed above.

      • No Opportunity: There was no opportunity to pursue.

      • On Premises Deployment: The customer chose an on-premises solution.

      • Partner Gap: The partner lacked necessary resources or capabilities.

      • Price: The price was not competitive or acceptable to the customer.

      • Security/Compliance: Security or compliance issues prevented progress.

      • Technical Limitations: Technical limitations prevented progress.

      • Customer Experience: Issues related to the customer's experience impacted the decision.

      • Other: Any reason not covered by the other values.

      • People/Relationship/Governance: Issues related to people, relationships, or governance.

      • Product/Technology: Issues related to the product or technology.

      • Financial/Commercial: Financial or commercial issues impacted the decision.

      See Also:
    • closedLostReasonAsString

      public final String closedLostReasonAsString()

      Specifies the reason code when an opportunity is marked as Closed Lost. When you select an appropriate reason code, you communicate the context for closing the Opportunity, and aid in accurate reports and analysis of opportunity outcomes. The possible values are:

      • Customer Deficiency: The customer lacked necessary resources or capabilities.

      • Delay/Cancellation of Project: The project was delayed or canceled.

      • Legal/Tax/Regulatory: Legal, tax, or regulatory issues prevented progress.

      • Lost to Competitor—Google: The opportunity was lost to Google.

      • Lost to Competitor—Microsoft: The opportunity was lost to Microsoft.

      • Lost to Competitor—SoftLayer: The opportunity was lost to SoftLayer.

      • Lost to Competitor—VMWare: The opportunity was lost to VMWare.

      • Lost to Competitor—Other: The opportunity was lost to a competitor not listed above.

      • No Opportunity: There was no opportunity to pursue.

      • On Premises Deployment: The customer chose an on-premises solution.

      • Partner Gap: The partner lacked necessary resources or capabilities.

      • Price: The price was not competitive or acceptable to the customer.

      • Security/Compliance: Security or compliance issues prevented progress.

      • Technical Limitations: Technical limitations prevented progress.

      • Customer Experience: Issues related to the customer's experience impacted the decision.

      • Other: Any reason not covered by the other values.

      • People/Relationship/Governance: Issues related to people, relationships, or governance.

      • Product/Technology: Issues related to the product or technology.

      • Financial/Commercial: Financial or commercial issues impacted the decision.

      If the service returns an enum value that is not available in the current SDK version, closedLostReason will return ClosedLostReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from closedLostReasonAsString().

      Returns:
      Specifies the reason code when an opportunity is marked as Closed Lost. When you select an appropriate reason code, you communicate the context for closing the Opportunity, and aid in accurate reports and analysis of opportunity outcomes. The possible values are:

      • Customer Deficiency: The customer lacked necessary resources or capabilities.

      • Delay/Cancellation of Project: The project was delayed or canceled.

      • Legal/Tax/Regulatory: Legal, tax, or regulatory issues prevented progress.

      • Lost to Competitor—Google: The opportunity was lost to Google.

      • Lost to Competitor—Microsoft: The opportunity was lost to Microsoft.

      • Lost to Competitor—SoftLayer: The opportunity was lost to SoftLayer.

      • Lost to Competitor—VMWare: The opportunity was lost to VMWare.

      • Lost to Competitor—Other: The opportunity was lost to a competitor not listed above.

      • No Opportunity: There was no opportunity to pursue.

      • On Premises Deployment: The customer chose an on-premises solution.

      • Partner Gap: The partner lacked necessary resources or capabilities.

      • Price: The price was not competitive or acceptable to the customer.

      • Security/Compliance: Security or compliance issues prevented progress.

      • Technical Limitations: Technical limitations prevented progress.

      • Customer Experience: Issues related to the customer's experience impacted the decision.

      • Other: Any reason not covered by the other values.

      • People/Relationship/Governance: Issues related to people, relationships, or governance.

      • Product/Technology: Issues related to the product or technology.

      • Financial/Commercial: Financial or commercial issues impacted the decision.

      See Also:
    • nextSteps

      public final String nextSteps()

      Specifies the upcoming actions or tasks for the Opportunity. Use this field to communicate with Amazon Web Services about the next actions required for the Opportunity.

      Returns:
      Specifies the upcoming actions or tasks for the Opportunity. Use this field to communicate with Amazon Web Services about the next actions required for the Opportunity.
    • hasNextStepsHistory

      public final boolean hasNextStepsHistory()
      For responses, this returns true if the service returned a value for the NextStepsHistory property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • nextStepsHistory

      public final List<NextStepsHistory> nextStepsHistory()

      Captures a chronological record of the next steps or actions planned or taken for the current opportunity, along with the timestamp.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasNextStepsHistory() method.

      Returns:
      Captures a chronological record of the next steps or actions planned or taken for the current opportunity, along with the timestamp.
    • reviewComments

      public final String reviewComments()

      Indicates why an opportunity was sent back for further details. Partners must take corrective action based on the ReviewComments.

      Returns:
      Indicates why an opportunity was sent back for further details. Partners must take corrective action based on the ReviewComments.
    • reviewStatus

      public final ReviewStatus reviewStatus()

      Indicates the review status of an opportunity referred by a partner. This field is read-only and only applicable for partner referrals. The possible values are:

      • Pending Submission: Not submitted for validation (editable).

      • Submitted: Submitted for validation, and Amazon Web Services hasn't reviewed it (read-only).

      • In Review: Amazon Web Services is validating (read-only).

      • Action Required: Issues that Amazon Web Services highlights need to be addressed. Partners should use the UpdateOpportunity API action to update the opportunity and helps to ensure that all required changes are made. Only the following fields are editable when the Lifecycle.ReviewStatus is Action Required:

        • Customer.Account.Address.City

        • Customer.Account.Address.CountryCode

        • Customer.Account.Address.PostalCode

        • Customer.Account.Address.StateOrRegion

        • Customer.Account.Address.StreetAddress

        • Customer.Account.WebsiteUrl

        • LifeCycle.TargetCloseDate

        • Project.ExpectedMonthlyAWSRevenue.Amount

        • Project.ExpectedMonthlyAWSRevenue.CurrencyCode

        • Project.CustomerBusinessProblem

        • PartnerOpportunityIdentifier

        After updates, the opportunity re-enters the validation phase. This process repeats until all issues are resolved, and the opportunity's Lifecycle.ReviewStatus is set to Approved or Rejected.

      • Approved: Validated and converted into the Amazon Web Services seller's pipeline (editable).

      • Rejected: Disqualified (read-only).

      If the service returns an enum value that is not available in the current SDK version, reviewStatus will return ReviewStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from reviewStatusAsString().

      Returns:
      Indicates the review status of an opportunity referred by a partner. This field is read-only and only applicable for partner referrals. The possible values are:

      • Pending Submission: Not submitted for validation (editable).

      • Submitted: Submitted for validation, and Amazon Web Services hasn't reviewed it (read-only).

      • In Review: Amazon Web Services is validating (read-only).

      • Action Required: Issues that Amazon Web Services highlights need to be addressed. Partners should use the UpdateOpportunity API action to update the opportunity and helps to ensure that all required changes are made. Only the following fields are editable when the Lifecycle.ReviewStatus is Action Required:

        • Customer.Account.Address.City

        • Customer.Account.Address.CountryCode

        • Customer.Account.Address.PostalCode

        • Customer.Account.Address.StateOrRegion

        • Customer.Account.Address.StreetAddress

        • Customer.Account.WebsiteUrl

        • LifeCycle.TargetCloseDate

        • Project.ExpectedMonthlyAWSRevenue.Amount

        • Project.ExpectedMonthlyAWSRevenue.CurrencyCode

        • Project.CustomerBusinessProblem

        • PartnerOpportunityIdentifier

        After updates, the opportunity re-enters the validation phase. This process repeats until all issues are resolved, and the opportunity's Lifecycle.ReviewStatus is set to Approved or Rejected.

      • Approved: Validated and converted into the Amazon Web Services seller's pipeline (editable).

      • Rejected: Disqualified (read-only).

      See Also:
    • reviewStatusAsString

      public final String reviewStatusAsString()

      Indicates the review status of an opportunity referred by a partner. This field is read-only and only applicable for partner referrals. The possible values are:

      • Pending Submission: Not submitted for validation (editable).

      • Submitted: Submitted for validation, and Amazon Web Services hasn't reviewed it (read-only).

      • In Review: Amazon Web Services is validating (read-only).

      • Action Required: Issues that Amazon Web Services highlights need to be addressed. Partners should use the UpdateOpportunity API action to update the opportunity and helps to ensure that all required changes are made. Only the following fields are editable when the Lifecycle.ReviewStatus is Action Required:

        • Customer.Account.Address.City

        • Customer.Account.Address.CountryCode

        • Customer.Account.Address.PostalCode

        • Customer.Account.Address.StateOrRegion

        • Customer.Account.Address.StreetAddress

        • Customer.Account.WebsiteUrl

        • LifeCycle.TargetCloseDate

        • Project.ExpectedMonthlyAWSRevenue.Amount

        • Project.ExpectedMonthlyAWSRevenue.CurrencyCode

        • Project.CustomerBusinessProblem

        • PartnerOpportunityIdentifier

        After updates, the opportunity re-enters the validation phase. This process repeats until all issues are resolved, and the opportunity's Lifecycle.ReviewStatus is set to Approved or Rejected.

      • Approved: Validated and converted into the Amazon Web Services seller's pipeline (editable).

      • Rejected: Disqualified (read-only).

      If the service returns an enum value that is not available in the current SDK version, reviewStatus will return ReviewStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from reviewStatusAsString().

      Returns:
      Indicates the review status of an opportunity referred by a partner. This field is read-only and only applicable for partner referrals. The possible values are:

      • Pending Submission: Not submitted for validation (editable).

      • Submitted: Submitted for validation, and Amazon Web Services hasn't reviewed it (read-only).

      • In Review: Amazon Web Services is validating (read-only).

      • Action Required: Issues that Amazon Web Services highlights need to be addressed. Partners should use the UpdateOpportunity API action to update the opportunity and helps to ensure that all required changes are made. Only the following fields are editable when the Lifecycle.ReviewStatus is Action Required:

        • Customer.Account.Address.City

        • Customer.Account.Address.CountryCode

        • Customer.Account.Address.PostalCode

        • Customer.Account.Address.StateOrRegion

        • Customer.Account.Address.StreetAddress

        • Customer.Account.WebsiteUrl

        • LifeCycle.TargetCloseDate

        • Project.ExpectedMonthlyAWSRevenue.Amount

        • Project.ExpectedMonthlyAWSRevenue.CurrencyCode

        • Project.CustomerBusinessProblem

        • PartnerOpportunityIdentifier

        After updates, the opportunity re-enters the validation phase. This process repeats until all issues are resolved, and the opportunity's Lifecycle.ReviewStatus is set to Approved or Rejected.

      • Approved: Validated and converted into the Amazon Web Services seller's pipeline (editable).

      • Rejected: Disqualified (read-only).

      See Also:
    • reviewStatusReason

      public final String reviewStatusReason()

      Indicates the reason a decision was made during the opportunity review process. This field combines the reasons for both disqualified and action required statuses, and provide clarity for why an opportunity was disqualified or requires further action.

      Returns:
      Indicates the reason a decision was made during the opportunity review process. This field combines the reasons for both disqualified and action required statuses, and provide clarity for why an opportunity was disqualified or requires further action.
    • stage

      public final Stage stage()

      Specifies the current stage of the Opportunity's lifecycle as it maps to Amazon Web Services stages from the current stage in the partner CRM. This field provides a translated value of the stage, and offers insight into the Opportunity's progression in the sales cycle, according to Amazon Web Services definitions.

      A lead and a prospect must be further matured to a Qualified opportunity before submission. Opportunities that were closed/lost before submission aren't suitable for submission.

      The descriptions of each sales stage are:

      • Prospect: Amazon Web Services identifies the opportunity. It can be active (Comes directly from the end customer through a lead) or latent (Your account team believes it exists based on research, account plans, sales plays).

      • Qualified: Your account team engaged with the customer to discuss viability and requirements. The customer agreed that the opportunity is real, of interest, and may solve business/technical needs.

      • Technical Validation: All parties understand the implementation plan.

      • Business Validation: Pricing was proposed, and all parties agree to the steps to close.

      • Committed: The customer signed the contract, but Amazon Web Services hasn't started billing.

      • Launched: The workload is complete, and Amazon Web Services has started billing.

      • Closed Lost: The opportunity is lost, and there are no steps to move forward.

      If the service returns an enum value that is not available in the current SDK version, stage will return Stage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stageAsString().

      Returns:
      Specifies the current stage of the Opportunity's lifecycle as it maps to Amazon Web Services stages from the current stage in the partner CRM. This field provides a translated value of the stage, and offers insight into the Opportunity's progression in the sales cycle, according to Amazon Web Services definitions.

      A lead and a prospect must be further matured to a Qualified opportunity before submission. Opportunities that were closed/lost before submission aren't suitable for submission.

      The descriptions of each sales stage are:

      • Prospect: Amazon Web Services identifies the opportunity. It can be active (Comes directly from the end customer through a lead) or latent (Your account team believes it exists based on research, account plans, sales plays).

      • Qualified: Your account team engaged with the customer to discuss viability and requirements. The customer agreed that the opportunity is real, of interest, and may solve business/technical needs.

      • Technical Validation: All parties understand the implementation plan.

      • Business Validation: Pricing was proposed, and all parties agree to the steps to close.

      • Committed: The customer signed the contract, but Amazon Web Services hasn't started billing.

      • Launched: The workload is complete, and Amazon Web Services has started billing.

      • Closed Lost: The opportunity is lost, and there are no steps to move forward.

      See Also:
    • stageAsString

      public final String stageAsString()

      Specifies the current stage of the Opportunity's lifecycle as it maps to Amazon Web Services stages from the current stage in the partner CRM. This field provides a translated value of the stage, and offers insight into the Opportunity's progression in the sales cycle, according to Amazon Web Services definitions.

      A lead and a prospect must be further matured to a Qualified opportunity before submission. Opportunities that were closed/lost before submission aren't suitable for submission.

      The descriptions of each sales stage are:

      • Prospect: Amazon Web Services identifies the opportunity. It can be active (Comes directly from the end customer through a lead) or latent (Your account team believes it exists based on research, account plans, sales plays).

      • Qualified: Your account team engaged with the customer to discuss viability and requirements. The customer agreed that the opportunity is real, of interest, and may solve business/technical needs.

      • Technical Validation: All parties understand the implementation plan.

      • Business Validation: Pricing was proposed, and all parties agree to the steps to close.

      • Committed: The customer signed the contract, but Amazon Web Services hasn't started billing.

      • Launched: The workload is complete, and Amazon Web Services has started billing.

      • Closed Lost: The opportunity is lost, and there are no steps to move forward.

      If the service returns an enum value that is not available in the current SDK version, stage will return Stage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stageAsString().

      Returns:
      Specifies the current stage of the Opportunity's lifecycle as it maps to Amazon Web Services stages from the current stage in the partner CRM. This field provides a translated value of the stage, and offers insight into the Opportunity's progression in the sales cycle, according to Amazon Web Services definitions.

      A lead and a prospect must be further matured to a Qualified opportunity before submission. Opportunities that were closed/lost before submission aren't suitable for submission.

      The descriptions of each sales stage are:

      • Prospect: Amazon Web Services identifies the opportunity. It can be active (Comes directly from the end customer through a lead) or latent (Your account team believes it exists based on research, account plans, sales plays).

      • Qualified: Your account team engaged with the customer to discuss viability and requirements. The customer agreed that the opportunity is real, of interest, and may solve business/technical needs.

      • Technical Validation: All parties understand the implementation plan.

      • Business Validation: Pricing was proposed, and all parties agree to the steps to close.

      • Committed: The customer signed the contract, but Amazon Web Services hasn't started billing.

      • Launched: The workload is complete, and Amazon Web Services has started billing.

      • Closed Lost: The opportunity is lost, and there are no steps to move forward.

      See Also:
    • targetCloseDate

      public final String targetCloseDate()

      Specifies the date when Amazon Web Services expects to start significant billing, when the project finishes, and when it moves into production. This field informs the Amazon Web Services seller about when the opportunity launches and starts to incur Amazon Web Services usage.

      Ensure the Target Close Date isn't in the past.

      Returns:
      Specifies the date when Amazon Web Services expects to start significant billing, when the project finishes, and when it moves into production. This field informs the Amazon Web Services seller about when the opportunity launches and starts to incur Amazon Web Services usage.

      Ensure the Target Close Date isn't in the past.

    • toBuilder

      public LifeCycle.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<LifeCycle.Builder,LifeCycle>
      Returns:
      a builder for type T
    • builder

      public static LifeCycle.Builder builder()
    • serializableBuilderClass

      public static Class<? extends LifeCycle.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.