Interface ServiceTemplateVersion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceTemplateVersion.Builder,ServiceTemplateVersion>,SdkBuilder<ServiceTemplateVersion.Builder,ServiceTemplateVersion>,SdkPojo
- Enclosing class:
- ServiceTemplateVersion
public static interface ServiceTemplateVersion.Builder extends SdkPojo, CopyableBuilder<ServiceTemplateVersion.Builder,ServiceTemplateVersion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceTemplateVersion.Builderarn(String arn)The Amazon Resource Name (ARN) of the version of a service template.ServiceTemplateVersion.BuildercompatibleEnvironmentTemplates(Collection<CompatibleEnvironmentTemplate> compatibleEnvironmentTemplates)An array of compatible environment template names for the major version of a service template.ServiceTemplateVersion.BuildercompatibleEnvironmentTemplates(Consumer<CompatibleEnvironmentTemplate.Builder>... compatibleEnvironmentTemplates)An array of compatible environment template names for the major version of a service template.ServiceTemplateVersion.BuildercompatibleEnvironmentTemplates(CompatibleEnvironmentTemplate... compatibleEnvironmentTemplates)An array of compatible environment template names for the major version of a service template.ServiceTemplateVersion.BuildercreatedAt(Instant createdAt)The time when the version of a service template was created.ServiceTemplateVersion.Builderdescription(String description)A description of the version of a service template.ServiceTemplateVersion.BuilderlastModifiedAt(Instant lastModifiedAt)The time when the version of a service template was last modified.ServiceTemplateVersion.BuildermajorVersion(String majorVersion)The latest major version that's associated with the version of a service template.ServiceTemplateVersion.BuilderminorVersion(String minorVersion)The minor version of a service template.ServiceTemplateVersion.BuilderrecommendedMinorVersion(String recommendedMinorVersion)The recommended minor version of the service template.ServiceTemplateVersion.Builderschema(String schema)The schema of the version of a service template.ServiceTemplateVersion.Builderstatus(String status)The service template version status.ServiceTemplateVersion.Builderstatus(TemplateVersionStatus status)The service template version status.ServiceTemplateVersion.BuilderstatusMessage(String statusMessage)A service template version status message.ServiceTemplateVersion.BuildersupportedComponentSources(Collection<ServiceTemplateSupportedComponentSourceType> supportedComponentSources)An array of supported component sources.ServiceTemplateVersion.BuildersupportedComponentSources(ServiceTemplateSupportedComponentSourceType... supportedComponentSources)An array of supported component sources.ServiceTemplateVersion.BuildersupportedComponentSourcesWithStrings(String... supportedComponentSources)An array of supported component sources.ServiceTemplateVersion.BuildersupportedComponentSourcesWithStrings(Collection<String> supportedComponentSources)An array of supported component sources.ServiceTemplateVersion.BuildertemplateName(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 Detail
-
arn
ServiceTemplateVersion.Builder arn(String 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.Builderavoiding the need to create one manually viaCompatibleEnvironmentTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#compatibleEnvironmentTemplates(List.) - 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:
#compatibleEnvironmentTemplates(java.util.Collection)
-
createdAt
ServiceTemplateVersion.Builder createdAt(Instant 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
ServiceTemplateVersion.Builder description(String 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
ServiceTemplateVersion.Builder lastModifiedAt(Instant 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
ServiceTemplateVersion.Builder majorVersion(String 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
ServiceTemplateVersion.Builder minorVersion(String 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
ServiceTemplateVersion.Builder recommendedMinorVersion(String 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
ServiceTemplateVersion.Builder schema(String 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
ServiceTemplateVersion.Builder status(String 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:
TemplateVersionStatus,TemplateVersionStatus
-
status
ServiceTemplateVersion.Builder status(TemplateVersionStatus 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:
TemplateVersionStatus,TemplateVersionStatus
-
statusMessage
ServiceTemplateVersion.Builder statusMessage(String 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
ServiceTemplateVersion.Builder templateName(String 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.
-
-