Interface GetAccountActivityResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetAccountActivityResponse.Builder,,- GetAccountActivityResponse> - FreeTierResponse.Builder,- SdkBuilder<GetAccountActivityResponse.Builder,,- GetAccountActivityResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetAccountActivityResponse
- 
Method SummaryModifier and TypeMethodDescriptionactivityId(String activityId) A unique identifier that identifies the activity.completedAt(Instant completedAt) The timestamp when the activity is completed.description(String description) Provides detailed information about the activity and its expected outcomes.estimatedTimeToCompleteInMinutes(Integer estimatedTimeToCompleteInMinutes) The estimated time to complete the activity.The time by which the activity must be completed to receive a reward.instructionsUrl(String instructionsUrl) The URL resource that provides guidance on activity requirements and completion.reward(Consumer<ActivityReward.Builder> reward) A reward granted upon activity completion.reward(ActivityReward reward) A reward granted upon activity completion.The timestamp when the activity started.The current activity status.status(ActivityStatus status) The current activity status.A short activity title.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.freetier.model.FreeTierResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
activityIdA unique identifier that identifies the activity. - Parameters:
- activityId- A unique identifier that identifies the activity.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
titleA short activity title. - Parameters:
- title- A short activity title.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionProvides detailed information about the activity and its expected outcomes. - Parameters:
- description- Provides detailed information about the activity and its expected outcomes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe current activity status. - Parameters:
- status- The current activity status.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe current activity status. - Parameters:
- status- The current activity status.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
instructionsUrlThe URL resource that provides guidance on activity requirements and completion. - Parameters:
- instructionsUrl- The URL resource that provides guidance on activity requirements and completion.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rewardA reward granted upon activity completion. - Parameters:
- reward- A reward granted upon activity completion.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rewardA reward granted upon activity completion. This is a convenience method that creates an instance of theActivityReward.Builderavoiding the need to create one manually viaActivityReward.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreward(ActivityReward).- Parameters:
- reward- a consumer that will call methods on- ActivityReward.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
estimatedTimeToCompleteInMinutesGetAccountActivityResponse.Builder estimatedTimeToCompleteInMinutes(Integer estimatedTimeToCompleteInMinutes) The estimated time to complete the activity. This is the duration in minutes. - Parameters:
- estimatedTimeToCompleteInMinutes- The estimated time to complete the activity. This is the duration in minutes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
expiresAtThe time by which the activity must be completed to receive a reward. - Parameters:
- expiresAt- The time by which the activity must be completed to receive a reward.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
startedAtThe timestamp when the activity started. This field appears only for activities in the IN_PROGRESSorCOMPLETEDstates.- Parameters:
- startedAt- The timestamp when the activity started. This field appears only for activities in the- IN_PROGRESSor- COMPLETEDstates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
completedAtThe timestamp when the activity is completed. This field appears only for activities in the COMPLETEDstate.- Parameters:
- completedAt- The timestamp when the activity is completed. This field appears only for activities in the- COMPLETEDstate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-