Interface AwsApiCallAction.Builder

  • Method Details

    • api

      The Amazon Web Services API name.

      Parameters:
      api - The Amazon Web Services API name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callerType

      AwsApiCallAction.Builder callerType(String callerType)

      The Amazon Web Services API caller type.

      Parameters:
      callerType - The Amazon Web Services API caller type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainDetails

      AwsApiCallAction.Builder domainDetails(DomainDetails domainDetails)

      The domain information for the Amazon Web Services API call.

      Parameters:
      domainDetails - The domain information for the Amazon Web Services API call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainDetails

      default AwsApiCallAction.Builder domainDetails(Consumer<DomainDetails.Builder> domainDetails)

      The domain information for the Amazon Web Services API call.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to domainDetails(DomainDetails).

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

      AwsApiCallAction.Builder errorCode(String errorCode)

      The error code of the failed Amazon Web Services API action.

      Parameters:
      errorCode - The error code of the failed Amazon Web Services API action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userAgent

      AwsApiCallAction.Builder userAgent(String userAgent)

      The agent through which the API request was made.

      Parameters:
      userAgent - The agent through which the API request was made.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteIpDetails

      AwsApiCallAction.Builder remoteIpDetails(RemoteIpDetails remoteIpDetails)

      The remote IP information of the connection that initiated the Amazon Web Services API call.

      Parameters:
      remoteIpDetails - The remote IP information of the connection that initiated the Amazon Web Services API call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteIpDetails

      default AwsApiCallAction.Builder remoteIpDetails(Consumer<RemoteIpDetails.Builder> remoteIpDetails)

      The remote IP information of the connection that initiated the Amazon Web Services API call.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to remoteIpDetails(RemoteIpDetails).

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

      AwsApiCallAction.Builder serviceName(String serviceName)

      The Amazon Web Services service name whose API was invoked.

      Parameters:
      serviceName - The Amazon Web Services service name whose API was invoked.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteAccountDetails

      AwsApiCallAction.Builder remoteAccountDetails(RemoteAccountDetails remoteAccountDetails)

      The details of the Amazon Web Services account that made the API call. This field appears if the call was made from outside your account.

      Parameters:
      remoteAccountDetails - The details of the Amazon Web Services account that made the API call. This field appears if the call was made from outside your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remoteAccountDetails

      default AwsApiCallAction.Builder remoteAccountDetails(Consumer<RemoteAccountDetails.Builder> remoteAccountDetails)

      The details of the Amazon Web Services account that made the API call. This field appears if the call was made from outside your account.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to remoteAccountDetails(RemoteAccountDetails).

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

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

      The details of the Amazon Web Services account that made the API call. This field identifies the resources that were affected by this API call.

      Parameters:
      affectedResources - The details of the Amazon Web Services account that made the API call. This field identifies the resources that were affected by this API call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.