Interface ServiceTemplateVersion.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceTemplateVersion.Builder,
,ServiceTemplateVersion> SdkBuilder<ServiceTemplateVersion.Builder,
,ServiceTemplateVersion> SdkPojo
- Enclosing class:
ServiceTemplateVersion
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the version of a service template.compatibleEnvironmentTemplates
(Collection<CompatibleEnvironmentTemplate> compatibleEnvironmentTemplates) An array of compatible environment template names for the major version of a service template.compatibleEnvironmentTemplates
(Consumer<CompatibleEnvironmentTemplate.Builder>... compatibleEnvironmentTemplates) An array of compatible environment template names for the major version of a service template.compatibleEnvironmentTemplates
(CompatibleEnvironmentTemplate... compatibleEnvironmentTemplates) An array of compatible environment template names for the major version of a service template.The time when the version of a service template was created.description
(String description) A description of the version of a service template.lastModifiedAt
(Instant lastModifiedAt) The time when the version of a service template was last modified.majorVersion
(String majorVersion) The latest major version that's associated with the version of a service template.minorVersion
(String minorVersion) The minor version of a service template.recommendedMinorVersion
(String recommendedMinorVersion) The recommended minor version of the service template.The schema of the version of a service template.The service template version status.status
(TemplateVersionStatus status) The service template version status.statusMessage
(String statusMessage) A service template version status message.supportedComponentSources
(Collection<ServiceTemplateSupportedComponentSourceType> supportedComponentSources) An array of supported component sources.supportedComponentSources
(ServiceTemplateSupportedComponentSourceType... supportedComponentSources) An array of supported component sources.supportedComponentSourcesWithStrings
(String... supportedComponentSources) An array of supported component sources.supportedComponentSourcesWithStrings
(Collection<String> supportedComponentSources) An array of supported component sources.templateName
(String templateName) The name of the version of a service template.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, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the version of a service template.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the version of a service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleEnvironmentTemplates
ServiceTemplateVersion.Builder compatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplate> compatibleEnvironmentTemplates) An array of compatible environment template names for the major version of a service template.
- Parameters:
compatibleEnvironmentTemplates
- An array of compatible environment template names for the major version of a service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleEnvironmentTemplates
ServiceTemplateVersion.Builder compatibleEnvironmentTemplates(CompatibleEnvironmentTemplate... compatibleEnvironmentTemplates) An array of compatible environment template names for the major version of a service template.
- Parameters:
compatibleEnvironmentTemplates
- An array of compatible environment template names for the major version of a service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compatibleEnvironmentTemplates
ServiceTemplateVersion.Builder compatibleEnvironmentTemplates(Consumer<CompatibleEnvironmentTemplate.Builder>... compatibleEnvironmentTemplates) An array of compatible environment template names for the major version of a service template.
This is a convenience method that creates an instance of theCompatibleEnvironmentTemplate.Builder
avoiding the need to create one manually viaCompatibleEnvironmentTemplate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompatibleEnvironmentTemplates(List<CompatibleEnvironmentTemplate>)
.- Parameters:
compatibleEnvironmentTemplates
- a consumer that will call methods onCompatibleEnvironmentTemplate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time when the version of a service template was created.
- Parameters:
createdAt
- The time when the version of a service template was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the version of a service template.
- Parameters:
description
- A description of the version of a service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedAt
The time when the version of a service template was last modified.
- Parameters:
lastModifiedAt
- The time when the version of a service template was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
majorVersion
The latest major version that's associated with the version of a service template.
- Parameters:
majorVersion
- The latest major version that's associated with the version of a service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minorVersion
The minor version of a service template.
- Parameters:
minorVersion
- The minor version of a service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedMinorVersion
The recommended minor version of the service template.
- Parameters:
recommendedMinorVersion
- The recommended minor version of the service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema of the version of a service template.
- Parameters:
schema
- The schema of the version of a service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The service template version status.
- Parameters:
status
- The service template version status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The service template version status.
- Parameters:
status
- The service template version status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
A service template version status message.
- Parameters:
statusMessage
- A service template version status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedComponentSourcesWithStrings
ServiceTemplateVersion.Builder supportedComponentSourcesWithStrings(Collection<String> supportedComponentSources) An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedComponentSourcesWithStrings
ServiceTemplateVersion.Builder supportedComponentSourcesWithStrings(String... supportedComponentSources) An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedComponentSources
ServiceTemplateVersion.Builder supportedComponentSources(Collection<ServiceTemplateSupportedComponentSourceType> supportedComponentSources) An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedComponentSources
ServiceTemplateVersion.Builder supportedComponentSources(ServiceTemplateSupportedComponentSourceType... supportedComponentSources) An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
supportedComponentSources
- An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.For more information about components, see Proton components in the Proton User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateName
The name of the version of a service template.
- Parameters:
templateName
- The name of the version of a service template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-