Class Payload
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.model.Payload
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Payload.Builder,Payload>
@Generated("software.amazon.awssdk:codegen") public final class Payload extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Payload.Builder,Payload>
Contains the data payload associated with the Engagement Invitation. This payload includes essential details related to the AWS opportunity and is used by partners to evaluate whether to accept or reject the engagement.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePayload.Builderstatic classPayload.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Payload.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static PayloadfromOpportunityInvitation(Consumer<OpportunityInvitationPayload.Builder> opportunityInvitation)Create an instance of this class withopportunityInvitation()initialized to the given value.static PayloadfromOpportunityInvitation(OpportunityInvitationPayload opportunityInvitation)Create an instance of this class withopportunityInvitation()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OpportunityInvitationPayloadopportunityInvitation()Specifies the details of the opportunity invitation within the Engagement Invitation payload.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Payload.Builder>serializableBuilderClass()Payload.BuildertoBuilder()StringtoString()Returns a string representation of this object.Payload.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
opportunityInvitation
public final OpportunityInvitationPayload opportunityInvitation()
Specifies the details of the opportunity invitation within the Engagement Invitation payload. This data helps partners understand the context, scope, and expected involvement for the opportunity from AWS.
- Returns:
- Specifies the details of the opportunity invitation within the Engagement Invitation payload. This data helps partners understand the context, scope, and expected involvement for the opportunity from AWS.
-
toBuilder
public Payload.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Payload.Builder,Payload>
-
builder
public static Payload.Builder builder()
-
serializableBuilderClass
public static Class<? extends Payload.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.
-
fromOpportunityInvitation
public static Payload fromOpportunityInvitation(OpportunityInvitationPayload opportunityInvitation)
Create an instance of this class withopportunityInvitation()initialized to the given value.Specifies the details of the opportunity invitation within the Engagement Invitation payload. This data helps partners understand the context, scope, and expected involvement for the opportunity from AWS.
- Parameters:
opportunityInvitation- Specifies the details of the opportunity invitation within the Engagement Invitation payload. This data helps partners understand the context, scope, and expected involvement for the opportunity from AWS.
-
fromOpportunityInvitation
public static Payload fromOpportunityInvitation(Consumer<OpportunityInvitationPayload.Builder> opportunityInvitation)
Create an instance of this class withopportunityInvitation()initialized to the given value.Specifies the details of the opportunity invitation within the Engagement Invitation payload. This data helps partners understand the context, scope, and expected involvement for the opportunity from AWS.
- Parameters:
opportunityInvitation- Specifies the details of the opportunity invitation within the Engagement Invitation payload. This data helps partners understand the context, scope, and expected involvement for the opportunity from AWS.
-
type
public Payload.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will bePayload.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will bePayload.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-