Class AssociateOpportunityRequest
- 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.AssociateOpportunityRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateOpportunityRequest.Builder,AssociateOpportunityRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssociateOpportunityRequest extends PartnerCentralSellingRequest implements ToCopyableBuilder<AssociateOpportunityRequest.Builder,AssociateOpportunityRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociateOpportunityRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociateOpportunityRequest.Builderbuilder()Stringcatalog()Specifies the catalog associated with the request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringopportunityIdentifier()Requires theOpportunity's unique identifier when you want to associate it with a related entity.StringrelatedEntityIdentifier()Requires the related entity's unique identifier when you want to associate it with theOpportunity.RelatedEntityTyperelatedEntityType()Specifies the entity type that you're associating with theOpportunity.StringrelatedEntityTypeAsString()Specifies the entity type that you're associating with theOpportunity.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AssociateOpportunityRequest.Builder>serializableBuilderClass()AssociateOpportunityRequest.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 association is made in. UseAWSto associate 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 association is made in. UseAWSto associate opportunities in the Amazon Web Services catalog, andSandboxfor testing in secure, isolated environments.
-
opportunityIdentifier
public final String opportunityIdentifier()
Requires the
Opportunity's unique identifier when you want to associate it with a related entity. Provide the correct identifier so the intended opportunity is updated with the association.- Returns:
- Requires the
Opportunity's unique identifier when you want to associate it with a related entity. Provide the correct identifier so the intended opportunity is updated with the association.
-
relatedEntityIdentifier
public final String relatedEntityIdentifier()
Requires the related entity's unique identifier when you want to associate it with the
Opportunity. For Amazon Web Services Marketplace entities, provide the Amazon Resource Name (ARN). Use the Amazon Web Services Marketplace API to obtain the ARN.- Returns:
- Requires the related entity's unique identifier when you want to associate it with the
Opportunity. For Amazon Web Services Marketplace entities, provide the Amazon Resource Name (ARN). Use the Amazon Web Services Marketplace API to obtain the ARN.
-
relatedEntityType
public final RelatedEntityType relatedEntityType()
Specifies the entity type that you're associating with the
Opportunity. This helps to categorize and properly process the association.If the service returns an enum value that is not available in the current SDK version,
relatedEntityTypewill returnRelatedEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelatedEntityTypeAsString().- Returns:
- Specifies the entity type that you're associating with the
Opportunity. This helps to categorize and properly process the association. - See Also:
RelatedEntityType
-
relatedEntityTypeAsString
public final String relatedEntityTypeAsString()
Specifies the entity type that you're associating with the
Opportunity. This helps to categorize and properly process the association.If the service returns an enum value that is not available in the current SDK version,
relatedEntityTypewill returnRelatedEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelatedEntityTypeAsString().- Returns:
- Specifies the entity type that you're associating with the
Opportunity. This helps to categorize and properly process the association. - See Also:
RelatedEntityType
-
toBuilder
public AssociateOpportunityRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateOpportunityRequest.Builder,AssociateOpportunityRequest>- Specified by:
toBuilderin classPartnerCentralSellingRequest
-
builder
public static AssociateOpportunityRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociateOpportunityRequest.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
-
-