Interface Invitation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Invitation.Builder,,Invitation> SdkBuilder<Invitation.Builder,,Invitation> SdkPojo
- Enclosing class:
Invitation
@Mutable
@NotThreadSafe
public static interface Invitation.Builder
extends SdkPojo, CopyableBuilder<Invitation.Builder,Invitation>
-
Method Summary
Modifier and TypeMethodDescriptionA message accompanying the invitation.default Invitation.Builderpayload(Consumer<Payload.Builder> payload) Sets the value of the Payload property for this object.Sets the value of the Payload property for this object.default Invitation.Builderreceiver(Consumer<Receiver.Builder> receiver) Sets the value of the Receiver property for this object.Sets the value of the Receiver property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
message
A message accompanying the invitation.
- Parameters:
message- A message accompanying the invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiver
Sets the value of the Receiver property for this object.- Parameters:
receiver- The new value for the Receiver property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiver
Sets the value of the Receiver property for this object. This is a convenience method that creates an instance of theReceiver.Builderavoiding the need to create one manually viaReceiver.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreceiver(Receiver).- Parameters:
receiver- a consumer that will call methods onReceiver.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
payload
Sets the value of the Payload property for this object.- Parameters:
payload- The new value for the Payload property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
Sets the value of the Payload property for this object. This is a convenience method that creates an instance of thePayload.Builderavoiding the need to create one manually viaPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(Payload).- Parameters:
payload- a consumer that will call methods onPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-