@Generated(value="software.amazon.awssdk:codegen") public interface GuardDutyAsyncClient extends SdkClient, SdkAutoCloseable
builder() method.
Assess, monitor, manage, and remediate security issues across your AWS infrastructure, applications, and data.| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default CompletableFuture<AcceptInvitationResponse> |
acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
Accepts the invitation to be monitored by a master GuardDuty account.
|
default CompletableFuture<AcceptInvitationResponse> |
acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
Accepts the invitation to be monitored by a master GuardDuty account.
|
default CompletableFuture<ArchiveFindingsResponse> |
archiveFindings(ArchiveFindingsRequest archiveFindingsRequest)
Archives Amazon GuardDuty findings specified by the list of finding IDs.
|
default CompletableFuture<ArchiveFindingsResponse> |
archiveFindings(Consumer<ArchiveFindingsRequest.Builder> archiveFindingsRequest)
Archives Amazon GuardDuty findings specified by the list of finding IDs.
|
static GuardDutyAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
GuardDutyAsyncClient. |
static GuardDutyAsyncClient |
create()
Create a
GuardDutyAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateDetectorResponse> |
createDetector(Consumer<CreateDetectorRequest.Builder> createDetectorRequest)
Creates a single Amazon GuardDuty detector.
|
default CompletableFuture<CreateDetectorResponse> |
createDetector(CreateDetectorRequest createDetectorRequest)
Creates a single Amazon GuardDuty detector.
|
default CompletableFuture<CreateIPSetResponse> |
createIPSet(Consumer<CreateIPSetRequest.Builder> createIPSetRequest)
Creates a new IPSet - a list of trusted IP addresses that have been whitelisted for secure communication with AWS
infrastructure and applications.
|
default CompletableFuture<CreateIPSetResponse> |
createIPSet(CreateIPSetRequest createIPSetRequest)
Creates a new IPSet - a list of trusted IP addresses that have been whitelisted for secure communication with AWS
infrastructure and applications.
|
default CompletableFuture<CreateMembersResponse> |
createMembers(Consumer<CreateMembersRequest.Builder> createMembersRequest)
Creates member accounts of the current AWS account by specifying a list of AWS account IDs.
|
default CompletableFuture<CreateMembersResponse> |
createMembers(CreateMembersRequest createMembersRequest)
Creates member accounts of the current AWS account by specifying a list of AWS account IDs.
|
default CompletableFuture<CreateSampleFindingsResponse> |
createSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest)
Generates example findings of types specified by the list of finding types.
|
default CompletableFuture<CreateSampleFindingsResponse> |
createSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest)
Generates example findings of types specified by the list of finding types.
|
default CompletableFuture<CreateThreatIntelSetResponse> |
createThreatIntelSet(Consumer<CreateThreatIntelSetRequest.Builder> createThreatIntelSetRequest)
Create a new ThreatIntelSet.
|
default CompletableFuture<CreateThreatIntelSetResponse> |
createThreatIntelSet(CreateThreatIntelSetRequest createThreatIntelSetRequest)
Create a new ThreatIntelSet.
|
default CompletableFuture<DeclineInvitationsResponse> |
declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest)
Declines invitations sent to the current member account by AWS account specified by their account IDs.
|
default CompletableFuture<DeclineInvitationsResponse> |
declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines invitations sent to the current member account by AWS account specified by their account IDs.
|
default CompletableFuture<DeleteDetectorResponse> |
deleteDetector(Consumer<DeleteDetectorRequest.Builder> deleteDetectorRequest)
Deletes a Amazon GuardDuty detector specified by the detector ID.
|
default CompletableFuture<DeleteDetectorResponse> |
deleteDetector(DeleteDetectorRequest deleteDetectorRequest)
Deletes a Amazon GuardDuty detector specified by the detector ID.
|
default CompletableFuture<DeleteInvitationsResponse> |
deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest)
Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.
|
default CompletableFuture<DeleteInvitationsResponse> |
deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.
|
default CompletableFuture<DeleteIPSetResponse> |
deleteIPSet(Consumer<DeleteIPSetRequest.Builder> deleteIPSetRequest)
Deletes the IPSet specified by the IPSet ID.
|
default CompletableFuture<DeleteIPSetResponse> |
deleteIPSet(DeleteIPSetRequest deleteIPSetRequest)
Deletes the IPSet specified by the IPSet ID.
|
default CompletableFuture<DeleteMembersResponse> |
deleteMembers(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest)
Deletes GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
|
default CompletableFuture<DeleteMembersResponse> |
deleteMembers(DeleteMembersRequest deleteMembersRequest)
Deletes GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
|
default CompletableFuture<DeleteThreatIntelSetResponse> |
deleteThreatIntelSet(Consumer<DeleteThreatIntelSetRequest.Builder> deleteThreatIntelSetRequest)
Deletes ThreatIntelSet specified by the ThreatIntelSet ID.
|
default CompletableFuture<DeleteThreatIntelSetResponse> |
deleteThreatIntelSet(DeleteThreatIntelSetRequest deleteThreatIntelSetRequest)
Deletes ThreatIntelSet specified by the ThreatIntelSet ID.
|
default CompletableFuture<DisassociateFromMasterAccountResponse> |
disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
Disassociates the current GuardDuty member account from its master account.
|
default CompletableFuture<DisassociateFromMasterAccountResponse> |
disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
Disassociates the current GuardDuty member account from its master account.
|
default CompletableFuture<DisassociateMembersResponse> |
disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest)
Disassociates GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
|
default CompletableFuture<DisassociateMembersResponse> |
disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
Disassociates GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
|
default CompletableFuture<GetDetectorResponse> |
getDetector(Consumer<GetDetectorRequest.Builder> getDetectorRequest)
Retrieves an Amazon GuardDuty detector specified by the detectorId.
|
default CompletableFuture<GetDetectorResponse> |
getDetector(GetDetectorRequest getDetectorRequest)
Retrieves an Amazon GuardDuty detector specified by the detectorId.
|
default CompletableFuture<GetFindingsResponse> |
getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Describes Amazon GuardDuty findings specified by finding IDs.
|
default CompletableFuture<GetFindingsResponse> |
getFindings(GetFindingsRequest getFindingsRequest)
Describes Amazon GuardDuty findings specified by finding IDs.
|
default CompletableFuture<GetFindingsStatisticsResponse> |
getFindingsStatistics(Consumer<GetFindingsStatisticsRequest.Builder> getFindingsStatisticsRequest)
Lists Amazon GuardDuty findings' statistics for the specified detector ID.
|
default CompletableFuture<GetFindingsStatisticsResponse> |
getFindingsStatistics(GetFindingsStatisticsRequest getFindingsStatisticsRequest)
Lists Amazon GuardDuty findings' statistics for the specified detector ID.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount()
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the
currently accepted invitation.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest)
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the
currently accepted invitation.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest)
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the
currently accepted invitation.
|
default CompletableFuture<GetIPSetResponse> |
getIPSet(Consumer<GetIPSetRequest.Builder> getIPSetRequest)
Retrieves the IPSet specified by the IPSet ID.
|
default CompletableFuture<GetIPSetResponse> |
getIPSet(GetIPSetRequest getIPSetRequest)
Retrieves the IPSet specified by the IPSet ID.
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)
Provides the details for the GuardDuty master account to the current GuardDuty member account.
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
Provides the details for the GuardDuty master account to the current GuardDuty member account.
|
default CompletableFuture<GetMembersResponse> |
getMembers(Consumer<GetMembersRequest.Builder> getMembersRequest)
Retrieves GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
|
default CompletableFuture<GetMembersResponse> |
getMembers(GetMembersRequest getMembersRequest)
Retrieves GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.
|
default CompletableFuture<GetThreatIntelSetResponse> |
getThreatIntelSet(Consumer<GetThreatIntelSetRequest.Builder> getThreatIntelSetRequest)
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
|
default CompletableFuture<GetThreatIntelSetResponse> |
getThreatIntelSet(GetThreatIntelSetRequest getThreatIntelSetRequest)
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
|
default CompletableFuture<InviteMembersResponse> |
inviteMembers(Consumer<InviteMembersRequest.Builder> inviteMembersRequest)
Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty
and allow the current AWS account to view and manage these accounts' GuardDuty findings on their behalf as the
master account.
|
default CompletableFuture<InviteMembersResponse> |
inviteMembers(InviteMembersRequest inviteMembersRequest)
Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty
and allow the current AWS account to view and manage these accounts' GuardDuty findings on their behalf as the
master account.
|
default CompletableFuture<ListDetectorsResponse> |
listDetectors()
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default CompletableFuture<ListDetectorsResponse> |
listDetectors(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default CompletableFuture<ListDetectorsResponse> |
listDetectors(ListDetectorsRequest listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default ListDetectorsPublisher |
listDetectorsPaginator()
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default ListDetectorsPublisher |
listDetectorsPaginator(ListDetectorsRequest listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default CompletableFuture<ListFindingsResponse> |
listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default CompletableFuture<ListFindingsResponse> |
listFindings(ListFindingsRequest listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default ListFindingsPublisher |
listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default ListFindingsPublisher |
listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations()
Lists all GuardDuty membership invitations that were sent to the current AWS account.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current AWS account.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(ListInvitationsRequest listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current AWS account.
|
default ListInvitationsPublisher |
listInvitationsPaginator()
Lists all GuardDuty membership invitations that were sent to the current AWS account.
|
default ListInvitationsPublisher |
listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current AWS account.
|
default CompletableFuture<ListIPSetsResponse> |
listIPSets(Consumer<ListIPSetsRequest.Builder> listIPSetsRequest)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
default CompletableFuture<ListIPSetsResponse> |
listIPSets(ListIPSetsRequest listIPSetsRequest)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
default ListIPSetsPublisher |
listIPSetsPaginator(Consumer<ListIPSetsRequest.Builder> listIPSetsRequest)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
default ListIPSetsPublisher |
listIPSetsPaginator(ListIPSetsRequest listIPSetsRequest)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
default CompletableFuture<ListMembersResponse> |
listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current GuardDuty master account.
|
default CompletableFuture<ListMembersResponse> |
listMembers(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current GuardDuty master account.
|
default ListMembersPublisher |
listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current GuardDuty master account.
|
default ListMembersPublisher |
listMembersPaginator(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current GuardDuty master account.
|
default CompletableFuture<ListThreatIntelSetsResponse> |
listThreatIntelSets(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
default CompletableFuture<ListThreatIntelSetsResponse> |
listThreatIntelSets(ListThreatIntelSetsRequest listThreatIntelSetsRequest)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
default ListThreatIntelSetsPublisher |
listThreatIntelSetsPaginator(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
default ListThreatIntelSetsPublisher |
listThreatIntelSetsPaginator(ListThreatIntelSetsRequest listThreatIntelSetsRequest)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
default CompletableFuture<StartMonitoringMembersResponse> |
startMonitoringMembers(Consumer<StartMonitoringMembersRequest.Builder> startMonitoringMembersRequest)
Re-enables GuardDuty to monitor findings of the member accounts specified by the account IDs.
|
default CompletableFuture<StartMonitoringMembersResponse> |
startMonitoringMembers(StartMonitoringMembersRequest startMonitoringMembersRequest)
Re-enables GuardDuty to monitor findings of the member accounts specified by the account IDs.
|
default CompletableFuture<StopMonitoringMembersResponse> |
stopMonitoringMembers(Consumer<StopMonitoringMembersRequest.Builder> stopMonitoringMembersRequest)
Disables GuardDuty from monitoring findings of the member accounts specified by the account IDs.
|
default CompletableFuture<StopMonitoringMembersResponse> |
stopMonitoringMembers(StopMonitoringMembersRequest stopMonitoringMembersRequest)
Disables GuardDuty from monitoring findings of the member accounts specified by the account IDs.
|
default CompletableFuture<UnarchiveFindingsResponse> |
unarchiveFindings(Consumer<UnarchiveFindingsRequest.Builder> unarchiveFindingsRequest)
Unarchives Amazon GuardDuty findings specified by the list of finding IDs.
|
default CompletableFuture<UnarchiveFindingsResponse> |
unarchiveFindings(UnarchiveFindingsRequest unarchiveFindingsRequest)
Unarchives Amazon GuardDuty findings specified by the list of finding IDs.
|
default CompletableFuture<UpdateDetectorResponse> |
updateDetector(Consumer<UpdateDetectorRequest.Builder> updateDetectorRequest)
Updates an Amazon GuardDuty detector specified by the detectorId.
|
default CompletableFuture<UpdateDetectorResponse> |
updateDetector(UpdateDetectorRequest updateDetectorRequest)
Updates an Amazon GuardDuty detector specified by the detectorId.
|
default CompletableFuture<UpdateFindingsFeedbackResponse> |
updateFindingsFeedback(Consumer<UpdateFindingsFeedbackRequest.Builder> updateFindingsFeedbackRequest)
Marks specified Amazon GuardDuty findings as useful or not useful.
|
default CompletableFuture<UpdateFindingsFeedbackResponse> |
updateFindingsFeedback(UpdateFindingsFeedbackRequest updateFindingsFeedbackRequest)
Marks specified Amazon GuardDuty findings as useful or not useful.
|
default CompletableFuture<UpdateIPSetResponse> |
updateIPSet(Consumer<UpdateIPSetRequest.Builder> updateIPSetRequest)
Updates the IPSet specified by the IPSet ID.
|
default CompletableFuture<UpdateIPSetResponse> |
updateIPSet(UpdateIPSetRequest updateIPSetRequest)
Updates the IPSet specified by the IPSet ID.
|
default CompletableFuture<UpdateThreatIntelSetResponse> |
updateThreatIntelSet(Consumer<UpdateThreatIntelSetRequest.Builder> updateThreatIntelSetRequest)
Updates the ThreatIntelSet specified by ThreatIntelSet ID.
|
default CompletableFuture<UpdateThreatIntelSetResponse> |
updateThreatIntelSet(UpdateThreatIntelSetRequest updateThreatIntelSetRequest)
Updates the ThreatIntelSet specified by ThreatIntelSet ID.
|
serviceNameclosestatic final String SERVICE_NAME
static GuardDutyAsyncClient create()
GuardDutyAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static GuardDutyAsyncClientBuilder builder()
GuardDutyAsyncClient.default CompletableFuture<AcceptInvitationResponse> acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
acceptInvitationRequest - AcceptInvitation request body.default CompletableFuture<AcceptInvitationResponse> acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
This is a convenience which creates an instance of the AcceptInvitationRequest.Builder avoiding the need
to create one manually via AcceptInvitationRequest.builder()
acceptInvitationRequest - A Consumer that will call methods on AcceptInvitationRequest.Builder to create a request.
AcceptInvitation request body.default CompletableFuture<ArchiveFindingsResponse> archiveFindings(ArchiveFindingsRequest archiveFindingsRequest)
archiveFindingsRequest - ArchiveFindings request body.default CompletableFuture<ArchiveFindingsResponse> archiveFindings(Consumer<ArchiveFindingsRequest.Builder> archiveFindingsRequest)
This is a convenience which creates an instance of the ArchiveFindingsRequest.Builder avoiding the need
to create one manually via ArchiveFindingsRequest.builder()
archiveFindingsRequest - A Consumer that will call methods on ArchiveFindingsRequest.Builder to create a request.
ArchiveFindings request body.default CompletableFuture<CreateDetectorResponse> createDetector(CreateDetectorRequest createDetectorRequest)
createDetectorRequest - CreateDetector request body.default CompletableFuture<CreateDetectorResponse> createDetector(Consumer<CreateDetectorRequest.Builder> createDetectorRequest)
This is a convenience which creates an instance of the CreateDetectorRequest.Builder avoiding the need to
create one manually via CreateDetectorRequest.builder()
createDetectorRequest - A Consumer that will call methods on CreateDetectorRequest.Builder to create a request.
CreateDetector request body.default CompletableFuture<CreateIPSetResponse> createIPSet(CreateIPSetRequest createIPSetRequest)
createIPSetRequest - CreateIPSet request body.default CompletableFuture<CreateIPSetResponse> createIPSet(Consumer<CreateIPSetRequest.Builder> createIPSetRequest)
This is a convenience which creates an instance of the CreateIPSetRequest.Builder avoiding the need to
create one manually via CreateIPSetRequest.builder()
createIPSetRequest - A Consumer that will call methods on CreateIPSetRequest.Builder to create a request.
CreateIPSet request body.default CompletableFuture<CreateMembersResponse> createMembers(CreateMembersRequest createMembersRequest)
createMembersRequest - CreateMembers request body.default CompletableFuture<CreateMembersResponse> createMembers(Consumer<CreateMembersRequest.Builder> createMembersRequest)
This is a convenience which creates an instance of the CreateMembersRequest.Builder avoiding the need to
create one manually via CreateMembersRequest.builder()
createMembersRequest - A Consumer that will call methods on CreateMembersRequest.Builder to create a request.
CreateMembers request body.default CompletableFuture<CreateSampleFindingsResponse> createSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest)
createSampleFindingsRequest - CreateSampleFindings request body.default CompletableFuture<CreateSampleFindingsResponse> createSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest)
This is a convenience which creates an instance of the CreateSampleFindingsRequest.Builder avoiding the
need to create one manually via CreateSampleFindingsRequest.builder()
createSampleFindingsRequest - A Consumer that will call methods on CreateSampleFindingsRequest.Builder to create a
request. CreateSampleFindings request body.default CompletableFuture<CreateThreatIntelSetResponse> createThreatIntelSet(CreateThreatIntelSetRequest createThreatIntelSetRequest)
createThreatIntelSetRequest - CreateThreatIntelSet request body.default CompletableFuture<CreateThreatIntelSetResponse> createThreatIntelSet(Consumer<CreateThreatIntelSetRequest.Builder> createThreatIntelSetRequest)
This is a convenience which creates an instance of the CreateThreatIntelSetRequest.Builder avoiding the
need to create one manually via CreateThreatIntelSetRequest.builder()
createThreatIntelSetRequest - A Consumer that will call methods on CreateThreatIntelSetRequest.Builder to create a
request. CreateThreatIntelSet request body.default CompletableFuture<DeclineInvitationsResponse> declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
declineInvitationsRequest - DeclineInvitations request body.default CompletableFuture<DeclineInvitationsResponse> declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest)
This is a convenience which creates an instance of the DeclineInvitationsRequest.Builder avoiding the
need to create one manually via DeclineInvitationsRequest.builder()
declineInvitationsRequest - A Consumer that will call methods on DeclineInvitationsRequest.Builder to create a
request. DeclineInvitations request body.default CompletableFuture<DeleteDetectorResponse> deleteDetector(DeleteDetectorRequest deleteDetectorRequest)
deleteDetectorRequest - default CompletableFuture<DeleteDetectorResponse> deleteDetector(Consumer<DeleteDetectorRequest.Builder> deleteDetectorRequest)
This is a convenience which creates an instance of the DeleteDetectorRequest.Builder avoiding the need to
create one manually via DeleteDetectorRequest.builder()
deleteDetectorRequest - A Consumer that will call methods on DeleteDetectorRequest.Builder to create a request.default CompletableFuture<DeleteIPSetResponse> deleteIPSet(DeleteIPSetRequest deleteIPSetRequest)
deleteIPSetRequest - default CompletableFuture<DeleteIPSetResponse> deleteIPSet(Consumer<DeleteIPSetRequest.Builder> deleteIPSetRequest)
This is a convenience which creates an instance of the DeleteIPSetRequest.Builder avoiding the need to
create one manually via DeleteIPSetRequest.builder()
deleteIPSetRequest - A Consumer that will call methods on DeleteIPSetRequest.Builder to create a request.default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
deleteInvitationsRequest - DeleteInvitations request body.default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest)
This is a convenience which creates an instance of the DeleteInvitationsRequest.Builder avoiding the need
to create one manually via DeleteInvitationsRequest.builder()
deleteInvitationsRequest - A Consumer that will call methods on DeleteInvitationsRequest.Builder to create a request.
DeleteInvitations request body.default CompletableFuture<DeleteMembersResponse> deleteMembers(DeleteMembersRequest deleteMembersRequest)
deleteMembersRequest - DeleteMembers request body.default CompletableFuture<DeleteMembersResponse> deleteMembers(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest)
This is a convenience which creates an instance of the DeleteMembersRequest.Builder avoiding the need to
create one manually via DeleteMembersRequest.builder()
deleteMembersRequest - A Consumer that will call methods on DeleteMembersRequest.Builder to create a request.
DeleteMembers request body.default CompletableFuture<DeleteThreatIntelSetResponse> deleteThreatIntelSet(DeleteThreatIntelSetRequest deleteThreatIntelSetRequest)
deleteThreatIntelSetRequest - default CompletableFuture<DeleteThreatIntelSetResponse> deleteThreatIntelSet(Consumer<DeleteThreatIntelSetRequest.Builder> deleteThreatIntelSetRequest)
This is a convenience which creates an instance of the DeleteThreatIntelSetRequest.Builder avoiding the
need to create one manually via DeleteThreatIntelSetRequest.builder()
deleteThreatIntelSetRequest - A Consumer that will call methods on DeleteThreatIntelSetRequest.Builder to create a
request.default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
disassociateFromMasterAccountRequest - default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
This is a convenience which creates an instance of the DisassociateFromMasterAccountRequest.Builder
avoiding the need to create one manually via DisassociateFromMasterAccountRequest.builder()
disassociateFromMasterAccountRequest - A Consumer that will call methods on DisassociateFromMasterAccountRequest.Builder to
create a request.default CompletableFuture<DisassociateMembersResponse> disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
disassociateMembersRequest - DisassociateMembers request body.default CompletableFuture<DisassociateMembersResponse> disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest)
This is a convenience which creates an instance of the DisassociateMembersRequest.Builder avoiding the
need to create one manually via DisassociateMembersRequest.builder()
disassociateMembersRequest - A Consumer that will call methods on DisassociateMembersRequest.Builder to create a
request. DisassociateMembers request body.default CompletableFuture<GetDetectorResponse> getDetector(GetDetectorRequest getDetectorRequest)
getDetectorRequest - default CompletableFuture<GetDetectorResponse> getDetector(Consumer<GetDetectorRequest.Builder> getDetectorRequest)
This is a convenience which creates an instance of the GetDetectorRequest.Builder avoiding the need to
create one manually via GetDetectorRequest.builder()
getDetectorRequest - A Consumer that will call methods on GetDetectorRequest.Builder to create a request.default CompletableFuture<GetFindingsResponse> getFindings(GetFindingsRequest getFindingsRequest)
getFindingsRequest - GetFindings request body.default CompletableFuture<GetFindingsResponse> getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
This is a convenience which creates an instance of the GetFindingsRequest.Builder avoiding the need to
create one manually via GetFindingsRequest.builder()
getFindingsRequest - A Consumer that will call methods on GetFindingsRequest.Builder to create a request.
GetFindings request body.default CompletableFuture<GetFindingsStatisticsResponse> getFindingsStatistics(GetFindingsStatisticsRequest getFindingsStatisticsRequest)
getFindingsStatisticsRequest - GetFindingsStatistics request body.default CompletableFuture<GetFindingsStatisticsResponse> getFindingsStatistics(Consumer<GetFindingsStatisticsRequest.Builder> getFindingsStatisticsRequest)
This is a convenience which creates an instance of the GetFindingsStatisticsRequest.Builder avoiding the
need to create one manually via GetFindingsStatisticsRequest.builder()
getFindingsStatisticsRequest - A Consumer that will call methods on GetFindingsStatisticsRequest.Builder to create a
request. GetFindingsStatistics request body.default CompletableFuture<GetIPSetResponse> getIPSet(GetIPSetRequest getIPSetRequest)
getIPSetRequest - default CompletableFuture<GetIPSetResponse> getIPSet(Consumer<GetIPSetRequest.Builder> getIPSetRequest)
This is a convenience which creates an instance of the GetIPSetRequest.Builder avoiding the need to
create one manually via GetIPSetRequest.builder()
getIPSetRequest - A Consumer that will call methods on GetIPSetRequest.Builder to create a request.default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest)
getInvitationsCountRequest - default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest)
This is a convenience which creates an instance of the GetInvitationsCountRequest.Builder avoiding the
need to create one manually via GetInvitationsCountRequest.builder()
getInvitationsCountRequest - A Consumer that will call methods on GetInvitationsCountRequest.Builder to create a
request.default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount()
default CompletableFuture<GetMasterAccountResponse> getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
getMasterAccountRequest - default CompletableFuture<GetMasterAccountResponse> getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)
This is a convenience which creates an instance of the GetMasterAccountRequest.Builder avoiding the need
to create one manually via GetMasterAccountRequest.builder()
getMasterAccountRequest - A Consumer that will call methods on GetMasterAccountRequest.Builder to create a request.default CompletableFuture<GetMembersResponse> getMembers(GetMembersRequest getMembersRequest)
getMembersRequest - GetMembers request body.default CompletableFuture<GetMembersResponse> getMembers(Consumer<GetMembersRequest.Builder> getMembersRequest)
This is a convenience which creates an instance of the GetMembersRequest.Builder avoiding the need to
create one manually via GetMembersRequest.builder()
getMembersRequest - A Consumer that will call methods on GetMembersRequest.Builder to create a request.
GetMembers request body.default CompletableFuture<GetThreatIntelSetResponse> getThreatIntelSet(GetThreatIntelSetRequest getThreatIntelSetRequest)
getThreatIntelSetRequest - default CompletableFuture<GetThreatIntelSetResponse> getThreatIntelSet(Consumer<GetThreatIntelSetRequest.Builder> getThreatIntelSetRequest)
This is a convenience which creates an instance of the GetThreatIntelSetRequest.Builder avoiding the need
to create one manually via GetThreatIntelSetRequest.builder()
getThreatIntelSetRequest - A Consumer that will call methods on GetThreatIntelSetRequest.Builder to create a request.default CompletableFuture<InviteMembersResponse> inviteMembers(InviteMembersRequest inviteMembersRequest)
inviteMembersRequest - InviteMembers request body.default CompletableFuture<InviteMembersResponse> inviteMembers(Consumer<InviteMembersRequest.Builder> inviteMembersRequest)
This is a convenience which creates an instance of the InviteMembersRequest.Builder avoiding the need to
create one manually via InviteMembersRequest.builder()
inviteMembersRequest - A Consumer that will call methods on InviteMembersRequest.Builder to create a request.
InviteMembers request body.default CompletableFuture<ListDetectorsResponse> listDetectors(ListDetectorsRequest listDetectorsRequest)
listDetectorsRequest - default CompletableFuture<ListDetectorsResponse> listDetectors(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)
This is a convenience which creates an instance of the ListDetectorsRequest.Builder avoiding the need to
create one manually via ListDetectorsRequest.builder()
listDetectorsRequest - A Consumer that will call methods on ListDetectorsRequest.Builder to create a request.default CompletableFuture<ListDetectorsResponse> listDetectors()
default ListDetectorsPublisher listDetectorsPaginator(ListDetectorsRequest listDetectorsRequest)
This is a variant of listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse 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
listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest) operation.
listDetectorsRequest - default ListDetectorsPublisher listDetectorsPaginator()
This is a variant of listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse 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
listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest) operation.
default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest)
listFindingsRequest - ListFindings request body.default CompletableFuture<ListFindingsResponse> listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
This is a convenience which creates an instance of the ListFindingsRequest.Builder avoiding the need to
create one manually via ListFindingsRequest.builder()
listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.
ListFindings request body.default ListFindingsPublisher listFindingsPaginator(ListFindingsRequest listFindingsRequest)
This is a variant of listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListFindingsResponse 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
listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest) operation.
listFindingsRequest - ListFindings request body.default ListFindingsPublisher listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
This is a variant of listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListFindingsResponse 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
listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest) operation.
This is a convenience which creates an instance of the ListFindingsRequest.Builder avoiding the need to
create one manually via ListFindingsRequest.builder()
listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.
ListFindings request body.default CompletableFuture<ListIPSetsResponse> listIPSets(ListIPSetsRequest listIPSetsRequest)
listIPSetsRequest - default CompletableFuture<ListIPSetsResponse> listIPSets(Consumer<ListIPSetsRequest.Builder> listIPSetsRequest)
This is a convenience which creates an instance of the ListIPSetsRequest.Builder avoiding the need to
create one manually via ListIPSetsRequest.builder()
listIPSetsRequest - A Consumer that will call methods on ListIPSetsRequest.Builder to create a request.default ListIPSetsPublisher listIPSetsPaginator(ListIPSetsRequest listIPSetsRequest)
This is a variant of listIPSets(software.amazon.awssdk.services.guardduty.model.ListIPSetsRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListIPSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListIPSetsResponse 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
listIPSets(software.amazon.awssdk.services.guardduty.model.ListIPSetsRequest) operation.
listIPSetsRequest - default ListIPSetsPublisher listIPSetsPaginator(Consumer<ListIPSetsRequest.Builder> listIPSetsRequest)
This is a variant of listIPSets(software.amazon.awssdk.services.guardduty.model.ListIPSetsRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListIPSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListIPSetsResponse 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
listIPSets(software.amazon.awssdk.services.guardduty.model.ListIPSetsRequest) operation.
This is a convenience which creates an instance of the ListIPSetsRequest.Builder avoiding the need to
create one manually via ListIPSetsRequest.builder()
listIPSetsRequest - A Consumer that will call methods on ListIPSetsRequest.Builder to create a request.default CompletableFuture<ListInvitationsResponse> listInvitations(ListInvitationsRequest listInvitationsRequest)
listInvitationsRequest - default CompletableFuture<ListInvitationsResponse> listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need
to create one manually via ListInvitationsRequest.builder()
listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.default CompletableFuture<ListInvitationsResponse> listInvitations()
default ListInvitationsPublisher listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
This is a variant of
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest) 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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse 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
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest) operation.
listInvitationsRequest - default ListInvitationsPublisher listInvitationsPaginator()
This is a variant of
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest) 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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse 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
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest) operation.
default CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest listMembersRequest)
listMembersRequest - default CompletableFuture<ListMembersResponse> listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest)
This is a variant of listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListMembersResponse 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
listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest) operation.
listMembersRequest - default ListMembersPublisher listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
This is a variant of listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListMembersResponse 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
listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest) operation.
This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.default CompletableFuture<ListThreatIntelSetsResponse> listThreatIntelSets(ListThreatIntelSetsRequest listThreatIntelSetsRequest)
listThreatIntelSetsRequest - default CompletableFuture<ListThreatIntelSetsResponse> listThreatIntelSets(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest)
This is a convenience which creates an instance of the ListThreatIntelSetsRequest.Builder avoiding the
need to create one manually via ListThreatIntelSetsRequest.builder()
listThreatIntelSetsRequest - A Consumer that will call methods on ListThreatIntelSetsRequest.Builder to create a
request.default ListThreatIntelSetsPublisher listThreatIntelSetsPaginator(ListThreatIntelSetsRequest listThreatIntelSetsRequest)
This is a variant of
listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse 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
listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
operation.
listThreatIntelSetsRequest - default ListThreatIntelSetsPublisher listThreatIntelSetsPaginator(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest)
This is a variant of
listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
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 forEach helper method
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse 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
listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
operation.
This is a convenience which creates an instance of the ListThreatIntelSetsRequest.Builder avoiding the
need to create one manually via ListThreatIntelSetsRequest.builder()
listThreatIntelSetsRequest - A Consumer that will call methods on ListThreatIntelSetsRequest.Builder to create a
request.default CompletableFuture<StartMonitoringMembersResponse> startMonitoringMembers(StartMonitoringMembersRequest startMonitoringMembersRequest)
startMonitoringMembersRequest - StartMonitoringMembers request body.default CompletableFuture<StartMonitoringMembersResponse> startMonitoringMembers(Consumer<StartMonitoringMembersRequest.Builder> startMonitoringMembersRequest)
This is a convenience which creates an instance of the StartMonitoringMembersRequest.Builder avoiding the
need to create one manually via StartMonitoringMembersRequest.builder()
startMonitoringMembersRequest - A Consumer that will call methods on StartMonitoringMembersRequest.Builder to create a
request. StartMonitoringMembers request body.default CompletableFuture<StopMonitoringMembersResponse> stopMonitoringMembers(StopMonitoringMembersRequest stopMonitoringMembersRequest)
stopMonitoringMembersRequest - StopMonitoringMembers request body.default CompletableFuture<StopMonitoringMembersResponse> stopMonitoringMembers(Consumer<StopMonitoringMembersRequest.Builder> stopMonitoringMembersRequest)
This is a convenience which creates an instance of the StopMonitoringMembersRequest.Builder avoiding the
need to create one manually via StopMonitoringMembersRequest.builder()
stopMonitoringMembersRequest - A Consumer that will call methods on StopMonitoringMembersRequest.Builder to create a
request. StopMonitoringMembers request body.default CompletableFuture<UnarchiveFindingsResponse> unarchiveFindings(UnarchiveFindingsRequest unarchiveFindingsRequest)
unarchiveFindingsRequest - UnarchiveFindings request body.default CompletableFuture<UnarchiveFindingsResponse> unarchiveFindings(Consumer<UnarchiveFindingsRequest.Builder> unarchiveFindingsRequest)
This is a convenience which creates an instance of the UnarchiveFindingsRequest.Builder avoiding the need
to create one manually via UnarchiveFindingsRequest.builder()
unarchiveFindingsRequest - A Consumer that will call methods on UnarchiveFindingsRequest.Builder to create a request.
UnarchiveFindings request body.default CompletableFuture<UpdateDetectorResponse> updateDetector(UpdateDetectorRequest updateDetectorRequest)
updateDetectorRequest - UpdateDetector request body.default CompletableFuture<UpdateDetectorResponse> updateDetector(Consumer<UpdateDetectorRequest.Builder> updateDetectorRequest)
This is a convenience which creates an instance of the UpdateDetectorRequest.Builder avoiding the need to
create one manually via UpdateDetectorRequest.builder()
updateDetectorRequest - A Consumer that will call methods on UpdateDetectorRequest.Builder to create a request.
UpdateDetector request body.default CompletableFuture<UpdateFindingsFeedbackResponse> updateFindingsFeedback(UpdateFindingsFeedbackRequest updateFindingsFeedbackRequest)
updateFindingsFeedbackRequest - UpdateFindingsFeedback request body.default CompletableFuture<UpdateFindingsFeedbackResponse> updateFindingsFeedback(Consumer<UpdateFindingsFeedbackRequest.Builder> updateFindingsFeedbackRequest)
This is a convenience which creates an instance of the UpdateFindingsFeedbackRequest.Builder avoiding the
need to create one manually via UpdateFindingsFeedbackRequest.builder()
updateFindingsFeedbackRequest - A Consumer that will call methods on UpdateFindingsFeedbackRequest.Builder to create a
request. UpdateFindingsFeedback request body.default CompletableFuture<UpdateIPSetResponse> updateIPSet(UpdateIPSetRequest updateIPSetRequest)
updateIPSetRequest - UpdateIPSet request body.default CompletableFuture<UpdateIPSetResponse> updateIPSet(Consumer<UpdateIPSetRequest.Builder> updateIPSetRequest)
This is a convenience which creates an instance of the UpdateIPSetRequest.Builder avoiding the need to
create one manually via UpdateIPSetRequest.builder()
updateIPSetRequest - A Consumer that will call methods on UpdateIPSetRequest.Builder to create a request.
UpdateIPSet request body.default CompletableFuture<UpdateThreatIntelSetResponse> updateThreatIntelSet(UpdateThreatIntelSetRequest updateThreatIntelSetRequest)
updateThreatIntelSetRequest - UpdateThreatIntelSet request body.default CompletableFuture<UpdateThreatIntelSetResponse> updateThreatIntelSet(Consumer<UpdateThreatIntelSetRequest.Builder> updateThreatIntelSetRequest)
This is a convenience which creates an instance of the UpdateThreatIntelSetRequest.Builder avoiding the
need to create one manually via UpdateThreatIntelSetRequest.builder()
updateThreatIntelSetRequest - A Consumer that will call methods on UpdateThreatIntelSetRequest.Builder to create a
request. UpdateThreatIntelSet request body.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.