Interface NextContactEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NextContactEntry.Builder,,NextContactEntry> SdkBuilder<NextContactEntry.Builder,,NextContactEntry> SdkPojo
- Enclosing class:
NextContactEntry
@Mutable
@NotThreadSafe
public static interface NextContactEntry.Builder
extends SdkPojo, CopyableBuilder<NextContactEntry.Builder,NextContactEntry>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NextContactEntry.BuildernextContactMetadata(Consumer<NextContactMetadata.Builder> nextContactMetadata) Metadata for the next contact entry.nextContactMetadata(NextContactMetadata nextContactMetadata) Metadata for the next contact entry.The type of the next contact entry.type(NextContactType type) The type of the next contact entry.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
-
type
The type of the next contact entry.
- Parameters:
type- The type of the next contact entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the next contact entry.
- Parameters:
type- The type of the next contact entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextContactMetadata
Metadata for the next contact entry.
- Parameters:
nextContactMetadata- Metadata for the next contact entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextContactMetadata
default NextContactEntry.Builder nextContactMetadata(Consumer<NextContactMetadata.Builder> nextContactMetadata) Metadata for the next contact entry.
This is a convenience method that creates an instance of theNextContactMetadata.Builderavoiding the need to create one manually viaNextContactMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonextContactMetadata(NextContactMetadata).- Parameters:
nextContactMetadata- a consumer that will call methods onNextContactMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-