Interface CreateServiceFunctionResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateServiceFunctionResourcesRequest.Builder,,CreateServiceFunctionResourcesRequest> Resiliencehubv2Request.Builder,SdkBuilder<CreateServiceFunctionResourcesRequest.Builder,,CreateServiceFunctionResourcesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateServiceFunctionResourcesRequest
@Mutable
@NotThreadSafe
public static interface CreateServiceFunctionResourcesRequest.Builder
extends Resiliencehubv2Request.Builder, SdkPojo, CopyableBuilder<CreateServiceFunctionResourcesRequest.Builder,CreateServiceFunctionResourcesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The list of resources to associate with the service function.resources(Collection<String> resources) The list of resources to associate with the service function.serviceArn(String serviceArn) Sets the value of the ServiceArn property for this object.serviceFunctionId(String serviceFunctionId) The identifier of the service function to associate resources with.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.resiliencehubv2.model.Resiliencehubv2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceArn
Sets the value of the ServiceArn property for this object.- Parameters:
serviceArn- The new value for the ServiceArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceFunctionId
The identifier of the service function to associate resources with.
- Parameters:
serviceFunctionId- The identifier of the service function to associate resources with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The list of resources to associate with the service function.
- Parameters:
resources- The list of resources to associate with the service function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The list of resources to associate with the service function.
- Parameters:
resources- The list of resources to associate with the service function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateServiceFunctionResourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateServiceFunctionResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-