Interface GetCaseResponse.Builder

  • Method Details

    • title

      Response element for GetCase that provides the case title.

      Parameters:
      title - Response element for GetCase that provides the case title.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • caseArn

      GetCaseResponse.Builder caseArn(String caseArn)

      Response element for GetCase that provides the case ARN

      Parameters:
      caseArn - Response element for GetCase that provides the case ARN
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetCaseResponse.Builder description(String description)

      Response element for GetCase that provides contents of the case description.

      Parameters:
      description - Response element for GetCase that provides contents of the case description.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • caseStatus

      GetCaseResponse.Builder caseStatus(String caseStatus)

      Response element for GetCase that provides the case status. Options for statuses include Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed

      Parameters:
      caseStatus - Response element for GetCase that provides the case status. Options for statuses include Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • caseStatus

      GetCaseResponse.Builder caseStatus(CaseStatus caseStatus)

      Response element for GetCase that provides the case status. Options for statuses include Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed

      Parameters:
      caseStatus - Response element for GetCase that provides the case status. Options for statuses include Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • engagementType

      GetCaseResponse.Builder engagementType(String engagementType)

      Response element for GetCase that provides the engagement type. Options for engagement type include Active Security Event | Investigations

      Parameters:
      engagementType - Response element for GetCase that provides the engagement type. Options for engagement type include Active Security Event | Investigations
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • engagementType

      GetCaseResponse.Builder engagementType(EngagementType engagementType)

      Response element for GetCase that provides the engagement type. Options for engagement type include Active Security Event | Investigations

      Parameters:
      engagementType - Response element for GetCase that provides the engagement type. Options for engagement type include Active Security Event | Investigations
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reportedIncidentStartDate

      GetCaseResponse.Builder reportedIncidentStartDate(Instant reportedIncidentStartDate)

      Response element for GetCase that provides the customer provided incident start date.

      Parameters:
      reportedIncidentStartDate - Response element for GetCase that provides the customer provided incident start date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actualIncidentStartDate

      GetCaseResponse.Builder actualIncidentStartDate(Instant actualIncidentStartDate)

      Response element for GetCase that provides the actual incident start date as identified by data analysis during the investigation.

      Parameters:
      actualIncidentStartDate - Response element for GetCase that provides the actual incident start date as identified by data analysis during the investigation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactedAwsRegions

      GetCaseResponse.Builder impactedAwsRegions(Collection<ImpactedAwsRegion> impactedAwsRegions)

      Response element for GetCase that provides the impacted regions.

      Parameters:
      impactedAwsRegions - Response element for GetCase that provides the impacted regions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactedAwsRegions

      GetCaseResponse.Builder impactedAwsRegions(ImpactedAwsRegion... impactedAwsRegions)

      Response element for GetCase that provides the impacted regions.

      Parameters:
      impactedAwsRegions - Response element for GetCase that provides the impacted regions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactedAwsRegions

      GetCaseResponse.Builder impactedAwsRegions(Consumer<ImpactedAwsRegion.Builder>... impactedAwsRegions)

      Response element for GetCase that provides the impacted regions.

      This is a convenience method that creates an instance of the ImpactedAwsRegion.Builder avoiding the need to create one manually via ImpactedAwsRegion.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to impactedAwsRegions(List<ImpactedAwsRegion>).

      Parameters:
      impactedAwsRegions - a consumer that will call methods on ImpactedAwsRegion.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • threatActorIpAddresses

      GetCaseResponse.Builder threatActorIpAddresses(Collection<ThreatActorIp> threatActorIpAddresses)

      Response element for GetCase that provides a list of suspicious IP addresses associated with unauthorized activity.

      Parameters:
      threatActorIpAddresses - Response element for GetCase that provides a list of suspicious IP addresses associated with unauthorized activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threatActorIpAddresses

      GetCaseResponse.Builder threatActorIpAddresses(ThreatActorIp... threatActorIpAddresses)

      Response element for GetCase that provides a list of suspicious IP addresses associated with unauthorized activity.

      Parameters:
      threatActorIpAddresses - Response element for GetCase that provides a list of suspicious IP addresses associated with unauthorized activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • threatActorIpAddresses

      GetCaseResponse.Builder threatActorIpAddresses(Consumer<ThreatActorIp.Builder>... threatActorIpAddresses)

      Response element for GetCase that provides a list of suspicious IP addresses associated with unauthorized activity.

      This is a convenience method that creates an instance of the ThreatActorIp.Builder avoiding the need to create one manually via ThreatActorIp.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to threatActorIpAddresses(List<ThreatActorIp>).

      Parameters:
      threatActorIpAddresses - a consumer that will call methods on ThreatActorIp.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pendingAction

      GetCaseResponse.Builder pendingAction(String pendingAction)

      Response element for GetCase that provides identifies the case is waiting on customer input.

      Parameters:
      pendingAction - Response element for GetCase that provides identifies the case is waiting on customer input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pendingAction

      GetCaseResponse.Builder pendingAction(PendingAction pendingAction)

      Response element for GetCase that provides identifies the case is waiting on customer input.

      Parameters:
      pendingAction - Response element for GetCase that provides identifies the case is waiting on customer input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • impactedAccounts

      GetCaseResponse.Builder impactedAccounts(Collection<String> impactedAccounts)

      Response element for GetCase that provides a list of impacted accounts.

      Parameters:
      impactedAccounts - Response element for GetCase that provides a list of impacted accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactedAccounts

      GetCaseResponse.Builder impactedAccounts(String... impactedAccounts)

      Response element for GetCase that provides a list of impacted accounts.

      Parameters:
      impactedAccounts - Response element for GetCase that provides a list of impacted accounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • watchers

      Response element for GetCase that provides a list of Watchers added to the case.

      Parameters:
      watchers - Response element for GetCase that provides a list of Watchers added to the case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • watchers

      GetCaseResponse.Builder watchers(Watcher... watchers)

      Response element for GetCase that provides a list of Watchers added to the case.

      Parameters:
      watchers - Response element for GetCase that provides a list of Watchers added to the case.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • watchers

      Response element for GetCase that provides a list of Watchers added to the case.

      This is a convenience method that creates an instance of the Watcher.Builder avoiding the need to create one manually via Watcher.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to watchers(List<Watcher>).

      Parameters:
      watchers - a consumer that will call methods on Watcher.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdDate

      GetCaseResponse.Builder createdDate(Instant createdDate)

      Response element for GetCase that provides the date the case was created.

      Parameters:
      createdDate - Response element for GetCase that provides the date the case was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDate

      GetCaseResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)

      Response element for GetCase that provides the date a case was last modified.

      Parameters:
      lastUpdatedDate - Response element for GetCase that provides the date a case was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • closureCode

      GetCaseResponse.Builder closureCode(String closureCode)

      Response element for GetCase that provides the summary code for why a case was closed.

      Parameters:
      closureCode - Response element for GetCase that provides the summary code for why a case was closed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • closureCode

      GetCaseResponse.Builder closureCode(ClosureCode closureCode)

      Response element for GetCase that provides the summary code for why a case was closed.

      Parameters:
      closureCode - Response element for GetCase that provides the summary code for why a case was closed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resolverType

      GetCaseResponse.Builder resolverType(String resolverType)

      Response element for GetCase that provides the current resolver types. Options include self-supported | AWS-supported.

      Parameters:
      resolverType - Response element for GetCase that provides the current resolver types. Options include self-supported | AWS-supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resolverType

      GetCaseResponse.Builder resolverType(ResolverType resolverType)

      Response element for GetCase that provides the current resolver types. Options include self-supported | AWS-supported.

      Parameters:
      resolverType - Response element for GetCase that provides the current resolver types. Options include self-supported | AWS-supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • impactedServices

      GetCaseResponse.Builder impactedServices(Collection<String> impactedServices)

      Response element for GetCase that provides a list of impacted services.

      Parameters:
      impactedServices - Response element for GetCase that provides a list of impacted services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • impactedServices

      GetCaseResponse.Builder impactedServices(String... impactedServices)

      Response element for GetCase that provides a list of impacted services.

      Parameters:
      impactedServices - Response element for GetCase that provides a list of impacted services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • caseAttachments

      GetCaseResponse.Builder caseAttachments(Collection<CaseAttachmentAttributes> caseAttachments)

      Response element for GetCase that provides a list of current case attachments.

      Parameters:
      caseAttachments - Response element for GetCase that provides a list of current case attachments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • caseAttachments

      GetCaseResponse.Builder caseAttachments(CaseAttachmentAttributes... caseAttachments)

      Response element for GetCase that provides a list of current case attachments.

      Parameters:
      caseAttachments - Response element for GetCase that provides a list of current case attachments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • caseAttachments

      Response element for GetCase that provides a list of current case attachments.

      This is a convenience method that creates an instance of the CaseAttachmentAttributes.Builder avoiding the need to create one manually via CaseAttachmentAttributes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to caseAttachments(List<CaseAttachmentAttributes>).

      Parameters:
      caseAttachments - a consumer that will call methods on CaseAttachmentAttributes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • closedDate

      GetCaseResponse.Builder closedDate(Instant closedDate)

      Response element for GetCase that provides the date a specified case was closed.

      Parameters:
      closedDate - Response element for GetCase that provides the date a specified case was closed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.