Interface AwsApiCallAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsApiCallAction.Builder,
,AwsApiCallAction> SdkBuilder<AwsApiCallAction.Builder,
,AwsApiCallAction> SdkPojo
- Enclosing class:
AwsApiCallAction
-
Method Summary
Modifier and TypeMethodDescriptionaffectedResources
(Map<String, String> affectedResources) Identifies the resources that were affected by the API call.The name of the API method that was issued.callerType
(String callerType) Indicates whether the API call originated from a remote IP address (remoteip
) or from a DNS domain (domain
).default AwsApiCallAction.Builder
domainDetails
(Consumer<AwsApiCallActionDomainDetails.Builder> domainDetails) Provided ifCallerType
isdomain
.domainDetails
(AwsApiCallActionDomainDetails domainDetails) Provided ifCallerType
isdomain
.An ISO8601-formatted timestamp that indicates when the API call was first observed.An ISO8601-formatted timestamp that indicates when the API call was most recently observed.default AwsApiCallAction.Builder
remoteIpDetails
(Consumer<ActionRemoteIpDetails.Builder> remoteIpDetails) Provided ifCallerType
isremoteIp
.remoteIpDetails
(ActionRemoteIpDetails remoteIpDetails) Provided ifCallerType
isremoteIp
.serviceName
(String serviceName) The name of the Amazon Web Services service that the API method belongs to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
api
The name of the API method that was issued.
- Parameters:
api
- The name of the API method that was issued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
The name of the Amazon Web Services service that the API method belongs to.
- Parameters:
serviceName
- The name of the Amazon Web Services service that the API method belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
Provided if
CallerType
isremoteIp
. Provides information about the remote IP address that the API call originated from.- Parameters:
remoteIpDetails
- Provided ifCallerType
isremoteIp
. 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.
-
remoteIpDetails
default AwsApiCallAction.Builder remoteIpDetails(Consumer<ActionRemoteIpDetails.Builder> remoteIpDetails) Provided if
This is a convenience method that creates an instance of theCallerType
isremoteIp
. Provides information about the remote IP address that the API call originated from.ActionRemoteIpDetails.Builder
avoiding the need to create one manually viaActionRemoteIpDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremoteIpDetails(ActionRemoteIpDetails)
.- Parameters:
remoteIpDetails
- a consumer that will call methods onActionRemoteIpDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
domainDetails
Provided if
CallerType
isdomain
. Provides information about the DNS domain that the API call originated from.- Parameters:
domainDetails
- Provided ifCallerType
isdomain
. 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.
-
domainDetails
default AwsApiCallAction.Builder domainDetails(Consumer<AwsApiCallActionDomainDetails.Builder> domainDetails) Provided if
This is a convenience method that creates an instance of theCallerType
isdomain
. Provides information about the DNS domain that the API call originated from.AwsApiCallActionDomainDetails.Builder
avoiding the need to create one manually viaAwsApiCallActionDomainDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainDetails(AwsApiCallActionDomainDetails)
.- Parameters:
domainDetails
- a consumer that will call methods onAwsApiCallActionDomainDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
An ISO8601-formatted timestamp that indicates when the API call was first observed.
A correctly formatted example is
2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated byT
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.- Parameters:
firstSeen
- An ISO8601-formatted timestamp that indicates when the API call was first observed.A correctly formatted example is
2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated byT
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSeen
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
A correctly formatted example is
2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated byT
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.- Parameters:
lastSeen
- An ISO8601-formatted timestamp that indicates when the API call was most recently observed.A correctly formatted example is
2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated byT
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-