Class CreateOpportunityRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest
-
- software.amazon.awssdk.services.partnercentralselling.model.CreateOpportunityRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateOpportunityRequest.Builder,CreateOpportunityRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateOpportunityRequest extends PartnerCentralSellingRequest implements ToCopyableBuilder<CreateOpportunityRequest.Builder,CreateOpportunityRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateOpportunityRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateOpportunityRequest.Builderbuilder()Stringcatalog()Specifies the catalog associated with the request.StringclientToken()Required to be unique, and should be unchanging, it can be randomly generated or a meaningful string.Customercustomer()Specifies customer details associated with theOpportunity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasOpportunityTeam()For responses, this returns true if the service returned a value for the OpportunityTeam property.booleanhasPrimaryNeedsFromAws()For responses, this returns true if the service returned a value for the PrimaryNeedsFromAws property.LifeCyclelifeCycle()An object that contains lifecycle details for theOpportunity.Marketingmarketing()This object contains marketing details and is optional for an opportunity.NationalSecuritynationalSecurity()Indicates whether theOpportunitypertains to a national security project.StringnationalSecurityAsString()Indicates whether theOpportunitypertains to a national security project.List<Contact>opportunityTeam()Represents the internal team handling the opportunity.OpportunityTypeopportunityType()Specifies the opportunity type as a renewal, new, or expansion.StringopportunityTypeAsString()Specifies the opportunity type as a renewal, new, or expansion.OpportunityOriginorigin()Specifies the origin of the opportunity, indicating if it was sourced from Amazon Web Services or the partner.StringoriginAsString()Specifies the origin of the opportunity, indicating if it was sourced from Amazon Web Services or the partner.StringpartnerOpportunityIdentifier()Specifies the opportunity's unique identifier in the partner's CRM system.List<PrimaryNeedFromAws>primaryNeedsFromAws()Identifies the type of support the partner needs from Amazon Web Services.List<String>primaryNeedsFromAwsAsStrings()Identifies the type of support the partner needs from Amazon Web Services.Projectproject()An object that contains project details for theOpportunity.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateOpportunityRequest.Builder>serializableBuilderClass()SoftwareRevenuesoftwareRevenue()Specifies details of a customer's procurement terms.CreateOpportunityRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
catalog
public final String catalog()
Specifies the catalog associated with the request. This field takes a string value from a predefined list:
AWSorSandbox. The catalog determines which environment the opportunity is created in. UseAWSto create opportunities in the Amazon Web Services catalog, andSandboxfor testing in secure, isolated environments.- Returns:
- Specifies the catalog associated with the request. This field takes a string value from a predefined
list:
AWSorSandbox. The catalog determines which environment the opportunity is created in. UseAWSto create opportunities in the Amazon Web Services catalog, andSandboxfor testing in secure, isolated environments.
-
clientToken
public final String clientToken()
Required to be unique, and should be unchanging, it can be randomly generated or a meaningful string.
Default: None
Best practice: To help ensure uniqueness and avoid conflicts, use a Universally Unique Identifier (UUID) as the
ClientToken. You can use standard libraries from most programming languages to generate this. If you use the same client token, the API returns the following error: "Conflicting client token submitted for a new request body."- Returns:
- Required to be unique, and should be unchanging, it can be randomly generated or a meaningful string.
Default: None
Best practice: To help ensure uniqueness and avoid conflicts, use a Universally Unique Identifier (UUID) as the
ClientToken. You can use standard libraries from most programming languages to generate this. If you use the same client token, the API returns the following error: "Conflicting client token submitted for a new request body."
-
customer
public final Customer customer()
Specifies customer details associated with the
Opportunity.- Returns:
- Specifies customer details associated with the
Opportunity.
-
lifeCycle
public final LifeCycle lifeCycle()
An object that contains lifecycle details for the
Opportunity.- Returns:
- An object that contains lifecycle details for the
Opportunity.
-
marketing
public final Marketing marketing()
This object contains marketing details and is optional for an opportunity.
- Returns:
- This object contains marketing details and is optional for an opportunity.
-
nationalSecurity
public final NationalSecurity nationalSecurity()
Indicates whether the
Opportunitypertains to a national security project. This field must be set totrueonly when the customer's industry is Government. Additional privacy and security measures apply during the review and management process for opportunities marked asNationalSecurity.If the service returns an enum value that is not available in the current SDK version,
nationalSecuritywill returnNationalSecurity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnationalSecurityAsString().- Returns:
- Indicates whether the
Opportunitypertains to a national security project. This field must be set totrueonly when the customer's industry is Government. Additional privacy and security measures apply during the review and management process for opportunities marked asNationalSecurity. - See Also:
NationalSecurity
-
nationalSecurityAsString
public final String nationalSecurityAsString()
Indicates whether the
Opportunitypertains to a national security project. This field must be set totrueonly when the customer's industry is Government. Additional privacy and security measures apply during the review and management process for opportunities marked asNationalSecurity.If the service returns an enum value that is not available in the current SDK version,
nationalSecuritywill returnNationalSecurity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnationalSecurityAsString().- Returns:
- Indicates whether the
Opportunitypertains to a national security project. This field must be set totrueonly when the customer's industry is Government. Additional privacy and security measures apply during the review and management process for opportunities marked asNationalSecurity. - See Also:
NationalSecurity
-
hasOpportunityTeam
public final boolean hasOpportunityTeam()
For responses, this returns true if the service returned a value for the OpportunityTeam property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
opportunityTeam
public final List<Contact> opportunityTeam()
Represents the internal team handling the opportunity. Specify collaborating members of this opportunity who are within the partner's organization.
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
hasOpportunityTeam()method.- Returns:
- Represents the internal team handling the opportunity. Specify collaborating members of this opportunity who are within the partner's organization.
-
opportunityType
public final OpportunityType opportunityType()
Specifies the 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 the 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 the 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 the 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
-
-
origin
public final OpportunityOrigin origin()
Specifies the origin of the opportunity, indicating if it was sourced from Amazon Web Services or the partner. For all opportunities created with
Catalog: AWS, this field must only bePartner Referral. However, when usingCatalog: Sandbox, you can set this field toAWS Referralto simulate Amazon Web Services referral creation. This allows Amazon Web Services-originated flows testing in the sandbox catalog.If the service returns an enum value that is not available in the current SDK version,
originwill returnOpportunityOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginAsString().- Returns:
- Specifies the origin of the opportunity, indicating if it was sourced from Amazon Web Services or the
partner. For all opportunities created with
Catalog: AWS, this field must only bePartner Referral. However, when usingCatalog: Sandbox, you can set this field toAWS Referralto simulate Amazon Web Services referral creation. This allows Amazon Web Services-originated flows testing in the sandbox catalog. - See Also:
OpportunityOrigin
-
originAsString
public final String originAsString()
Specifies the origin of the opportunity, indicating if it was sourced from Amazon Web Services or the partner. For all opportunities created with
Catalog: AWS, this field must only bePartner Referral. However, when usingCatalog: Sandbox, you can set this field toAWS Referralto simulate Amazon Web Services referral creation. This allows Amazon Web Services-originated flows testing in the sandbox catalog.If the service returns an enum value that is not available in the current SDK version,
originwill returnOpportunityOrigin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginAsString().- Returns:
- Specifies the origin of the opportunity, indicating if it was sourced from Amazon Web Services or the
partner. For all opportunities created with
Catalog: AWS, this field must only bePartner Referral. However, when usingCatalog: Sandbox, you can set this field toAWS Referralto simulate Amazon Web Services referral creation. This allows Amazon Web Services-originated flows testing in the sandbox catalog. - See Also:
OpportunityOrigin
-
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 to the partner.
This field allows partners to link an opportunity to their CRM, which helps to ensure seamless integration and accurate synchronization between the Partner Central API and the partner's internal systems.
- 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 to the partner.
This field allows partners to link an opportunity to their CRM, which helps to ensure seamless integration and accurate synchronization between the Partner Central API and the partner's internal systems.
-
primaryNeedsFromAws
public final List<PrimaryNeedFromAws> primaryNeedsFromAws()
Identifies the type of support the partner needs from Amazon Web Services.
Valid values:
-
Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.
-
Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.
-
Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.
-
Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).
-
Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.
-
Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.
-
Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).
-
Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support.
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
hasPrimaryNeedsFromAws()method.- Returns:
- Identifies the type of support the partner needs from Amazon Web Services.
Valid values:
-
Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.
-
Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.
-
Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.
-
Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).
-
Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.
-
Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.
-
Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).
-
Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support.
-
-
-
hasPrimaryNeedsFromAws
public final boolean hasPrimaryNeedsFromAws()
For responses, this returns true if the service returned a value for the PrimaryNeedsFromAws property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
primaryNeedsFromAwsAsStrings
public final List<String> primaryNeedsFromAwsAsStrings()
Identifies the type of support the partner needs from Amazon Web Services.
Valid values:
-
Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.
-
Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.
-
Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.
-
Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).
-
Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.
-
Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.
-
Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).
-
Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support.
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
hasPrimaryNeedsFromAws()method.- Returns:
- Identifies the type of support the partner needs from Amazon Web Services.
Valid values:
-
Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.
-
Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.
-
Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.
-
Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).
-
Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.
-
Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.
-
Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).
-
Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support.
-
-
-
project
public final Project project()
An object that contains project details for the
Opportunity.- Returns:
- An object that contains project details for the
Opportunity.
-
softwareRevenue
public final SoftwareRevenue softwareRevenue()
Specifies details of a customer's procurement terms. This is required only for partners in eligible programs.
- Returns:
- Specifies details of a customer's procurement terms. This is required only for partners in eligible programs.
-
toBuilder
public CreateOpportunityRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateOpportunityRequest.Builder,CreateOpportunityRequest>- Specified by:
toBuilderin classPartnerCentralSellingRequest
-
builder
public static CreateOpportunityRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateOpportunityRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-