Interface GetCaseResponse.Builder

    • Method Detail

      • title

        GetCaseResponse.Builder title​(String 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, CaseStatus
      • 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:
        CaseStatus, CaseStatus
      • 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, EngagementType
      • 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:
        EngagementType, EngagementType
      • 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.
      • 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).

        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:
        #threatActorIpAddresses(java.util.Collection)
      • 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, PendingAction
      • 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:
        PendingAction, PendingAction
      • 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

        GetCaseResponse.Builder watchers​(Collection<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

        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

        GetCaseResponse.Builder watchers​(Consumer<Watcher.Builder>... 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).

        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:
        #watchers(java.util.Collection)
      • 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, ClosureCode
      • 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:
        ClosureCode, ClosureCode
      • 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, ResolverType
      • 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:
        ResolverType, ResolverType
      • 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.
      • 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.