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)The details of the Amazon Web Services account that made the API call.AwsApiCallAction.Builderapi(String api)The Amazon Web Services API name.AwsApiCallAction.BuildercallerType(String callerType)The Amazon Web Services API caller type.default AwsApiCallAction.BuilderdomainDetails(Consumer<DomainDetails.Builder> domainDetails)The domain information for the Amazon Web Services API call.AwsApiCallAction.BuilderdomainDetails(DomainDetails domainDetails)The domain information for the Amazon Web Services API call.AwsApiCallAction.BuildererrorCode(String errorCode)The error code of the failed Amazon Web Services API action.default AwsApiCallAction.BuilderremoteAccountDetails(Consumer<RemoteAccountDetails.Builder> remoteAccountDetails)The details of the Amazon Web Services account that made the API call.AwsApiCallAction.BuilderremoteAccountDetails(RemoteAccountDetails remoteAccountDetails)The details of the Amazon Web Services account that made the API call.default AwsApiCallAction.BuilderremoteIpDetails(Consumer<RemoteIpDetails.Builder> remoteIpDetails)The remote IP information of the connection that initiated the Amazon Web Services API call.AwsApiCallAction.BuilderremoteIpDetails(RemoteIpDetails remoteIpDetails)The remote IP information of the connection that initiated the Amazon Web Services API call.AwsApiCallAction.BuilderserviceName(String serviceName)The Amazon Web Services service name whose API was invoked.AwsApiCallAction.BuilderuserAgent(String userAgent)The agent through which the API request was made.-
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 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 theDomainDetails.Builderavoiding the need to create one manually viaDomainDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todomainDetails(DomainDetails).- Parameters:
domainDetails- a consumer that will call methods onDomainDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
domainDetails(DomainDetails)
-
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 theRemoteIpDetails.Builderavoiding the need to create one manually viaRemoteIpDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoteIpDetails(RemoteIpDetails).- Parameters:
remoteIpDetails- a consumer that will call methods onRemoteIpDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
remoteIpDetails(RemoteIpDetails)
-
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 theRemoteAccountDetails.Builderavoiding the need to create one manually viaRemoteAccountDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoteAccountDetails(RemoteAccountDetails).- Parameters:
remoteAccountDetails- a consumer that will call methods onRemoteAccountDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
remoteAccountDetails(RemoteAccountDetails)
-
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.
-
-