Interface ElasticImageConfigurationAccessor
- All Known Subinterfaces:
ElasticImageConfigurationManager
- All Known Implementing Classes:
ElasticImageConfigurationAccessorImpl
,ElasticImageConfigurationManagerImpl
public interface ElasticImageConfigurationAccessor
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<ElasticImageConfiguration>
Retrieves all elastic images that are stored in database@NotNull List<ElasticImageConfiguration>
@Nullable ElasticImageConfiguration
getElasticImageConfigurationById
(long configurationId) Retrieve an elastic image.@NotNull List<ElasticImageConfiguration>
getElasticImageConfigurationsByName
(@NotNull String configurationName, com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region) Retrieve an elastic image by name in a given region.@NotNull List<ElasticImageConfiguration>
-
Method Details
-
getElasticImageConfigurationById
@Nullable @Nullable ElasticImageConfiguration getElasticImageConfigurationById(long configurationId) Retrieve an elastic image.- Parameters:
configurationId
- - id of the ElasticImageConfiguration to find- Returns:
- ElasticImageConfiguration if exists null otherwise.
-
getElasticImageConfigurationsByName
@NotNull @NotNull List<ElasticImageConfiguration> getElasticImageConfigurationsByName(@NotNull @NotNull String configurationName, @NotNull com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region) Retrieve an elastic image by name in a given region.- Parameters:
configurationName
- - name of the ElasticImageConfiguration to findregion
- the region to check- Returns:
- ElasticImageConfiguration if exists null otherwise.
-
getElasticImageConfigurationsShippedWithBamboo
-
getAllElasticImageConfigurations
Retrieves all elastic images that are stored in database -
getAllElasticImageConfigurationsForCurrentRegion
@NotNull @NotNull List<ElasticImageConfiguration> getAllElasticImageConfigurationsForCurrentRegion()
-