@Generated(value="software.amazon.awssdk:codegen") public interface SecurityHubAsyncClient extends SdkClient
builder()
method.
AWS Security Hub provides you with a comprehensive view of your security state within AWS and your compliance with the security industry standards and best practices. Security Hub collects security data from across AWS accounts, services, and supported third-party partners and helps you analyze your security trends and identify the highest priority security issues. For more information, see AWS Security Hub User Guide.
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 SecurityHub account.
|
default CompletableFuture<AcceptInvitationResponse> |
acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
Accepts the invitation to be monitored by a master SecurityHub account.
|
default CompletableFuture<BatchDisableStandardsResponse> |
batchDisableStandards(BatchDisableStandardsRequest batchDisableStandardsRequest)
Disables the standards specified by the standards subscription ARNs.
|
default CompletableFuture<BatchDisableStandardsResponse> |
batchDisableStandards(Consumer<BatchDisableStandardsRequest.Builder> batchDisableStandardsRequest)
Disables the standards specified by the standards subscription ARNs.
|
default CompletableFuture<BatchEnableStandardsResponse> |
batchEnableStandards(BatchEnableStandardsRequest batchEnableStandardsRequest)
Enables the standards specified by the standards ARNs.
|
default CompletableFuture<BatchEnableStandardsResponse> |
batchEnableStandards(Consumer<BatchEnableStandardsRequest.Builder> batchEnableStandardsRequest)
Enables the standards specified by the standards ARNs.
|
default CompletableFuture<BatchImportFindingsResponse> |
batchImportFindings(BatchImportFindingsRequest batchImportFindingsRequest)
Imports security findings that are generated by the integrated third-party products into Security Hub.
|
default CompletableFuture<BatchImportFindingsResponse> |
batchImportFindings(Consumer<BatchImportFindingsRequest.Builder> batchImportFindingsRequest)
Imports security findings that are generated by the integrated third-party products into Security Hub.
|
static SecurityHubAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
SecurityHubAsyncClient . |
static SecurityHubAsyncClient |
create()
Create a
SecurityHubAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateInsightResponse> |
createInsight(Consumer<CreateInsightRequest.Builder> createInsightRequest)
Creates an insight, which is a consolidation of findings that identifies a security area that requires attention
or intervention.
|
default CompletableFuture<CreateInsightResponse> |
createInsight(CreateInsightRequest createInsightRequest)
Creates an insight, which is a consolidation of findings that identifies a security area that requires attention
or intervention.
|
default CompletableFuture<CreateMembersResponse> |
createMembers(Consumer<CreateMembersRequest.Builder> createMembersRequest)
Creates member Security Hub accounts in the current AWS account (which becomes the master Security Hub account)
that has Security Hub enabled.
|
default CompletableFuture<CreateMembersResponse> |
createMembers(CreateMembersRequest createMembersRequest)
Creates member Security Hub accounts in the current AWS account (which becomes the master Security Hub account)
that has Security Hub enabled.
|
default CompletableFuture<DeclineInvitationsResponse> |
declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest)
Declines invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are
specified by the account IDs.
|
default CompletableFuture<DeclineInvitationsResponse> |
declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are
specified by the account IDs.
|
default CompletableFuture<DeleteInsightResponse> |
deleteInsight(Consumer<DeleteInsightRequest.Builder> deleteInsightRequest)
Deletes an insight that is specified by the insight ARN.
|
default CompletableFuture<DeleteInsightResponse> |
deleteInsight(DeleteInsightRequest deleteInsightRequest)
Deletes an insight that is specified by the insight ARN.
|
default CompletableFuture<DeleteInvitationsResponse> |
deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest)
Deletes invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are specified
by their account IDs.
|
default CompletableFuture<DeleteInvitationsResponse> |
deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are specified
by their account IDs.
|
default CompletableFuture<DeleteMembersResponse> |
deleteMembers(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest)
Deletes the Security Hub member accounts that are specified by the account IDs.
|
default CompletableFuture<DeleteMembersResponse> |
deleteMembers(DeleteMembersRequest deleteMembersRequest)
Deletes the Security Hub member accounts that are specified by the account IDs.
|
default CompletableFuture<DisableImportFindingsForProductResponse> |
disableImportFindingsForProduct(Consumer<DisableImportFindingsForProductRequest.Builder> disableImportFindingsForProductRequest)
Stops you from being able to import findings generated by integrated third-party providers into Security Hub.
|
default CompletableFuture<DisableImportFindingsForProductResponse> |
disableImportFindingsForProduct(DisableImportFindingsForProductRequest disableImportFindingsForProductRequest)
Stops you from being able to import findings generated by integrated third-party providers into Security Hub.
|
default CompletableFuture<DisableSecurityHubResponse> |
disableSecurityHub(Consumer<DisableSecurityHubRequest.Builder> disableSecurityHubRequest)
Disables the AWS Security Hub Service.
|
default CompletableFuture<DisableSecurityHubResponse> |
disableSecurityHub(DisableSecurityHubRequest disableSecurityHubRequest)
Disables the AWS Security Hub Service.
|
default CompletableFuture<DisassociateFromMasterAccountResponse> |
disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
Disassociates the current Security Hub member account from its master account.
|
default CompletableFuture<DisassociateFromMasterAccountResponse> |
disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
Disassociates the current Security Hub member account from its master account.
|
default CompletableFuture<DisassociateMembersResponse> |
disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest)
Disassociates the Security Hub member accounts that are specified by the account IDs from their master account.
|
default CompletableFuture<DisassociateMembersResponse> |
disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
Disassociates the Security Hub member accounts that are specified by the account IDs from their master account.
|
default CompletableFuture<EnableImportFindingsForProductResponse> |
enableImportFindingsForProduct(Consumer<EnableImportFindingsForProductRequest.Builder> enableImportFindingsForProductRequest)
Enables you to import findings generated by integrated third-party providers into Security Hub.
|
default CompletableFuture<EnableImportFindingsForProductResponse> |
enableImportFindingsForProduct(EnableImportFindingsForProductRequest enableImportFindingsForProductRequest)
Enables you to import findings generated by integrated third-party providers into Security Hub.
|
default CompletableFuture<EnableSecurityHubResponse> |
enableSecurityHub(Consumer<EnableSecurityHubRequest.Builder> enableSecurityHubRequest)
Enables the AWS Security Hub service.
|
default CompletableFuture<EnableSecurityHubResponse> |
enableSecurityHub(EnableSecurityHubRequest enableSecurityHubRequest)
Enables the AWS Security Hub service.
|
default CompletableFuture<GetEnabledStandardsResponse> |
getEnabledStandards(Consumer<GetEnabledStandardsRequest.Builder> getEnabledStandardsRequest)
Lists and describes enabled standards.
|
default CompletableFuture<GetEnabledStandardsResponse> |
getEnabledStandards(GetEnabledStandardsRequest getEnabledStandardsRequest)
Lists and describes enabled standards.
|
default CompletableFuture<GetFindingsResponse> |
getFindings()
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
|
default CompletableFuture<GetFindingsResponse> |
getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
|
default CompletableFuture<GetFindingsResponse> |
getFindings(GetFindingsRequest getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
|
default GetFindingsPublisher |
getFindingsPaginator()
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
|
default GetFindingsPublisher |
getFindingsPaginator(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
|
default GetFindingsPublisher |
getFindingsPaginator(GetFindingsRequest getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
|
default CompletableFuture<GetInsightResultsResponse> |
getInsightResults(Consumer<GetInsightResultsRequest.Builder> getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
|
default CompletableFuture<GetInsightResultsResponse> |
getInsightResults(GetInsightResultsRequest getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
|
default CompletableFuture<GetInsightsResponse> |
getInsights(Consumer<GetInsightsRequest.Builder> getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
|
default CompletableFuture<GetInsightsResponse> |
getInsights(GetInsightsRequest getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
|
default GetInsightsPublisher |
getInsightsPaginator(Consumer<GetInsightsRequest.Builder> getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
|
default GetInsightsPublisher |
getInsightsPaginator(GetInsightsRequest getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount()
Returns the count of all Security Hub membership invitations that were sent to the current member account, not
including the currently accepted invitation.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not
including the currently accepted invitation.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not
including the currently accepted invitation.
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount()
Provides the details for the Security Hub master account to the current member account.
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)
Provides the details for the Security Hub master account to the current member account.
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
Provides the details for the Security Hub master account to the current member account.
|
default CompletableFuture<GetMembersResponse> |
getMembers(Consumer<GetMembersRequest.Builder> getMembersRequest)
Returns the details on the Security Hub member accounts that are specified by the account IDs.
|
default CompletableFuture<GetMembersResponse> |
getMembers(GetMembersRequest getMembersRequest)
Returns the details on the Security Hub member accounts that are specified by the account IDs.
|
default CompletableFuture<InviteMembersResponse> |
inviteMembers(Consumer<InviteMembersRequest.Builder> inviteMembersRequest)
Invites other AWS accounts to enable Security Hub and become Security Hub member accounts.
|
default CompletableFuture<InviteMembersResponse> |
inviteMembers(InviteMembersRequest inviteMembersRequest)
Invites other AWS accounts to enable Security Hub and become Security Hub member accounts.
|
default CompletableFuture<ListEnabledProductsForImportResponse> |
listEnabledProductsForImport()
Lists all Security Hub-integrated third-party findings providers.
|
default CompletableFuture<ListEnabledProductsForImportResponse> |
listEnabledProductsForImport(Consumer<ListEnabledProductsForImportRequest.Builder> listEnabledProductsForImportRequest)
Lists all Security Hub-integrated third-party findings providers.
|
default CompletableFuture<ListEnabledProductsForImportResponse> |
listEnabledProductsForImport(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all Security Hub-integrated third-party findings providers.
|
default ListEnabledProductsForImportPublisher |
listEnabledProductsForImportPaginator()
Lists all Security Hub-integrated third-party findings providers.
|
default ListEnabledProductsForImportPublisher |
listEnabledProductsForImportPaginator(Consumer<ListEnabledProductsForImportRequest.Builder> listEnabledProductsForImportRequest)
Lists all Security Hub-integrated third-party findings providers.
|
default ListEnabledProductsForImportPublisher |
listEnabledProductsForImportPaginator(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all Security Hub-integrated third-party findings providers.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations()
Lists all Security Hub membership invitations that were sent to the current AWS account.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current AWS account.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(ListInvitationsRequest listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current AWS account.
|
default CompletableFuture<ListMembersResponse> |
listMembers()
Lists details about all member accounts for the current Security Hub master account.
|
default CompletableFuture<ListMembersResponse> |
listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current Security Hub master account.
|
default CompletableFuture<ListMembersResponse> |
listMembers(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current Security Hub master account.
|
default CompletableFuture<UpdateFindingsResponse> |
updateFindings(Consumer<UpdateFindingsRequest.Builder> updateFindingsRequest)
Updates the AWS Security Hub-aggregated findings specified by the filter attributes.
|
default CompletableFuture<UpdateFindingsResponse> |
updateFindings(UpdateFindingsRequest updateFindingsRequest)
Updates the AWS Security Hub-aggregated findings specified by the filter attributes.
|
default CompletableFuture<UpdateInsightResponse> |
updateInsight(Consumer<UpdateInsightRequest.Builder> updateInsightRequest)
Updates the AWS Security Hub insight specified by the insight ARN.
|
default CompletableFuture<UpdateInsightResponse> |
updateInsight(UpdateInsightRequest updateInsightRequest)
Updates the AWS Security Hub insight specified by the insight ARN.
|
serviceName
close
static final String SERVICE_NAME
static SecurityHubAsyncClient create()
SecurityHubAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static SecurityHubAsyncClientBuilder builder()
SecurityHubAsyncClient
.default CompletableFuture<AcceptInvitationResponse> acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
Accepts the invitation to be monitored by a master SecurityHub account.
acceptInvitationRequest
- default CompletableFuture<AcceptInvitationResponse> acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
Accepts the invitation to be monitored by a master SecurityHub account.
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.default CompletableFuture<BatchDisableStandardsResponse> batchDisableStandards(BatchDisableStandardsRequest batchDisableStandardsRequest)
Disables the standards specified by the standards subscription ARNs. In the context of Security Hub, supported standards (for example, CIS AWS Foundations) are automated and continuous checks that help determine your compliance status against security industry (including AWS) best practices.
batchDisableStandardsRequest
- default CompletableFuture<BatchDisableStandardsResponse> batchDisableStandards(Consumer<BatchDisableStandardsRequest.Builder> batchDisableStandardsRequest)
Disables the standards specified by the standards subscription ARNs. In the context of Security Hub, supported standards (for example, CIS AWS Foundations) are automated and continuous checks that help determine your compliance status against security industry (including AWS) best practices.
This is a convenience which creates an instance of the BatchDisableStandardsRequest.Builder
avoiding the
need to create one manually via BatchDisableStandardsRequest.builder()
batchDisableStandardsRequest
- A Consumer
that will call methods on BatchDisableStandardsRequest.Builder
to create a
request.default CompletableFuture<BatchEnableStandardsResponse> batchEnableStandards(BatchEnableStandardsRequest batchEnableStandardsRequest)
Enables the standards specified by the standards ARNs. In the context of Security Hub, supported standards (for example, CIS AWS Foundations) are automated and continuous checks that help determine your compliance status against security industry (including AWS) best practices.
batchEnableStandardsRequest
- default CompletableFuture<BatchEnableStandardsResponse> batchEnableStandards(Consumer<BatchEnableStandardsRequest.Builder> batchEnableStandardsRequest)
Enables the standards specified by the standards ARNs. In the context of Security Hub, supported standards (for example, CIS AWS Foundations) are automated and continuous checks that help determine your compliance status against security industry (including AWS) best practices.
This is a convenience which creates an instance of the BatchEnableStandardsRequest.Builder
avoiding the
need to create one manually via BatchEnableStandardsRequest.builder()
batchEnableStandardsRequest
- A Consumer
that will call methods on BatchEnableStandardsRequest.Builder
to create a
request.default CompletableFuture<BatchImportFindingsResponse> batchImportFindings(BatchImportFindingsRequest batchImportFindingsRequest)
Imports security findings that are generated by the integrated third-party products into Security Hub.
batchImportFindingsRequest
- default CompletableFuture<BatchImportFindingsResponse> batchImportFindings(Consumer<BatchImportFindingsRequest.Builder> batchImportFindingsRequest)
Imports security findings that are generated by the integrated third-party products into Security Hub.
This is a convenience which creates an instance of the BatchImportFindingsRequest.Builder
avoiding the
need to create one manually via BatchImportFindingsRequest.builder()
batchImportFindingsRequest
- A Consumer
that will call methods on BatchImportFindingsRequest.Builder
to create a
request.default CompletableFuture<CreateInsightResponse> createInsight(CreateInsightRequest createInsightRequest)
Creates an insight, which is a consolidation of findings that identifies a security area that requires attention or intervention.
createInsightRequest
- default CompletableFuture<CreateInsightResponse> createInsight(Consumer<CreateInsightRequest.Builder> createInsightRequest)
Creates an insight, which is a consolidation of findings that identifies a security area that requires attention or intervention.
This is a convenience which creates an instance of the CreateInsightRequest.Builder
avoiding the need to
create one manually via CreateInsightRequest.builder()
createInsightRequest
- A Consumer
that will call methods on CreateInsightRequest.Builder
to create a request.default CompletableFuture<CreateMembersResponse> createMembers(CreateMembersRequest createMembersRequest)
Creates member Security Hub accounts in the current AWS account (which becomes the master Security Hub account) that has Security Hub enabled.
createMembersRequest
- default CompletableFuture<CreateMembersResponse> createMembers(Consumer<CreateMembersRequest.Builder> createMembersRequest)
Creates member Security Hub accounts in the current AWS account (which becomes the master Security Hub account) that has Security Hub enabled.
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.default CompletableFuture<DeclineInvitationsResponse> declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are specified by the account IDs.
declineInvitationsRequest
- default CompletableFuture<DeclineInvitationsResponse> declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest)
Declines invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are specified by the account IDs.
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.default CompletableFuture<DeleteInsightResponse> deleteInsight(DeleteInsightRequest deleteInsightRequest)
Deletes an insight that is specified by the insight ARN.
deleteInsightRequest
- default CompletableFuture<DeleteInsightResponse> deleteInsight(Consumer<DeleteInsightRequest.Builder> deleteInsightRequest)
Deletes an insight that is specified by the insight ARN.
This is a convenience which creates an instance of the DeleteInsightRequest.Builder
avoiding the need to
create one manually via DeleteInsightRequest.builder()
deleteInsightRequest
- A Consumer
that will call methods on DeleteInsightRequest.Builder
to create a request.default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are specified by their account IDs.
deleteInvitationsRequest
- default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest)
Deletes invitations that are sent to this AWS account (invitee) by the AWS accounts (inviters) that are specified by their account IDs.
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.default CompletableFuture<DeleteMembersResponse> deleteMembers(DeleteMembersRequest deleteMembersRequest)
Deletes the Security Hub member accounts that are specified by the account IDs.
deleteMembersRequest
- default CompletableFuture<DeleteMembersResponse> deleteMembers(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest)
Deletes the Security Hub member accounts that are specified by the account IDs.
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.default CompletableFuture<DisableImportFindingsForProductResponse> disableImportFindingsForProduct(DisableImportFindingsForProductRequest disableImportFindingsForProductRequest)
Stops you from being able to import findings generated by integrated third-party providers into Security Hub.
disableImportFindingsForProductRequest
- default CompletableFuture<DisableImportFindingsForProductResponse> disableImportFindingsForProduct(Consumer<DisableImportFindingsForProductRequest.Builder> disableImportFindingsForProductRequest)
Stops you from being able to import findings generated by integrated third-party providers into Security Hub.
This is a convenience which creates an instance of the DisableImportFindingsForProductRequest.Builder
avoiding the need to create one manually via DisableImportFindingsForProductRequest.builder()
disableImportFindingsForProductRequest
- A Consumer
that will call methods on DisableImportFindingsForProductRequest.Builder
to
create a request.default CompletableFuture<DisableSecurityHubResponse> disableSecurityHub(DisableSecurityHubRequest disableSecurityHubRequest)
Disables the AWS Security Hub Service.
disableSecurityHubRequest
- default CompletableFuture<DisableSecurityHubResponse> disableSecurityHub(Consumer<DisableSecurityHubRequest.Builder> disableSecurityHubRequest)
Disables the AWS Security Hub Service.
This is a convenience which creates an instance of the DisableSecurityHubRequest.Builder
avoiding the
need to create one manually via DisableSecurityHubRequest.builder()
disableSecurityHubRequest
- A Consumer
that will call methods on DisableSecurityHubRequest.Builder
to create a
request.default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
Disassociates the current Security Hub member account from its master account.
disassociateFromMasterAccountRequest
- default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
Disassociates the current Security Hub member account from its master account.
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)
Disassociates the Security Hub member accounts that are specified by the account IDs from their master account.
disassociateMembersRequest
- default CompletableFuture<DisassociateMembersResponse> disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest)
Disassociates the Security Hub member accounts that are specified by the account IDs from their master account.
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.default CompletableFuture<EnableImportFindingsForProductResponse> enableImportFindingsForProduct(EnableImportFindingsForProductRequest enableImportFindingsForProductRequest)
Enables you to import findings generated by integrated third-party providers into Security Hub.
enableImportFindingsForProductRequest
- default CompletableFuture<EnableImportFindingsForProductResponse> enableImportFindingsForProduct(Consumer<EnableImportFindingsForProductRequest.Builder> enableImportFindingsForProductRequest)
Enables you to import findings generated by integrated third-party providers into Security Hub.
This is a convenience which creates an instance of the EnableImportFindingsForProductRequest.Builder
avoiding the need to create one manually via EnableImportFindingsForProductRequest.builder()
enableImportFindingsForProductRequest
- A Consumer
that will call methods on EnableImportFindingsForProductRequest.Builder
to
create a request.default CompletableFuture<EnableSecurityHubResponse> enableSecurityHub(EnableSecurityHubRequest enableSecurityHubRequest)
Enables the AWS Security Hub service.
enableSecurityHubRequest
- default CompletableFuture<EnableSecurityHubResponse> enableSecurityHub(Consumer<EnableSecurityHubRequest.Builder> enableSecurityHubRequest)
Enables the AWS Security Hub service.
This is a convenience which creates an instance of the EnableSecurityHubRequest.Builder
avoiding the need
to create one manually via EnableSecurityHubRequest.builder()
enableSecurityHubRequest
- A Consumer
that will call methods on EnableSecurityHubRequest.Builder
to create a request.default CompletableFuture<GetEnabledStandardsResponse> getEnabledStandards(GetEnabledStandardsRequest getEnabledStandardsRequest)
Lists and describes enabled standards.
getEnabledStandardsRequest
- default CompletableFuture<GetEnabledStandardsResponse> getEnabledStandards(Consumer<GetEnabledStandardsRequest.Builder> getEnabledStandardsRequest)
Lists and describes enabled standards.
This is a convenience which creates an instance of the GetEnabledStandardsRequest.Builder
avoiding the
need to create one manually via GetEnabledStandardsRequest.builder()
getEnabledStandardsRequest
- A Consumer
that will call methods on GetEnabledStandardsRequest.Builder
to create a
request.default CompletableFuture<GetFindingsResponse> getFindings(GetFindingsRequest getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
getFindingsRequest
- default CompletableFuture<GetFindingsResponse> getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
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.default CompletableFuture<GetFindingsResponse> getFindings()
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
default GetFindingsPublisher getFindingsPaginator()
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
This is a variant of getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)
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.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetFindingsResponse 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
getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)
operation.
default GetFindingsPublisher getFindingsPaginator(GetFindingsRequest getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
This is a variant of getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)
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.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetFindingsResponse 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
getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)
operation.
getFindingsRequest
- default GetFindingsPublisher getFindingsPaginator(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Lists and describes Security Hub-aggregated findings that are specified by filter attributes.
This is a variant of getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)
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.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetFindingsPublisher publisher = client.getFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetFindingsResponse 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
getFindings(software.amazon.awssdk.services.securityhub.model.GetFindingsRequest)
operation.
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.default CompletableFuture<GetInsightResultsResponse> getInsightResults(GetInsightResultsRequest getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
getInsightResultsRequest
- default CompletableFuture<GetInsightResultsResponse> getInsightResults(Consumer<GetInsightResultsRequest.Builder> getInsightResultsRequest)
Lists the results of the Security Hub insight specified by the insight ARN.
This is a convenience which creates an instance of the GetInsightResultsRequest.Builder
avoiding the need
to create one manually via GetInsightResultsRequest.builder()
getInsightResultsRequest
- A Consumer
that will call methods on GetInsightResultsRequest.Builder
to create a request.default CompletableFuture<GetInsightsResponse> getInsights(GetInsightsRequest getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
getInsightsRequest
- default CompletableFuture<GetInsightsResponse> getInsights(Consumer<GetInsightsRequest.Builder> getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
This is a convenience which creates an instance of the GetInsightsRequest.Builder
avoiding the need to
create one manually via GetInsightsRequest.builder()
getInsightsRequest
- A Consumer
that will call methods on GetInsightsRequest.Builder
to create a request.default GetInsightsPublisher getInsightsPaginator(GetInsightsRequest getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
This is a variant of getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest)
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.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetInsightsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetInsightsResponse 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
getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest)
operation.
getInsightsRequest
- default GetInsightsPublisher getInsightsPaginator(Consumer<GetInsightsRequest.Builder> getInsightsRequest)
Lists and describes insights that are specified by insight ARNs.
This is a variant of getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest)
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.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.GetInsightsPublisher publisher = client.getInsightsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.GetInsightsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.GetInsightsResponse 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
getInsights(software.amazon.awssdk.services.securityhub.model.GetInsightsRequest)
operation.
This is a convenience which creates an instance of the GetInsightsRequest.Builder
avoiding the need to
create one manually via GetInsightsRequest.builder()
getInsightsRequest
- A Consumer
that will call methods on GetInsightsRequest.Builder
to create a request.default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
getInvitationsCountRequest
- default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest)
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
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()
Returns the count of all Security Hub membership invitations that were sent to the current member account, not including the currently accepted invitation.
default CompletableFuture<GetMasterAccountResponse> getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
Provides the details for the Security Hub master account to the current member account.
getMasterAccountRequest
- default CompletableFuture<GetMasterAccountResponse> getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)
Provides the details for the Security Hub master account to the current member account.
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<GetMasterAccountResponse> getMasterAccount()
Provides the details for the Security Hub master account to the current member account.
default CompletableFuture<GetMembersResponse> getMembers(GetMembersRequest getMembersRequest)
Returns the details on the Security Hub member accounts that are specified by the account IDs.
getMembersRequest
- default CompletableFuture<GetMembersResponse> getMembers(Consumer<GetMembersRequest.Builder> getMembersRequest)
Returns the details on the Security Hub member accounts that are specified by the account IDs.
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.default CompletableFuture<InviteMembersResponse> inviteMembers(InviteMembersRequest inviteMembersRequest)
Invites other AWS accounts to enable Security Hub and become Security Hub member accounts. When an account accepts the invitation and becomes a member account, the master account can view Security Hub findings of the member account.
inviteMembersRequest
- default CompletableFuture<InviteMembersResponse> inviteMembers(Consumer<InviteMembersRequest.Builder> inviteMembersRequest)
Invites other AWS accounts to enable Security Hub and become Security Hub member accounts. When an account accepts the invitation and becomes a member account, the master account can view Security Hub findings of the member account.
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.default CompletableFuture<ListEnabledProductsForImportResponse> listEnabledProductsForImport(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all Security Hub-integrated third-party findings providers.
listEnabledProductsForImportRequest
- default CompletableFuture<ListEnabledProductsForImportResponse> listEnabledProductsForImport(Consumer<ListEnabledProductsForImportRequest.Builder> listEnabledProductsForImportRequest)
Lists all Security Hub-integrated third-party findings providers.
This is a convenience which creates an instance of the ListEnabledProductsForImportRequest.Builder
avoiding the need to create one manually via ListEnabledProductsForImportRequest.builder()
listEnabledProductsForImportRequest
- A Consumer
that will call methods on ListEnabledProductsForImportRequest.Builder
to create
a request.default CompletableFuture<ListEnabledProductsForImportResponse> listEnabledProductsForImport()
Lists all Security Hub-integrated third-party findings providers.
default ListEnabledProductsForImportPublisher listEnabledProductsForImportPaginator()
Lists all Security Hub-integrated third-party findings providers.
This is a variant of
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
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.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse 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
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
operation.
default ListEnabledProductsForImportPublisher listEnabledProductsForImportPaginator(ListEnabledProductsForImportRequest listEnabledProductsForImportRequest)
Lists all Security Hub-integrated third-party findings providers.
This is a variant of
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
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.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse 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
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
operation.
listEnabledProductsForImportRequest
- default ListEnabledProductsForImportPublisher listEnabledProductsForImportPaginator(Consumer<ListEnabledProductsForImportRequest.Builder> listEnabledProductsForImportRequest)
Lists all Security Hub-integrated third-party findings providers.
This is a variant of
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
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.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.securityhub.paginators.ListEnabledProductsForImportPublisher publisher = client.listEnabledProductsForImportPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportResponse 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
listEnabledProductsForImport(software.amazon.awssdk.services.securityhub.model.ListEnabledProductsForImportRequest)
operation.
This is a convenience which creates an instance of the ListEnabledProductsForImportRequest.Builder
avoiding the need to create one manually via ListEnabledProductsForImportRequest.builder()
listEnabledProductsForImportRequest
- A Consumer
that will call methods on ListEnabledProductsForImportRequest.Builder
to create
a request.default CompletableFuture<ListInvitationsResponse> listInvitations(ListInvitationsRequest listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current AWS account.
listInvitationsRequest
- default CompletableFuture<ListInvitationsResponse> listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all Security Hub membership invitations that were sent to the current AWS account.
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()
Lists all Security Hub membership invitations that were sent to the current AWS account.
default CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current Security Hub master account.
listMembersRequest
- default CompletableFuture<ListMembersResponse> listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current Security Hub master account.
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<ListMembersResponse> listMembers()
Lists details about all member accounts for the current Security Hub master account.
default CompletableFuture<UpdateFindingsResponse> updateFindings(UpdateFindingsRequest updateFindingsRequest)
Updates the AWS Security Hub-aggregated findings specified by the filter attributes.
updateFindingsRequest
- default CompletableFuture<UpdateFindingsResponse> updateFindings(Consumer<UpdateFindingsRequest.Builder> updateFindingsRequest)
Updates the AWS Security Hub-aggregated findings specified by the filter attributes.
This is a convenience which creates an instance of the UpdateFindingsRequest.Builder
avoiding the need to
create one manually via UpdateFindingsRequest.builder()
updateFindingsRequest
- A Consumer
that will call methods on UpdateFindingsRequest.Builder
to create a request.default CompletableFuture<UpdateInsightResponse> updateInsight(UpdateInsightRequest updateInsightRequest)
Updates the AWS Security Hub insight specified by the insight ARN.
updateInsightRequest
- default CompletableFuture<UpdateInsightResponse> updateInsight(Consumer<UpdateInsightRequest.Builder> updateInsightRequest)
Updates the AWS Security Hub insight specified by the insight ARN.
This is a convenience which creates an instance of the UpdateInsightRequest.Builder
avoiding the need to
create one manually via UpdateInsightRequest.builder()
updateInsightRequest
- A Consumer
that will call methods on UpdateInsightRequest.Builder
to create a request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.