Class StartEngagementByAcceptingInvitationTaskResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse
-
- software.amazon.awssdk.services.partnercentralselling.model.StartEngagementByAcceptingInvitationTaskResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartEngagementByAcceptingInvitationTaskResponse.Builder,StartEngagementByAcceptingInvitationTaskResponse>
@Generated("software.amazon.awssdk:codegen") public final class StartEngagementByAcceptingInvitationTaskResponse extends PartnerCentralSellingResponse implements ToCopyableBuilder<StartEngagementByAcceptingInvitationTaskResponse.Builder,StartEngagementByAcceptingInvitationTaskResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartEngagementByAcceptingInvitationTaskResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartEngagementByAcceptingInvitationTaskResponse.Builderbuilder()StringengagementInvitationId()Returns the identifier of the engagement invitation that was accepted and used to create the opportunity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()If the task fails, this field contains a detailed message describing the failure and possible recovery steps.StringopportunityId()Returns the original opportunity identifier passed in the request.ReasonCodereasonCode()Indicates the reason for task failure using an enumerated code.StringreasonCodeAsString()Indicates the reason for task failure using an enumerated code.StringresourceSnapshotJobId()The identifier of the Resource Snapshot Job created as part of this task.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartEngagementByAcceptingInvitationTaskResponse.Builder>serializableBuilderClass()InstantstartTime()The timestamp indicating when the task was initiated.StringtaskArn()The Amazon Resource Name (ARN) of the task, used for tracking and managing the task within AWS.StringtaskId()The unique identifier of the task, used to track the task’s progress.TaskStatustaskStatus()Indicates the current status of the task.StringtaskStatusAsString()Indicates the current status of the task.StartEngagementByAcceptingInvitationTaskResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
engagementInvitationId
public final String engagementInvitationId()
Returns the identifier of the engagement invitation that was accepted and used to create the opportunity.
- Returns:
- Returns the identifier of the engagement invitation that was accepted and used to create the opportunity.
-
message
public final String message()
If the task fails, this field contains a detailed message describing the failure and possible recovery steps.
- Returns:
- If the task fails, this field contains a detailed message describing the failure and possible recovery steps.
-
opportunityId
public final String opportunityId()
Returns the original opportunity identifier passed in the request. This is the unique identifier for the opportunity.
- Returns:
- Returns the original opportunity identifier passed in the request. This is the unique identifier for the opportunity.
-
reasonCode
public final ReasonCode reasonCode()
Indicates the reason for task failure using an enumerated code.
If the service returns an enum value that is not available in the current SDK version,
reasonCodewill returnReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonCodeAsString().- Returns:
- Indicates the reason for task failure using an enumerated code.
- See Also:
ReasonCode
-
reasonCodeAsString
public final String reasonCodeAsString()
Indicates the reason for task failure using an enumerated code.
If the service returns an enum value that is not available in the current SDK version,
reasonCodewill returnReasonCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonCodeAsString().- Returns:
- Indicates the reason for task failure using an enumerated code.
- See Also:
ReasonCode
-
resourceSnapshotJobId
public final String resourceSnapshotJobId()
The identifier of the Resource Snapshot Job created as part of this task.
- Returns:
- The identifier of the Resource Snapshot Job created as part of this task.
-
startTime
public final Instant startTime()
The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6.
- Returns:
- The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6.
-
taskArn
public final String taskArn()
The Amazon Resource Name (ARN) of the task, used for tracking and managing the task within AWS.
- Returns:
- The Amazon Resource Name (ARN) of the task, used for tracking and managing the task within AWS.
-
taskId
public final String taskId()
The unique identifier of the task, used to track the task’s progress.
- Returns:
- The unique identifier of the task, used to track the task’s progress.
-
taskStatus
public final TaskStatus taskStatus()
Indicates the current status of the task.
If the service returns an enum value that is not available in the current SDK version,
taskStatuswill returnTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtaskStatusAsString().- Returns:
- Indicates the current status of the task.
- See Also:
TaskStatus
-
taskStatusAsString
public final String taskStatusAsString()
Indicates the current status of the task.
If the service returns an enum value that is not available in the current SDK version,
taskStatuswill returnTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtaskStatusAsString().- Returns:
- Indicates the current status of the task.
- See Also:
TaskStatus
-
toBuilder
public StartEngagementByAcceptingInvitationTaskResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartEngagementByAcceptingInvitationTaskResponse.Builder,StartEngagementByAcceptingInvitationTaskResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static StartEngagementByAcceptingInvitationTaskResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartEngagementByAcceptingInvitationTaskResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-