Interface ServiceRevision.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceRevision.Builder,,ServiceRevision> SdkBuilder<ServiceRevision.Builder,,ServiceRevision> SdkPojo
- Enclosing class:
ServiceRevision
-
Method Summary
Modifier and TypeMethodDescriptioncapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy) The capacity provider strategy the service revision uses.capacityProviderStrategy(Consumer<CapacityProviderStrategyItem.Builder>... capacityProviderStrategy) The capacity provider strategy the service revision uses.capacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy) The capacity provider strategy the service revision uses.clusterArn(String clusterArn) The ARN of the cluster that hosts the service.containerImages(Collection<ContainerImage> containerImages) The container images the service revision uses.containerImages(Consumer<ContainerImage.Builder>... containerImages) The container images the service revision uses.containerImages(ContainerImage... containerImages) The container images the service revision uses.The time that the service revision was created.default ServiceRevision.BuilderfargateEphemeralStorage(Consumer<DeploymentEphemeralStorage.Builder> fargateEphemeralStorage) Sets the value of the FargateEphemeralStorage property for this object.fargateEphemeralStorage(DeploymentEphemeralStorage fargateEphemeralStorage) Sets the value of the FargateEphemeralStorage property for this object.guardDutyEnabled(Boolean guardDutyEnabled) Indicates whether Runtime Monitoring is turned on.launchType(String launchType) The launch type the service revision uses.launchType(LaunchType launchType) The launch type the service revision uses.loadBalancers(Collection<LoadBalancer> loadBalancers) The load balancers the service revision uses.loadBalancers(Consumer<LoadBalancer.Builder>... loadBalancers) The load balancers the service revision uses.loadBalancers(LoadBalancer... loadBalancers) The load balancers the service revision uses.default ServiceRevision.BuildernetworkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) Sets the value of the NetworkConfiguration property for this object.networkConfiguration(NetworkConfiguration networkConfiguration) Sets the value of the NetworkConfiguration property for this object.platformFamily(String platformFamily) The platform family the service revision uses.platformVersion(String platformVersion) For the Fargate launch type, the platform version the service revision uses.default ServiceRevision.BuilderresolvedConfiguration(Consumer<ResolvedConfiguration.Builder> resolvedConfiguration) The resolved configuration for the service revision which contains the actual resources your service revision uses, such as which target groups serve traffic.resolvedConfiguration(ResolvedConfiguration resolvedConfiguration) The resolved configuration for the service revision which contains the actual resources your service revision uses, such as which target groups serve traffic.serviceArn(String serviceArn) The ARN of the service for the service revision.default ServiceRevision.BuilderserviceConnectConfiguration(Consumer<ServiceConnectConfiguration.Builder> serviceConnectConfiguration) Sets the value of the ServiceConnectConfiguration property for this object.serviceConnectConfiguration(ServiceConnectConfiguration serviceConnectConfiguration) Sets the value of the ServiceConnectConfiguration property for this object.serviceRegistries(Collection<ServiceRegistry> serviceRegistries) The service registries (for Service Discovery) the service revision uses.serviceRegistries(Consumer<ServiceRegistry.Builder>... serviceRegistries) The service registries (for Service Discovery) the service revision uses.serviceRegistries(ServiceRegistry... serviceRegistries) The service registries (for Service Discovery) the service revision uses.serviceRevisionArn(String serviceRevisionArn) The ARN of the service revision.taskDefinition(String taskDefinition) The task definition the service revision uses.volumeConfigurations(Collection<ServiceVolumeConfiguration> volumeConfigurations) The volumes that are configured at deployment that the service revision uses.volumeConfigurations(Consumer<ServiceVolumeConfiguration.Builder>... volumeConfigurations) The volumes that are configured at deployment that the service revision uses.volumeConfigurations(ServiceVolumeConfiguration... volumeConfigurations) The volumes that are configured at deployment that the service revision uses.vpcLatticeConfigurations(Collection<VpcLatticeConfiguration> vpcLatticeConfigurations) The VPC Lattice configuration for the service revision.vpcLatticeConfigurations(Consumer<VpcLatticeConfiguration.Builder>... vpcLatticeConfigurations) The VPC Lattice configuration for the service revision.vpcLatticeConfigurations(VpcLatticeConfiguration... vpcLatticeConfigurations) The VPC Lattice configuration for the service revision.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceRevisionArn
The ARN of the service revision.
- Parameters:
serviceRevisionArn- The ARN of the service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceArn
The ARN of the service for the service revision.
- Parameters:
serviceArn- The ARN of the service for the service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterArn
The ARN of the cluster that hosts the service.
- Parameters:
clusterArn- The ARN of the cluster that hosts the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskDefinition
The task definition the service revision uses.
- Parameters:
taskDefinition- The task definition the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviderStrategy
ServiceRevision.Builder capacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy) The capacity provider strategy the service revision uses.
- Parameters:
capacityProviderStrategy- The capacity provider strategy the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviderStrategy
ServiceRevision.Builder capacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy) The capacity provider strategy the service revision uses.
- Parameters:
capacityProviderStrategy- The capacity provider strategy the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviderStrategy
ServiceRevision.Builder capacityProviderStrategy(Consumer<CapacityProviderStrategyItem.Builder>... capacityProviderStrategy) The capacity provider strategy the service revision uses.
This is a convenience method that creates an instance of theCapacityProviderStrategyItem.Builderavoiding the need to create one manually viaCapacityProviderStrategyItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityProviderStrategy(List<CapacityProviderStrategyItem>).- Parameters:
capacityProviderStrategy- a consumer that will call methods onCapacityProviderStrategyItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchType
The launch type the service revision uses.
- Parameters:
launchType- The launch type the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchType
The launch type the service revision uses.
- Parameters:
launchType- The launch type the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
platformVersion
For the Fargate launch type, the platform version the service revision uses.
- Parameters:
platformVersion- For the Fargate launch type, the platform version the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
platformFamily
The platform family the service revision uses.
- Parameters:
platformFamily- The platform family the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
The load balancers the service revision uses.
- Parameters:
loadBalancers- The load balancers the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
The load balancers the service revision uses.
- Parameters:
loadBalancers- The load balancers the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
The load balancers the service revision uses.
This is a convenience method that creates an instance of theLoadBalancer.Builderavoiding the need to create one manually viaLoadBalancer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toloadBalancers(List<LoadBalancer>).- Parameters:
loadBalancers- a consumer that will call methods onLoadBalancer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceRegistries
The service registries (for Service Discovery) the service revision uses.
- Parameters:
serviceRegistries- The service registries (for Service Discovery) the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRegistries
The service registries (for Service Discovery) the service revision uses.
- Parameters:
serviceRegistries- The service registries (for Service Discovery) the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceRegistries
The service registries (for Service Discovery) the service revision uses.
This is a convenience method that creates an instance of theServiceRegistry.Builderavoiding the need to create one manually viaServiceRegistry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceRegistries(List<ServiceRegistry>).- Parameters:
serviceRegistries- a consumer that will call methods onServiceRegistry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkConfiguration
Sets the value of the NetworkConfiguration property for this object.- Parameters:
networkConfiguration- The new value for the NetworkConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default ServiceRevision.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) Sets the value of the NetworkConfiguration property for this object. This is a convenience method that creates an instance of theNetworkConfiguration.Builderavoiding the need to create one manually viaNetworkConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfiguration(NetworkConfiguration).- Parameters:
networkConfiguration- a consumer that will call methods onNetworkConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerImages
The container images the service revision uses.
- Parameters:
containerImages- The container images the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerImages
The container images the service revision uses.
- Parameters:
containerImages- The container images the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerImages
The container images the service revision uses.
This is a convenience method that creates an instance of theContainerImage.Builderavoiding the need to create one manually viaContainerImage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerImages(List<ContainerImage>).- Parameters:
containerImages- a consumer that will call methods onContainerImage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
guardDutyEnabled
Indicates whether Runtime Monitoring is turned on.
- Parameters:
guardDutyEnabled- Indicates whether Runtime Monitoring is turned on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceConnectConfiguration
ServiceRevision.Builder serviceConnectConfiguration(ServiceConnectConfiguration serviceConnectConfiguration) Sets the value of the ServiceConnectConfiguration property for this object.- Parameters:
serviceConnectConfiguration- The new value for the ServiceConnectConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceConnectConfiguration
default ServiceRevision.Builder serviceConnectConfiguration(Consumer<ServiceConnectConfiguration.Builder> serviceConnectConfiguration) Sets the value of the ServiceConnectConfiguration property for this object. This is a convenience method that creates an instance of theServiceConnectConfiguration.Builderavoiding the need to create one manually viaServiceConnectConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceConnectConfiguration(ServiceConnectConfiguration).- Parameters:
serviceConnectConfiguration- a consumer that will call methods onServiceConnectConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeConfigurations
ServiceRevision.Builder volumeConfigurations(Collection<ServiceVolumeConfiguration> volumeConfigurations) The volumes that are configured at deployment that the service revision uses.
- Parameters:
volumeConfigurations- The volumes that are configured at deployment that the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeConfigurations
The volumes that are configured at deployment that the service revision uses.
- Parameters:
volumeConfigurations- The volumes that are configured at deployment that the service revision uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeConfigurations
ServiceRevision.Builder volumeConfigurations(Consumer<ServiceVolumeConfiguration.Builder>... volumeConfigurations) The volumes that are configured at deployment that the service revision uses.
This is a convenience method that creates an instance of theServiceVolumeConfiguration.Builderavoiding the need to create one manually viaServiceVolumeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovolumeConfigurations(List<ServiceVolumeConfiguration>).- Parameters:
volumeConfigurations- a consumer that will call methods onServiceVolumeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fargateEphemeralStorage
Sets the value of the FargateEphemeralStorage property for this object.- Parameters:
fargateEphemeralStorage- The new value for the FargateEphemeralStorage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fargateEphemeralStorage
default ServiceRevision.Builder fargateEphemeralStorage(Consumer<DeploymentEphemeralStorage.Builder> fargateEphemeralStorage) Sets the value of the FargateEphemeralStorage property for this object. This is a convenience method that creates an instance of theDeploymentEphemeralStorage.Builderavoiding the need to create one manually viaDeploymentEphemeralStorage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofargateEphemeralStorage(DeploymentEphemeralStorage).- Parameters:
fargateEphemeralStorage- a consumer that will call methods onDeploymentEphemeralStorage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time that the service revision was created. The format is yyyy-mm-dd HH:mm:ss.SSSSS.
- Parameters:
createdAt- The time that the service revision was created. The format is yyyy-mm-dd HH:mm:ss.SSSSS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcLatticeConfigurations
ServiceRevision.Builder vpcLatticeConfigurations(Collection<VpcLatticeConfiguration> vpcLatticeConfigurations) The VPC Lattice configuration for the service revision.
- Parameters:
vpcLatticeConfigurations- The VPC Lattice configuration for the service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcLatticeConfigurations
ServiceRevision.Builder vpcLatticeConfigurations(VpcLatticeConfiguration... vpcLatticeConfigurations) The VPC Lattice configuration for the service revision.
- Parameters:
vpcLatticeConfigurations- The VPC Lattice configuration for the service revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcLatticeConfigurations
ServiceRevision.Builder vpcLatticeConfigurations(Consumer<VpcLatticeConfiguration.Builder>... vpcLatticeConfigurations) The VPC Lattice configuration for the service revision.
This is a convenience method that creates an instance of theVpcLatticeConfiguration.Builderavoiding the need to create one manually viaVpcLatticeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcLatticeConfigurations(List<VpcLatticeConfiguration>).- Parameters:
vpcLatticeConfigurations- a consumer that will call methods onVpcLatticeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resolvedConfiguration
The resolved configuration for the service revision which contains the actual resources your service revision uses, such as which target groups serve traffic.
- Parameters:
resolvedConfiguration- The resolved configuration for the service revision which contains the actual resources your service revision uses, such as which target groups serve traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolvedConfiguration
default ServiceRevision.Builder resolvedConfiguration(Consumer<ResolvedConfiguration.Builder> resolvedConfiguration) The resolved configuration for the service revision which contains the actual resources your service revision uses, such as which target groups serve traffic.
This is a convenience method that creates an instance of theResolvedConfiguration.Builderavoiding the need to create one manually viaResolvedConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresolvedConfiguration(ResolvedConfiguration).- Parameters:
resolvedConfiguration- a consumer that will call methods onResolvedConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-