Interface AcceptResourceShareInvitationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AcceptResourceShareInvitationResponse.Builder,AcceptResourceShareInvitationResponse>,RamResponse.Builder,SdkBuilder<AcceptResourceShareInvitationResponse.Builder,AcceptResourceShareInvitationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AcceptResourceShareInvitationResponse
public static interface AcceptResourceShareInvitationResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<AcceptResourceShareInvitationResponse.Builder,AcceptResourceShareInvitationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AcceptResourceShareInvitationResponse.BuilderclientToken(String clientToken)The idempotency identifier associated with this request.default AcceptResourceShareInvitationResponse.BuilderresourceShareInvitation(Consumer<ResourceShareInvitation.Builder> resourceShareInvitation)An object that contains information about the specified invitation.AcceptResourceShareInvitationResponse.BuilderresourceShareInvitation(ResourceShareInvitation resourceShareInvitation)An object that contains information about the specified invitation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ram.model.RamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
resourceShareInvitation
AcceptResourceShareInvitationResponse.Builder resourceShareInvitation(ResourceShareInvitation resourceShareInvitation)
An object that contains information about the specified invitation.
- Parameters:
resourceShareInvitation- An object that contains information about the specified invitation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareInvitation
default AcceptResourceShareInvitationResponse.Builder resourceShareInvitation(Consumer<ResourceShareInvitation.Builder> resourceShareInvitation)
An object that contains information about the specified invitation.
This is a convenience method that creates an instance of theResourceShareInvitation.Builderavoiding the need to create one manually viaResourceShareInvitation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceShareInvitation(ResourceShareInvitation).- Parameters:
resourceShareInvitation- a consumer that will call methods onResourceShareInvitation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceShareInvitation(ResourceShareInvitation)
-
clientToken
AcceptResourceShareInvitationResponse.Builder clientToken(String clientToken)
The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in the
clientTokenrequest parameter of that later call. All other parameters must also have the same values that you used in the first call.- Parameters:
clientToken- The idempotency identifier associated with this request. If you want to repeat the same operation in an idempotent manner then you must include this value in theclientTokenrequest parameter of that later call. All other parameters must also have the same values that you used in the first call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-