Interface ListPoolOriginationIdentitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPoolOriginationIdentitiesResponse.Builder,,ListPoolOriginationIdentitiesResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<ListPoolOriginationIdentitiesResponse.Builder,,ListPoolOriginationIdentitiesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPoolOriginationIdentitiesResponse
@Mutable
@NotThreadSafe
public static interface ListPoolOriginationIdentitiesResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<ListPoolOriginationIdentitiesResponse.Builder,ListPoolOriginationIdentitiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.originationIdentities(Collection<OriginationIdentityMetadata> originationIdentities) An array of any OriginationIdentityMetadata objects.originationIdentities(Consumer<OriginationIdentityMetadata.Builder>... originationIdentities) An array of any OriginationIdentityMetadata objects.originationIdentities(OriginationIdentityMetadata... originationIdentities) An array of any OriginationIdentityMetadata objects.The Amazon Resource Name (ARN) for the pool.The unique PoolId of the pool.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.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
-
poolArn
The Amazon Resource Name (ARN) for the pool.
- Parameters:
poolArn- The Amazon Resource Name (ARN) for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolId
The unique PoolId of the pool.
- Parameters:
poolId- The unique PoolId of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originationIdentities
ListPoolOriginationIdentitiesResponse.Builder originationIdentities(Collection<OriginationIdentityMetadata> originationIdentities) An array of any OriginationIdentityMetadata objects.
- Parameters:
originationIdentities- An array of any OriginationIdentityMetadata objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originationIdentities
ListPoolOriginationIdentitiesResponse.Builder originationIdentities(OriginationIdentityMetadata... originationIdentities) An array of any OriginationIdentityMetadata objects.
- Parameters:
originationIdentities- An array of any OriginationIdentityMetadata objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originationIdentities
ListPoolOriginationIdentitiesResponse.Builder originationIdentities(Consumer<OriginationIdentityMetadata.Builder>... originationIdentities) An array of any OriginationIdentityMetadata objects.
This is a convenience method that creates an instance of theOriginationIdentityMetadata.Builderavoiding the need to create one manually viaOriginationIdentityMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooriginationIdentities(List<OriginationIdentityMetadata>).- Parameters:
originationIdentities- a consumer that will call methods onOriginationIdentityMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
- Parameters:
nextToken- The token to be used for the next set of paginated results. If this field is empty then there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-