Interface ApiId.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApiId.Builder,,ApiId> SdkBuilder<ApiId.Builder,,ApiId> SdkPojo
- Enclosing class:
ApiId
@Mutable
@NotThreadSafe
public static interface ApiId.Builder
extends SdkPojo, CopyableBuilder<ApiId.Builder,ApiId>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ApiId.BuilderidentifierParts(Consumer<IdentifierParts.Builder> identifierParts) The resource, method, and path that identify the API.identifierParts(IdentifierParts identifierParts) The resource, method, and path that identify the API.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
-
identifierParts
The resource, method, and path that identify the API.
- Parameters:
identifierParts- The resource, method, and path that identify the API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifierParts
The resource, method, and path that identify the API.
This is a convenience method that creates an instance of theIdentifierParts.Builderavoiding the need to create one manually viaIdentifierParts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentifierParts(IdentifierParts).- Parameters:
identifierParts- a consumer that will call methods onIdentifierParts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-