Interface AwsApiCallAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsApiCallAction.Builder,AwsApiCallAction>,SdkBuilder<AwsApiCallAction.Builder,AwsApiCallAction>,SdkPojo
- Enclosing class:
- AwsApiCallAction
public static interface AwsApiCallAction.Builder extends SdkPojo, CopyableBuilder<AwsApiCallAction.Builder,AwsApiCallAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsApiCallAction.BuilderaffectedResources(Map<String,String> affectedResources)Identifies the resources that were affected by the API call.AwsApiCallAction.Builderapi(String api)The name of the API method that was issued.AwsApiCallAction.BuildercallerType(String callerType)Indicates whether the API call originated from a remote IP address (remoteip) or from a DNS domain (domain).default AwsApiCallAction.BuilderdomainDetails(Consumer<AwsApiCallActionDomainDetails.Builder> domainDetails)Provided ifCallerTypeisdomain.AwsApiCallAction.BuilderdomainDetails(AwsApiCallActionDomainDetails domainDetails)Provided ifCallerTypeisdomain.AwsApiCallAction.BuilderfirstSeen(String firstSeen)A timestamp that indicates when the API call was first observed.AwsApiCallAction.BuilderlastSeen(String lastSeen)A timestamp that indicates when the API call was most recently observed.default AwsApiCallAction.BuilderremoteIpDetails(Consumer<ActionRemoteIpDetails.Builder> remoteIpDetails)Provided ifCallerTypeisremoteIp.AwsApiCallAction.BuilderremoteIpDetails(ActionRemoteIpDetails remoteIpDetails)Provided ifCallerTypeisremoteIp.AwsApiCallAction.BuilderserviceName(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 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
CallerTypeisremoteIp. Provides information about the remote IP address that the API call originated from.- Parameters:
remoteIpDetails- Provided ifCallerTypeisremoteIp. 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 theCallerTypeisremoteIp. Provides information about the remote IP address that the API call originated from.ActionRemoteIpDetails.Builderavoiding the need to create one manually viaActionRemoteIpDetails.builder().When the
Consumercompletes,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:
remoteIpDetails(ActionRemoteIpDetails)
-
domainDetails
AwsApiCallAction.Builder domainDetails(AwsApiCallActionDomainDetails domainDetails)
Provided if
CallerTypeisdomain. Provides information about the DNS domain that the API call originated from.- Parameters:
domainDetails- Provided ifCallerTypeisdomain. 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 theCallerTypeisdomain. Provides information about the DNS domain that the API call originated from.AwsApiCallActionDomainDetails.Builderavoiding the need to create one manually viaAwsApiCallActionDomainDetails.builder().When the
Consumercompletes,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:
domainDetails(AwsApiCallActionDomainDetails)
-
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.
This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
- Parameters:
firstSeen- A timestamp that indicates when the API call was first observed.This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
-
- 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.
This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
- Parameters:
lastSeen- A timestamp that indicates when the API call was most recently observed.This field accepts only the specified formats. Timestamps can end with
Zor("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-