Class PaginationInfo
- java.lang.Object
-
- software.amazon.smithy.model.knowledge.PaginationInfo
-
public final class PaginationInfo extends java.lang.Object
Resolved 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 StructureShape
getInput()
MemberShape
getInputTokenMember()
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
.OperationShape
getOperation()
StructureShape
getOutput()
MemberShape
getOutputTokenMember()
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()
PaginatedTrait
getPaginatedTrait()
Gets the paginated trait of the operation merged with the service.ServiceShape
getService()
-
-
-
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
MemberShape
of 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
MemberShape
of 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()
-
-