Interface ServiceRevision.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceRevision.Builder,ServiceRevision>,SdkBuilder<ServiceRevision.Builder,ServiceRevision>,SdkPojo
- Enclosing class:
- ServiceRevision
public static interface ServiceRevision.Builder extends SdkPojo, CopyableBuilder<ServiceRevision.Builder,ServiceRevision>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServiceRevision.BuildercapacityProviderStrategy(Collection<CapacityProviderStrategyItem> capacityProviderStrategy)The capacity provider strategy the service revision uses.ServiceRevision.BuildercapacityProviderStrategy(Consumer<CapacityProviderStrategyItem.Builder>... capacityProviderStrategy)The capacity provider strategy the service revision uses.ServiceRevision.BuildercapacityProviderStrategy(CapacityProviderStrategyItem... capacityProviderStrategy)The capacity provider strategy the service revision uses.ServiceRevision.BuilderclusterArn(String clusterArn)The ARN of the cluster that hosts the service.ServiceRevision.BuildercontainerImages(Collection<ContainerImage> containerImages)The container images the service revision uses.ServiceRevision.BuildercontainerImages(Consumer<ContainerImage.Builder>... containerImages)The container images the service revision uses.ServiceRevision.BuildercontainerImages(ContainerImage... containerImages)The container images the service revision uses.ServiceRevision.BuildercreatedAt(Instant createdAt)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.ServiceRevision.BuilderfargateEphemeralStorage(DeploymentEphemeralStorage fargateEphemeralStorage)Sets the value of the FargateEphemeralStorage property for this object.ServiceRevision.BuilderguardDutyEnabled(Boolean guardDutyEnabled)Indicates whether Runtime Monitoring is turned on.ServiceRevision.BuilderlaunchType(String launchType)The launch type the service revision uses.ServiceRevision.BuilderlaunchType(LaunchType launchType)The launch type the service revision uses.ServiceRevision.BuilderloadBalancers(Collection<LoadBalancer> loadBalancers)The load balancers the service revision uses.ServiceRevision.BuilderloadBalancers(Consumer<LoadBalancer.Builder>... loadBalancers)The load balancers the service revision uses.ServiceRevision.BuilderloadBalancers(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.ServiceRevision.BuildernetworkConfiguration(NetworkConfiguration networkConfiguration)Sets the value of the NetworkConfiguration property for this object.ServiceRevision.BuilderplatformFamily(String platformFamily)The platform family the service revision uses.ServiceRevision.BuilderplatformVersion(String platformVersion)For the Fargate launch type, the platform version the service revision uses.ServiceRevision.BuilderserviceArn(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.ServiceRevision.BuilderserviceConnectConfiguration(ServiceConnectConfiguration serviceConnectConfiguration)Sets the value of the ServiceConnectConfiguration property for this object.ServiceRevision.BuilderserviceRegistries(Collection<ServiceRegistry> serviceRegistries)The service registries (for Service Discovery) the service revision uses.ServiceRevision.BuilderserviceRegistries(Consumer<ServiceRegistry.Builder>... serviceRegistries)The service registries (for Service Discovery) the service revision uses.ServiceRevision.BuilderserviceRegistries(ServiceRegistry... serviceRegistries)The service registries (for Service Discovery) the service revision uses.ServiceRevision.BuilderserviceRevisionArn(String serviceRevisionArn)The ARN of the service revision.ServiceRevision.BuildertaskDefinition(String taskDefinition)The task definition the service revision uses.ServiceRevision.BuildervolumeConfigurations(Collection<ServiceVolumeConfiguration> volumeConfigurations)The volumes that are configured at deployment that the service revision uses.ServiceRevision.BuildervolumeConfigurations(Consumer<ServiceVolumeConfiguration.Builder>... volumeConfigurations)The volumes that are configured at deployment that the service revision uses.ServiceRevision.BuildervolumeConfigurations(ServiceVolumeConfiguration... volumeConfigurations)The volumes that are configured at deployment that the service revision uses.ServiceRevision.BuildervpcLatticeConfigurations(Collection<VpcLatticeConfiguration> vpcLatticeConfigurations)The VPC Lattice configuration for the service revision.ServiceRevision.BuildervpcLatticeConfigurations(Consumer<VpcLatticeConfiguration.Builder>... vpcLatticeConfigurations)The VPC Lattice configuration for the service revision.ServiceRevision.BuildervpcLatticeConfigurations(VpcLatticeConfiguration... vpcLatticeConfigurations)The VPC Lattice configuration for the service revision.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
serviceRevisionArn
ServiceRevision.Builder serviceRevisionArn(String 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
ServiceRevision.Builder serviceArn(String 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
ServiceRevision.Builder clusterArn(String 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
ServiceRevision.Builder taskDefinition(String 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 to#capacityProviderStrategy(List.) - 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:
#capacityProviderStrategy(java.util.Collection)
-
launchType
ServiceRevision.Builder launchType(String 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,LaunchType
-
launchType
ServiceRevision.Builder launchType(LaunchType 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,LaunchType
-
platformVersion
ServiceRevision.Builder platformVersion(String 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
ServiceRevision.Builder platformFamily(String 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
ServiceRevision.Builder loadBalancers(Collection<LoadBalancer> 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
ServiceRevision.Builder loadBalancers(LoadBalancer... 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
ServiceRevision.Builder loadBalancers(Consumer<LoadBalancer.Builder>... 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 to#loadBalancers(List.) - 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:
#loadBalancers(java.util.Collection)
-
serviceRegistries
ServiceRevision.Builder serviceRegistries(Collection<ServiceRegistry> 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
ServiceRevision.Builder serviceRegistries(ServiceRegistry... 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
ServiceRevision.Builder serviceRegistries(Consumer<ServiceRegistry.Builder>... 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 to#serviceRegistries(List.) - 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:
#serviceRegistries(java.util.Collection)
-
networkConfiguration
ServiceRevision.Builder networkConfiguration(NetworkConfiguration 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:
networkConfiguration(NetworkConfiguration)
-
containerImages
ServiceRevision.Builder containerImages(Collection<ContainerImage> 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
ServiceRevision.Builder containerImages(ContainerImage... 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
ServiceRevision.Builder containerImages(Consumer<ContainerImage.Builder>... 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 to#containerImages(List.) - 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:
#containerImages(java.util.Collection)
-
guardDutyEnabled
ServiceRevision.Builder guardDutyEnabled(Boolean 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:
serviceConnectConfiguration(ServiceConnectConfiguration)
-
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
ServiceRevision.Builder volumeConfigurations(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
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 to#volumeConfigurations(List.) - 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:
#volumeConfigurations(java.util.Collection)
-
fargateEphemeralStorage
ServiceRevision.Builder fargateEphemeralStorage(DeploymentEphemeralStorage 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:
fargateEphemeralStorage(DeploymentEphemeralStorage)
-
createdAt
ServiceRevision.Builder createdAt(Instant 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 to#vpcLatticeConfigurations(List.) - 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:
#vpcLatticeConfigurations(java.util.Collection)
-
-