Interface Invitation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Invitation.Builder,Invitation>,SdkBuilder<Invitation.Builder,Invitation>,SdkPojo
- Enclosing class:
- Invitation
public static interface Invitation.Builder extends SdkPojo, CopyableBuilder<Invitation.Builder,Invitation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Invitation.Buildermessage(String message)A message accompanying the invitation.default Invitation.Builderpayload(Consumer<Payload.Builder> payload)Sets the value of the Payload property for this object.Invitation.Builderpayload(Payload payload)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.Invitation.Builderreceiver(Receiver receiver)Sets the value of the Receiver property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
message
Invitation.Builder message(String 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.
-
payload
Invitation.Builder payload(Payload 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
default Invitation.Builder payload(Consumer<Payload.Builder> 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:
payload(Payload)
-
receiver
Invitation.Builder receiver(Receiver 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
default Invitation.Builder receiver(Consumer<Receiver.Builder> 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:
receiver(Receiver)
-
-