Class AttachmentQuery
java.lang.Object
com.eqixiac.equinix.fabric.beta.client.AttachmentQuery
Optional query parameters of the Application Connect "attached ..." list endpoints: a state filter
(sent as
state or attachmentStatus, as each endpoint names it), order and
style. Paging (offset/limit) is handled by the returned list.
beta.appLinks().listAttachedAppDomains(linkId,
new AttachmentQuery().states("ATTACHED").order(SortOrder.ASC).style(AttachmentQuery.Style.FULL));
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDetail level of the response (Stylein the spec; defaultMEDIUM). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the sort order (service defaultDESC).Adds lifecycle-state filter values (for examplePROVISIONEDorATTACHED; the generated state enums'getValue()gives the wire values).style(AttachmentQuery.Style style) Sets the response detail level.toQueryParams(String stateParameterName) Renders the query parameters.
-
Constructor Details
-
AttachmentQuery
public AttachmentQuery()Creates an empty query.
-
-
Method Details
-
states
Adds lifecycle-state filter values (for examplePROVISIONEDorATTACHED; the generated state enums'getValue()gives the wire values).- Parameters:
values- the state values- Returns:
- this query
-
order
Sets the sort order (service defaultDESC).- Parameters:
order- the order- Returns:
- this query
-
style
Sets the response detail level.- Parameters:
style- the style- Returns:
- this query
-
toQueryParams
-