Interface ListPendingMessagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPendingMessagesResponse.Builder,,ListPendingMessagesResponse> DevOpsAgentResponse.Builder,SdkBuilder<ListPendingMessagesResponse.Builder,,ListPendingMessagesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPendingMessagesResponse
@Mutable
@NotThreadSafe
public static interface ListPendingMessagesResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<ListPendingMessagesResponse.Builder,ListPendingMessagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) Sets the value of the AgentSpaceId property for this object.Timestamp when the pending messages were created.executionId(String executionId) The unique identifier for the execution.messages(Collection<PendingMessage> messages) The list of pending messages for the execution.messages(Consumer<PendingMessage.Builder>... messages) The list of pending messages for the execution.messages(PendingMessage... messages) The list of pending messages for the execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agentSpaceId
Sets the value of the AgentSpaceId property for this object.- Parameters:
agentSpaceId- The new value for the AgentSpaceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionId
The unique identifier for the execution.
- Parameters:
executionId- The unique identifier for the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
The list of pending messages for the execution.
- Parameters:
messages- The list of pending messages for the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
The list of pending messages for the execution.
- Parameters:
messages- The list of pending messages for the execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
The list of pending messages for the execution.
This is a convenience method that creates an instance of thePendingMessage.Builderavoiding the need to create one manually viaPendingMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessages(List<PendingMessage>).- Parameters:
messages- a consumer that will call methods onPendingMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
Timestamp when the pending messages were created.
- Parameters:
createdAt- Timestamp when the pending messages were created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-