Interface AwsApiCallAction.Builder

    • Method Detail

      • api

        AwsApiCallAction.Builder api​(String api)

        The name of the API method that was issued.

        Length Constraints: 128.

        Parameters:
        api - The name of the API method that was issued.

        Length Constraints: 128.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceName

        AwsApiCallAction.Builder serviceName​(String serviceName)

        The name of the Amazon Web Services service that the API method belongs to.

        Length Constraints: 128.

        Parameters:
        serviceName - The name of the Amazon Web Services service that the API method belongs to.

        Length Constraints: 128.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • callerType

        AwsApiCallAction.Builder callerType​(String callerType)

        Indicates whether the API call originated from a remote IP address (remoteip) or from a DNS domain (domain).

        Parameters:
        callerType - Indicates whether the API call originated from a remote IP address (remoteip) or from a DNS domain (domain).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • remoteIpDetails

        AwsApiCallAction.Builder remoteIpDetails​(ActionRemoteIpDetails remoteIpDetails)

        Provided if CallerType is remoteip. Provides information about the remote IP address that the API call originated from.

        Parameters:
        remoteIpDetails - Provided if CallerType is remoteip. Provides information about the remote IP address that the API call originated from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainDetails

        AwsApiCallAction.Builder domainDetails​(AwsApiCallActionDomainDetails domainDetails)

        Provided if CallerType is domain. Provides information about the DNS domain that the API call originated from.

        Parameters:
        domainDetails - Provided if CallerType is domain. Provides information about the DNS domain that the API call originated from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • affectedResources

        AwsApiCallAction.Builder affectedResources​(Map<String,​String> affectedResources)

        Identifies the resources that were affected by the API call.

        Parameters:
        affectedResources - Identifies the resources that were affected by the API call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • firstSeen

        AwsApiCallAction.Builder firstSeen​(String firstSeen)

        A timestamp that indicates when the API call was first observed.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        firstSeen - A timestamp that indicates when the API call was first observed.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastSeen

        AwsApiCallAction.Builder lastSeen​(String lastSeen)

        A timestamp that indicates when the API call was most recently observed.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        lastSeen - A timestamp that indicates when the API call was most recently observed.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Returns:
        Returns a reference to this object so that method calls can be chained together.