public class ExternalSegmentServiceImpl extends BaseNetworkingServices implements ExternalSegmentService
BaseOpenStackService.Invocation<R>
Constructor and Description |
---|
ExternalSegmentServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ExternalSegment |
create(ExternalSegment externalSegment)
Create a new external segment
|
ActionResponse |
delete(String id)
Delete of the external segment
|
ExternalSegment |
get(String id)
Get the specified external segment by ID
|
List<? extends ExternalSegment> |
list()
List all external segment
|
List<? extends ExternalSegment> |
list(Map<String,String> filteringParams)
Returns list of external segments filtered by parameters.
|
ExternalSegment |
update(String externalSegmentId,
ExternalSegment externalSegment)
Updates an existing external segment
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uri
public List<? extends ExternalSegment> list()
list
in interface ExternalSegmentService
public List<? extends ExternalSegment> list(Map<String,String> filteringParams)
list
in interface ExternalSegmentService
filteringParams
- map (name, value) of filtering parameterspublic ExternalSegment get(String id)
get
in interface ExternalSegmentService
id
- the external segment idpublic ActionResponse delete(String id)
delete
in interface ExternalSegmentService
id
- the external segment idpublic ExternalSegment create(ExternalSegment externalSegment)
create
in interface ExternalSegmentService
public ExternalSegment update(String externalSegmentId, ExternalSegment externalSegment)
update
in interface ExternalSegmentService
Copyright © 2017. All rights reserved.