Interface CreateServiceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateServiceRequest.Builder,,CreateServiceRequest> Resiliencehubv2Request.Builder,SdkBuilder<CreateServiceRequest.Builder,,CreateServiceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateServiceRequest
@Mutable
@NotThreadSafe
public static interface CreateServiceRequest.Builder
extends Resiliencehubv2Request.Builder, SdkPojo, CopyableBuilder<CreateServiceRequest.Builder,CreateServiceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedSystems(Collection<AssociatedSystem> associatedSystems) The systems to associate with the service.associatedSystems(Consumer<AssociatedSystem.Builder>... associatedSystems) The systems to associate with the service.associatedSystems(AssociatedSystem... associatedSystems) The systems to associate with the service.clientToken(String clientToken) Sets the value of the ClientToken property for this object.dependencyDiscovery(String dependencyDiscovery) Sets the value of the DependencyDiscovery property for this object.dependencyDiscovery(DependencyDiscoveryInput dependencyDiscovery) Sets the value of the DependencyDiscovery property for this object.description(String description) Sets the value of the Description property for this object.Sets the value of the KmsKeyId property for this object.Sets the value of the Name property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateServiceRequest.BuilderpermissionModel(Consumer<PermissionModel.Builder> permissionModel) The permission model for the service.permissionModel(PermissionModel permissionModel) The permission model for the service.Sets the value of the PolicyArn property for this object.The AWS Regions where the service operates.regions(Collection<String> regions) The AWS Regions where the service operates.default CreateServiceRequest.BuilderreportConfiguration(Consumer<ServiceReportConfiguration.Builder> reportConfiguration) Sets the value of the ReportConfiguration property for this object.reportConfiguration(ServiceReportConfiguration reportConfiguration) Sets the value of the ReportConfiguration property for this object.Sets the value of the Tags property for this object.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
-
name
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
The systems to associate with the service.
- Parameters:
associatedSystems- The systems to associate with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
The systems to associate with the service.
- Parameters:
associatedSystems- The systems to associate with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedSystems
CreateServiceRequest.Builder associatedSystems(Consumer<AssociatedSystem.Builder>... associatedSystems) The systems to associate with the service.
This is a convenience method that creates an instance of theAssociatedSystem.Builderavoiding the need to create one manually viaAssociatedSystem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedSystems(List<AssociatedSystem>).- Parameters:
associatedSystems- a consumer that will call methods onAssociatedSystem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyArn
Sets the value of the PolicyArn property for this object.- Parameters:
policyArn- The new value for the PolicyArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The AWS Regions where the service operates.
- Parameters:
regions- The AWS Regions where the service operates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regions
The AWS Regions where the service operates.
- Parameters:
regions- The AWS Regions where the service operates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionModel
The permission model for the service.
- Parameters:
permissionModel- The permission model for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionModel
default CreateServiceRequest.Builder permissionModel(Consumer<PermissionModel.Builder> permissionModel) The permission model for the service.
This is a convenience method that creates an instance of thePermissionModel.Builderavoiding the need to create one manually viaPermissionModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissionModel(PermissionModel).- Parameters:
permissionModel- a consumer that will call methods onPermissionModel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dependencyDiscovery
Sets the value of the DependencyDiscovery property for this object.- Parameters:
dependencyDiscovery- The new value for the DependencyDiscovery property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dependencyDiscovery
Sets the value of the DependencyDiscovery property for this object.- Parameters:
dependencyDiscovery- The new value for the DependencyDiscovery property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reportConfiguration
Sets the value of the ReportConfiguration property for this object.- Parameters:
reportConfiguration- The new value for the ReportConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reportConfiguration
default CreateServiceRequest.Builder reportConfiguration(Consumer<ServiceReportConfiguration.Builder> reportConfiguration) Sets the value of the ReportConfiguration property for this object. This is a convenience method that creates an instance of theServiceReportConfiguration.Builderavoiding the need to create one manually viaServiceReportConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreportConfiguration(ServiceReportConfiguration).- Parameters:
reportConfiguration- a consumer that will call methods onServiceReportConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
Sets the value of the KmsKeyId property for this object.- Parameters:
kmsKeyId- The new value for the KmsKeyId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateServiceRequest.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
CreateServiceRequest.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.
-