@Generated(value="software.amazon.awssdk:codegen") public interface MediaLiveAsyncClient extends SdkClient
builder()
method.
API for AWS Elemental MediaLiveModifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
serviceName
close
static final String SERVICE_NAME
static MediaLiveAsyncClient create()
MediaLiveAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static MediaLiveAsyncClientBuilder builder()
MediaLiveAsyncClient
.default CompletableFuture<BatchUpdateScheduleResponse> batchUpdateSchedule(BatchUpdateScheduleRequest batchUpdateScheduleRequest)
batchUpdateScheduleRequest
- List of actions to create and list of actions to delete.default CompletableFuture<BatchUpdateScheduleResponse> batchUpdateSchedule(Consumer<BatchUpdateScheduleRequest.Builder> batchUpdateScheduleRequest)
This is a convenience which creates an instance of the BatchUpdateScheduleRequest.Builder
avoiding the
need to create one manually via BatchUpdateScheduleRequest.builder()
batchUpdateScheduleRequest
- A Consumer
that will call methods on BatchUpdateScheduleRequest.Builder
to create a
request. List of actions to create and list of actions to delete.default CompletableFuture<CreateChannelResponse> createChannel(CreateChannelRequest createChannelRequest)
createChannelRequest
- A request to create a channeldefault CompletableFuture<CreateChannelResponse> createChannel(Consumer<CreateChannelRequest.Builder> createChannelRequest)
This is a convenience which creates an instance of the CreateChannelRequest.Builder
avoiding the need to
create one manually via CreateChannelRequest.builder()
createChannelRequest
- A Consumer
that will call methods on CreateChannelRequest.Builder
to create a request. A
request to create a channeldefault CompletableFuture<CreateInputResponse> createInput(CreateInputRequest createInputRequest)
createInputRequest
- The name of the inputdefault CompletableFuture<CreateInputResponse> createInput(Consumer<CreateInputRequest.Builder> createInputRequest)
This is a convenience which creates an instance of the CreateInputRequest.Builder
avoiding the need to
create one manually via CreateInputRequest.builder()
createInputRequest
- A Consumer
that will call methods on CreateInputRequest.Builder
to create a request. The
name of the inputdefault CompletableFuture<CreateInputSecurityGroupResponse> createInputSecurityGroup(CreateInputSecurityGroupRequest createInputSecurityGroupRequest)
createInputSecurityGroupRequest
- The IPv4 CIDRs to whitelist for this Input Security Groupdefault CompletableFuture<CreateInputSecurityGroupResponse> createInputSecurityGroup(Consumer<CreateInputSecurityGroupRequest.Builder> createInputSecurityGroupRequest)
This is a convenience which creates an instance of the CreateInputSecurityGroupRequest.Builder
avoiding
the need to create one manually via CreateInputSecurityGroupRequest.builder()
createInputSecurityGroupRequest
- A Consumer
that will call methods on CreateInputSecurityGroupRequest.Builder
to create a
request. The IPv4 CIDRs to whitelist for this Input Security Groupdefault CompletableFuture<DeleteChannelResponse> deleteChannel(DeleteChannelRequest deleteChannelRequest)
deleteChannelRequest
- Placeholder documentation for DeleteChannelRequestdefault CompletableFuture<DeleteChannelResponse> deleteChannel(Consumer<DeleteChannelRequest.Builder> deleteChannelRequest)
This is a convenience which creates an instance of the DeleteChannelRequest.Builder
avoiding the need to
create one manually via DeleteChannelRequest.builder()
deleteChannelRequest
- A Consumer
that will call methods on DeleteChannelRequest.Builder
to create a request.
Placeholder documentation for DeleteChannelRequestdefault CompletableFuture<DeleteInputResponse> deleteInput(DeleteInputRequest deleteInputRequest)
deleteInputRequest
- Placeholder documentation for DeleteInputRequestdefault CompletableFuture<DeleteInputResponse> deleteInput(Consumer<DeleteInputRequest.Builder> deleteInputRequest)
This is a convenience which creates an instance of the DeleteInputRequest.Builder
avoiding the need to
create one manually via DeleteInputRequest.builder()
deleteInputRequest
- A Consumer
that will call methods on DeleteInputRequest.Builder
to create a request.
Placeholder documentation for DeleteInputRequestdefault CompletableFuture<DeleteInputSecurityGroupResponse> deleteInputSecurityGroup(DeleteInputSecurityGroupRequest deleteInputSecurityGroupRequest)
deleteInputSecurityGroupRequest
- Placeholder documentation for DeleteInputSecurityGroupRequestdefault CompletableFuture<DeleteInputSecurityGroupResponse> deleteInputSecurityGroup(Consumer<DeleteInputSecurityGroupRequest.Builder> deleteInputSecurityGroupRequest)
This is a convenience which creates an instance of the DeleteInputSecurityGroupRequest.Builder
avoiding
the need to create one manually via DeleteInputSecurityGroupRequest.builder()
deleteInputSecurityGroupRequest
- A Consumer
that will call methods on DeleteInputSecurityGroupRequest.Builder
to create a
request. Placeholder documentation for DeleteInputSecurityGroupRequestdefault CompletableFuture<DeleteReservationResponse> deleteReservation(DeleteReservationRequest deleteReservationRequest)
deleteReservationRequest
- Placeholder documentation for DeleteReservationRequestdefault CompletableFuture<DeleteReservationResponse> deleteReservation(Consumer<DeleteReservationRequest.Builder> deleteReservationRequest)
This is a convenience which creates an instance of the DeleteReservationRequest.Builder
avoiding the need
to create one manually via DeleteReservationRequest.builder()
deleteReservationRequest
- A Consumer
that will call methods on DeleteReservationRequest.Builder
to create a request.
Placeholder documentation for DeleteReservationRequestdefault CompletableFuture<DescribeChannelResponse> describeChannel(DescribeChannelRequest describeChannelRequest)
describeChannelRequest
- Placeholder documentation for DescribeChannelRequestdefault CompletableFuture<DescribeChannelResponse> describeChannel(Consumer<DescribeChannelRequest.Builder> describeChannelRequest)
This is a convenience which creates an instance of the DescribeChannelRequest.Builder
avoiding the need
to create one manually via DescribeChannelRequest.builder()
describeChannelRequest
- A Consumer
that will call methods on DescribeChannelRequest.Builder
to create a request.
Placeholder documentation for DescribeChannelRequestdefault CompletableFuture<DescribeInputResponse> describeInput(DescribeInputRequest describeInputRequest)
describeInputRequest
- Placeholder documentation for DescribeInputRequestdefault CompletableFuture<DescribeInputResponse> describeInput(Consumer<DescribeInputRequest.Builder> describeInputRequest)
This is a convenience which creates an instance of the DescribeInputRequest.Builder
avoiding the need to
create one manually via DescribeInputRequest.builder()
describeInputRequest
- A Consumer
that will call methods on DescribeInputRequest.Builder
to create a request.
Placeholder documentation for DescribeInputRequestdefault CompletableFuture<DescribeInputSecurityGroupResponse> describeInputSecurityGroup(DescribeInputSecurityGroupRequest describeInputSecurityGroupRequest)
describeInputSecurityGroupRequest
- Placeholder documentation for DescribeInputSecurityGroupRequestdefault CompletableFuture<DescribeInputSecurityGroupResponse> describeInputSecurityGroup(Consumer<DescribeInputSecurityGroupRequest.Builder> describeInputSecurityGroupRequest)
This is a convenience which creates an instance of the DescribeInputSecurityGroupRequest.Builder
avoiding
the need to create one manually via DescribeInputSecurityGroupRequest.builder()
describeInputSecurityGroupRequest
- A Consumer
that will call methods on DescribeInputSecurityGroupRequest.Builder
to create a
request. Placeholder documentation for DescribeInputSecurityGroupRequestdefault CompletableFuture<DescribeOfferingResponse> describeOffering(DescribeOfferingRequest describeOfferingRequest)
describeOfferingRequest
- Placeholder documentation for DescribeOfferingRequestdefault CompletableFuture<DescribeOfferingResponse> describeOffering(Consumer<DescribeOfferingRequest.Builder> describeOfferingRequest)
This is a convenience which creates an instance of the DescribeOfferingRequest.Builder
avoiding the need
to create one manually via DescribeOfferingRequest.builder()
describeOfferingRequest
- A Consumer
that will call methods on DescribeOfferingRequest.Builder
to create a request.
Placeholder documentation for DescribeOfferingRequestdefault CompletableFuture<DescribeReservationResponse> describeReservation(DescribeReservationRequest describeReservationRequest)
describeReservationRequest
- Placeholder documentation for DescribeReservationRequestdefault CompletableFuture<DescribeReservationResponse> describeReservation(Consumer<DescribeReservationRequest.Builder> describeReservationRequest)
This is a convenience which creates an instance of the DescribeReservationRequest.Builder
avoiding the
need to create one manually via DescribeReservationRequest.builder()
describeReservationRequest
- A Consumer
that will call methods on DescribeReservationRequest.Builder
to create a
request. Placeholder documentation for DescribeReservationRequestdefault CompletableFuture<DescribeScheduleResponse> describeSchedule(DescribeScheduleRequest describeScheduleRequest)
describeScheduleRequest
- Placeholder documentation for DescribeScheduleRequestdefault CompletableFuture<DescribeScheduleResponse> describeSchedule(Consumer<DescribeScheduleRequest.Builder> describeScheduleRequest)
This is a convenience which creates an instance of the DescribeScheduleRequest.Builder
avoiding the need
to create one manually via DescribeScheduleRequest.builder()
describeScheduleRequest
- A Consumer
that will call methods on DescribeScheduleRequest.Builder
to create a request.
Placeholder documentation for DescribeScheduleRequestdefault DescribeSchedulePublisher describeSchedulePaginator(DescribeScheduleRequest describeScheduleRequest)
This is a variant of
describeSchedule(software.amazon.awssdk.services.medialive.model.DescribeScheduleRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.DescribeSchedulePublisher publisher = client.describeSchedulePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.DescribeSchedulePublisher publisher = client.describeSchedulePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.DescribeScheduleResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.DescribeScheduleResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
describeSchedule(software.amazon.awssdk.services.medialive.model.DescribeScheduleRequest)
operation.
describeScheduleRequest
- Placeholder documentation for DescribeScheduleRequestdefault DescribeSchedulePublisher describeSchedulePaginator(Consumer<DescribeScheduleRequest.Builder> describeScheduleRequest)
This is a variant of
describeSchedule(software.amazon.awssdk.services.medialive.model.DescribeScheduleRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.DescribeSchedulePublisher publisher = client.describeSchedulePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.DescribeSchedulePublisher publisher = client.describeSchedulePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.DescribeScheduleResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.DescribeScheduleResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
describeSchedule(software.amazon.awssdk.services.medialive.model.DescribeScheduleRequest)
operation.
This is a convenience which creates an instance of the DescribeScheduleRequest.Builder
avoiding the need
to create one manually via DescribeScheduleRequest.builder()
describeScheduleRequest
- A Consumer
that will call methods on DescribeScheduleRequest.Builder
to create a request.
Placeholder documentation for DescribeScheduleRequestdefault CompletableFuture<ListChannelsResponse> listChannels(ListChannelsRequest listChannelsRequest)
listChannelsRequest
- Placeholder documentation for ListChannelsRequestdefault CompletableFuture<ListChannelsResponse> listChannels(Consumer<ListChannelsRequest.Builder> listChannelsRequest)
This is a convenience which creates an instance of the ListChannelsRequest.Builder
avoiding the need to
create one manually via ListChannelsRequest.builder()
listChannelsRequest
- A Consumer
that will call methods on ListChannelsRequest.Builder
to create a request.
Placeholder documentation for ListChannelsRequestdefault CompletableFuture<ListChannelsResponse> listChannels()
default ListChannelsPublisher listChannelsPaginator()
This is a variant of listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListChannelsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListChannelsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest)
operation.
default ListChannelsPublisher listChannelsPaginator(ListChannelsRequest listChannelsRequest)
This is a variant of listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListChannelsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListChannelsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest)
operation.
listChannelsRequest
- Placeholder documentation for ListChannelsRequestdefault ListChannelsPublisher listChannelsPaginator(Consumer<ListChannelsRequest.Builder> listChannelsRequest)
This is a variant of listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListChannelsPublisher publisher = client.listChannelsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListChannelsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListChannelsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listChannels(software.amazon.awssdk.services.medialive.model.ListChannelsRequest)
operation.
This is a convenience which creates an instance of the ListChannelsRequest.Builder
avoiding the need to
create one manually via ListChannelsRequest.builder()
listChannelsRequest
- A Consumer
that will call methods on ListChannelsRequest.Builder
to create a request.
Placeholder documentation for ListChannelsRequestdefault CompletableFuture<ListInputSecurityGroupsResponse> listInputSecurityGroups(ListInputSecurityGroupsRequest listInputSecurityGroupsRequest)
listInputSecurityGroupsRequest
- Placeholder documentation for ListInputSecurityGroupsRequestdefault CompletableFuture<ListInputSecurityGroupsResponse> listInputSecurityGroups(Consumer<ListInputSecurityGroupsRequest.Builder> listInputSecurityGroupsRequest)
This is a convenience which creates an instance of the ListInputSecurityGroupsRequest.Builder
avoiding
the need to create one manually via ListInputSecurityGroupsRequest.builder()
listInputSecurityGroupsRequest
- A Consumer
that will call methods on ListInputSecurityGroupsRequest.Builder
to create a
request. Placeholder documentation for ListInputSecurityGroupsRequestdefault CompletableFuture<ListInputSecurityGroupsResponse> listInputSecurityGroups()
default ListInputSecurityGroupsPublisher listInputSecurityGroupsPaginator()
This is a variant of
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation.
default ListInputSecurityGroupsPublisher listInputSecurityGroupsPaginator(ListInputSecurityGroupsRequest listInputSecurityGroupsRequest)
This is a variant of
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation.
listInputSecurityGroupsRequest
- Placeholder documentation for ListInputSecurityGroupsRequestdefault ListInputSecurityGroupsPublisher listInputSecurityGroupsPaginator(Consumer<ListInputSecurityGroupsRequest.Builder> listInputSecurityGroupsRequest)
This is a variant of
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputSecurityGroupsPublisher publisher = client.listInputSecurityGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputSecurityGroups(software.amazon.awssdk.services.medialive.model.ListInputSecurityGroupsRequest)
operation.
This is a convenience which creates an instance of the ListInputSecurityGroupsRequest.Builder
avoiding
the need to create one manually via ListInputSecurityGroupsRequest.builder()
listInputSecurityGroupsRequest
- A Consumer
that will call methods on ListInputSecurityGroupsRequest.Builder
to create a
request. Placeholder documentation for ListInputSecurityGroupsRequestdefault CompletableFuture<ListInputsResponse> listInputs(ListInputsRequest listInputsRequest)
listInputsRequest
- Placeholder documentation for ListInputsRequestdefault CompletableFuture<ListInputsResponse> listInputs(Consumer<ListInputsRequest.Builder> listInputsRequest)
This is a convenience which creates an instance of the ListInputsRequest.Builder
avoiding the need to
create one manually via ListInputsRequest.builder()
listInputsRequest
- A Consumer
that will call methods on ListInputsRequest.Builder
to create a request.
Placeholder documentation for ListInputsRequestdefault CompletableFuture<ListInputsResponse> listInputs()
default ListInputsPublisher listInputsPaginator()
This is a variant of listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest)
operation.
default ListInputsPublisher listInputsPaginator(ListInputsRequest listInputsRequest)
This is a variant of listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest)
operation.
listInputsRequest
- Placeholder documentation for ListInputsRequestdefault ListInputsPublisher listInputsPaginator(Consumer<ListInputsRequest.Builder> listInputsRequest)
This is a variant of listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListInputsPublisher publisher = client.listInputsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListInputsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListInputsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listInputs(software.amazon.awssdk.services.medialive.model.ListInputsRequest)
operation.
This is a convenience which creates an instance of the ListInputsRequest.Builder
avoiding the need to
create one manually via ListInputsRequest.builder()
listInputsRequest
- A Consumer
that will call methods on ListInputsRequest.Builder
to create a request.
Placeholder documentation for ListInputsRequestdefault CompletableFuture<ListOfferingsResponse> listOfferings(ListOfferingsRequest listOfferingsRequest)
listOfferingsRequest
- Placeholder documentation for ListOfferingsRequestdefault CompletableFuture<ListOfferingsResponse> listOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest)
This is a convenience which creates an instance of the ListOfferingsRequest.Builder
avoiding the need to
create one manually via ListOfferingsRequest.builder()
listOfferingsRequest
- A Consumer
that will call methods on ListOfferingsRequest.Builder
to create a request.
Placeholder documentation for ListOfferingsRequestdefault CompletableFuture<ListOfferingsResponse> listOfferings()
default ListOfferingsPublisher listOfferingsPaginator()
This is a variant of listOfferings(software.amazon.awssdk.services.medialive.model.ListOfferingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListOfferingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListOfferingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.medialive.model.ListOfferingsRequest)
operation.
default ListOfferingsPublisher listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest)
This is a variant of listOfferings(software.amazon.awssdk.services.medialive.model.ListOfferingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListOfferingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListOfferingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.medialive.model.ListOfferingsRequest)
operation.
listOfferingsRequest
- Placeholder documentation for ListOfferingsRequestdefault ListOfferingsPublisher listOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest)
This is a variant of listOfferings(software.amazon.awssdk.services.medialive.model.ListOfferingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListOfferingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListOfferingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.medialive.model.ListOfferingsRequest)
operation.
This is a convenience which creates an instance of the ListOfferingsRequest.Builder
avoiding the need to
create one manually via ListOfferingsRequest.builder()
listOfferingsRequest
- A Consumer
that will call methods on ListOfferingsRequest.Builder
to create a request.
Placeholder documentation for ListOfferingsRequestdefault CompletableFuture<ListReservationsResponse> listReservations(ListReservationsRequest listReservationsRequest)
listReservationsRequest
- Placeholder documentation for ListReservationsRequestdefault CompletableFuture<ListReservationsResponse> listReservations(Consumer<ListReservationsRequest.Builder> listReservationsRequest)
This is a convenience which creates an instance of the ListReservationsRequest.Builder
avoiding the need
to create one manually via ListReservationsRequest.builder()
listReservationsRequest
- A Consumer
that will call methods on ListReservationsRequest.Builder
to create a request.
Placeholder documentation for ListReservationsRequestdefault CompletableFuture<ListReservationsResponse> listReservations()
default ListReservationsPublisher listReservationsPaginator()
This is a variant of
listReservations(software.amazon.awssdk.services.medialive.model.ListReservationsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListReservationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListReservationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listReservations(software.amazon.awssdk.services.medialive.model.ListReservationsRequest)
operation.
default ListReservationsPublisher listReservationsPaginator(ListReservationsRequest listReservationsRequest)
This is a variant of
listReservations(software.amazon.awssdk.services.medialive.model.ListReservationsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListReservationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListReservationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listReservations(software.amazon.awssdk.services.medialive.model.ListReservationsRequest)
operation.
listReservationsRequest
- Placeholder documentation for ListReservationsRequestdefault ListReservationsPublisher listReservationsPaginator(Consumer<ListReservationsRequest.Builder> listReservationsRequest)
This is a variant of
listReservations(software.amazon.awssdk.services.medialive.model.ListReservationsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.medialive.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.medialive.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.medialive.model.ListReservationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.medialive.model.ListReservationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listReservations(software.amazon.awssdk.services.medialive.model.ListReservationsRequest)
operation.
This is a convenience which creates an instance of the ListReservationsRequest.Builder
avoiding the need
to create one manually via ListReservationsRequest.builder()
listReservationsRequest
- A Consumer
that will call methods on ListReservationsRequest.Builder
to create a request.
Placeholder documentation for ListReservationsRequestdefault CompletableFuture<PurchaseOfferingResponse> purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest)
purchaseOfferingRequest
- Placeholder documentation for PurchaseOfferingRequestdefault CompletableFuture<PurchaseOfferingResponse> purchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest)
This is a convenience which creates an instance of the PurchaseOfferingRequest.Builder
avoiding the need
to create one manually via PurchaseOfferingRequest.builder()
purchaseOfferingRequest
- A Consumer
that will call methods on PurchaseOfferingRequest.Builder
to create a request.
Placeholder documentation for PurchaseOfferingRequestdefault CompletableFuture<StartChannelResponse> startChannel(StartChannelRequest startChannelRequest)
startChannelRequest
- Placeholder documentation for StartChannelRequestdefault CompletableFuture<StartChannelResponse> startChannel(Consumer<StartChannelRequest.Builder> startChannelRequest)
This is a convenience which creates an instance of the StartChannelRequest.Builder
avoiding the need to
create one manually via StartChannelRequest.builder()
startChannelRequest
- A Consumer
that will call methods on StartChannelRequest.Builder
to create a request.
Placeholder documentation for StartChannelRequestdefault CompletableFuture<StopChannelResponse> stopChannel(StopChannelRequest stopChannelRequest)
stopChannelRequest
- Placeholder documentation for StopChannelRequestdefault CompletableFuture<StopChannelResponse> stopChannel(Consumer<StopChannelRequest.Builder> stopChannelRequest)
This is a convenience which creates an instance of the StopChannelRequest.Builder
avoiding the need to
create one manually via StopChannelRequest.builder()
stopChannelRequest
- A Consumer
that will call methods on StopChannelRequest.Builder
to create a request.
Placeholder documentation for StopChannelRequestdefault CompletableFuture<UpdateChannelResponse> updateChannel(UpdateChannelRequest updateChannelRequest)
updateChannelRequest
- A request to update a channel.default CompletableFuture<UpdateChannelResponse> updateChannel(Consumer<UpdateChannelRequest.Builder> updateChannelRequest)
This is a convenience which creates an instance of the UpdateChannelRequest.Builder
avoiding the need to
create one manually via UpdateChannelRequest.builder()
updateChannelRequest
- A Consumer
that will call methods on UpdateChannelRequest.Builder
to create a request. A
request to update a channel.default CompletableFuture<UpdateInputResponse> updateInput(UpdateInputRequest updateInputRequest)
updateInputRequest
- A request to update an input.default CompletableFuture<UpdateInputResponse> updateInput(Consumer<UpdateInputRequest.Builder> updateInputRequest)
This is a convenience which creates an instance of the UpdateInputRequest.Builder
avoiding the need to
create one manually via UpdateInputRequest.builder()
updateInputRequest
- A Consumer
that will call methods on UpdateInputRequest.Builder
to create a request. A
request to update an input.default CompletableFuture<UpdateInputSecurityGroupResponse> updateInputSecurityGroup(UpdateInputSecurityGroupRequest updateInputSecurityGroupRequest)
updateInputSecurityGroupRequest
- The request to update some combination of the Input Security Group name and the IPv4 CIDRs the Input
Security Group should allow.default CompletableFuture<UpdateInputSecurityGroupResponse> updateInputSecurityGroup(Consumer<UpdateInputSecurityGroupRequest.Builder> updateInputSecurityGroupRequest)
This is a convenience which creates an instance of the UpdateInputSecurityGroupRequest.Builder
avoiding
the need to create one manually via UpdateInputSecurityGroupRequest.builder()
updateInputSecurityGroupRequest
- A Consumer
that will call methods on UpdateInputSecurityGroupRequest.Builder
to create a
request. The request to update some combination of the Input Security Group name and the IPv4 CIDRs the
Input Security Group should allow.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.