Class PaginationInfo
- java.lang.Object
-
- software.amazon.smithy.model.knowledge.PaginationInfo
-
public final class PaginationInfo extends java.lang.ObjectResolved and valid pagination information about an operation in a service.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StructureShapegetInput()MemberShapegetInputTokenMember()java.util.Optional<MemberShape>getItemsMember()Deprecated.SeegetItemsMemberPath()to retrieve the full path.java.util.List<MemberShape>getItemsMemberPath()Get the resolved items path identifiers as a list ofMemberShape.OperationShapegetOperation()StructureShapegetOutput()MemberShapegetOutputTokenMember()Deprecated.SeegetOutputTokenMemberPath()to retrieve the full path.java.util.List<MemberShape>getOutputTokenMemberPath()Get the resolved output path identifiers as a list ofMemberShape.java.util.Optional<MemberShape>getPageSizeMember()PaginatedTraitgetPaginatedTrait()Gets the paginated trait of the operation merged with the service.ServiceShapegetService()
-
-
-
Method Detail
-
getService
public ServiceShape getService()
-
getOperation
public OperationShape getOperation()
-
getInput
public StructureShape getInput()
-
getOutput
public StructureShape getOutput()
-
getPaginatedTrait
public PaginatedTrait getPaginatedTrait()
Gets the paginated trait of the operation merged with the service.- Returns:
- Returns the resolved paginated trait.
-
getInputTokenMember
public MemberShape getInputTokenMember()
-
getOutputTokenMember
@Deprecated public MemberShape getOutputTokenMember()
Deprecated.SeegetOutputTokenMemberPath()to retrieve the full path.- Returns:
- the last
MemberShapeof the output path.
-
getOutputTokenMemberPath
public java.util.List<MemberShape> getOutputTokenMemberPath()
Get the resolved output path identifiers as a list ofMemberShape.- Returns:
- A list of
MemberShape.
-
getItemsMember
@Deprecated public java.util.Optional<MemberShape> getItemsMember()
Deprecated.SeegetItemsMemberPath()to retrieve the full path.- Returns:
- the last
MemberShapeof the items path.
-
getItemsMemberPath
public java.util.List<MemberShape> getItemsMemberPath()
Get the resolved items path identifiers as a list ofMemberShape.- Returns:
- A list of
MemberShape.
-
getPageSizeMember
public java.util.Optional<MemberShape> getPageSizeMember()
-
-