Interface ServiceRevision.Builder

    • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.