Class OpportunitySummary
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.model.OpportunitySummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OpportunitySummary.Builder,OpportunitySummary>
@Generated("software.amazon.awssdk:codegen") public final class OpportunitySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OpportunitySummary.Builder,OpportunitySummary>
An object that contains an
Opportunity's subset of fields.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOpportunitySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) for the opportunity.static OpportunitySummary.Builderbuilder()Stringcatalog()Specifies the catalog associated with the opportunity, eitherAWSorSandbox.InstantcreatedDate()DateTimewhen theOpportunitywas last created.CustomerSummarycustomer()An object that contains theOpportunity's customer details.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()Read-only, system-generatedOpportunityunique identifier.InstantlastModifiedDate()DateTimewhen theOpportunitywas last modified.LifeCycleSummarylifeCycle()An object that contains theOpportunity's lifecycle details.OpportunityTypeopportunityType()Specifies opportunity type as a renewal, new, or expansion.StringopportunityTypeAsString()Specifies opportunity type as a renewal, new, or expansion.StringpartnerOpportunityIdentifier()Specifies theOpportunity's unique identifier in the partner's CRM system.ProjectSummaryproject()An object that contains theOpportunity's project details summary.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends OpportunitySummary.Builder>serializableBuilderClass()OpportunitySummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The Amazon Resource Name (ARN) for the opportunity. This globally unique identifier can be used for IAM policies and cross-service references.
- Returns:
- The Amazon Resource Name (ARN) for the opportunity. This globally unique identifier can be used for IAM policies and cross-service references.
-
catalog
public final String catalog()
Specifies the catalog associated with the opportunity, either
AWSorSandbox. This indicates the environment in which the opportunity is managed.- Returns:
- Specifies the catalog associated with the opportunity, either
AWSorSandbox. This indicates the environment in which the opportunity is managed.
-
createdDate
public final Instant createdDate()
DateTimewhen theOpportunitywas last created.- Returns:
DateTimewhen theOpportunitywas last created.
-
customer
public final CustomerSummary customer()
An object that contains the
Opportunity's customer details.- Returns:
- An object that contains the
Opportunity's customer details.
-
id
public final String id()
Read-only, system-generated
Opportunityunique identifier.- Returns:
- Read-only, system-generated
Opportunityunique identifier.
-
lastModifiedDate
public final Instant lastModifiedDate()
DateTimewhen theOpportunitywas last modified.- Returns:
DateTimewhen theOpportunitywas last modified.
-
lifeCycle
public final LifeCycleSummary lifeCycle()
An object that contains the
Opportunity's lifecycle details.- Returns:
- An object that contains the
Opportunity's lifecycle details.
-
opportunityType
public final 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.
If the service returns an enum value that is not available in the current SDK version,
opportunityTypewill returnOpportunityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromopportunityTypeAsString().- Returns:
- 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.
-
- See Also:
OpportunityType
-
-
opportunityTypeAsString
public final String opportunityTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
opportunityTypewill returnOpportunityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromopportunityTypeAsString().- Returns:
- 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.
-
- See Also:
OpportunityType
-
-
partnerOpportunityIdentifier
public final 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.- Returns:
- 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.
-
project
public final ProjectSummary project()
An object that contains the
Opportunity's project details summary.- Returns:
- An object that contains the
Opportunity's project details summary.
-
toBuilder
public OpportunitySummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OpportunitySummary.Builder,OpportunitySummary>
-
builder
public static OpportunitySummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends OpportunitySummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-