| Package | Description |
|---|---|
| software.amazon.awssdk.services.opsworks.model |
| Modifier and Type | Method and Description |
|---|---|
Layer.Builder |
Layer.Builder.arn(String arn)
The Amazon Resource Number (ARN) of a layer.
|
Layer.Builder |
Layer.Builder.attributes(Map<LayerAttributesKeys,String> attributes)
The layer attributes.
|
Layer.Builder |
Layer.Builder.attributesWithStrings(Map<String,String> attributes)
The layer attributes.
|
Layer.Builder |
Layer.Builder.autoAssignElasticIps(Boolean autoAssignElasticIps)
Whether to automatically assign an Elastic IP
address to the layer's instances.
|
Layer.Builder |
Layer.Builder.autoAssignPublicIps(Boolean autoAssignPublicIps)
For stacks that are running in a VPC, whether to automatically assign a public IP address to the layer's
instances.
|
static Layer.Builder |
Layer.builder() |
Layer.Builder |
Layer.Builder.cloudWatchLogsConfiguration(CloudWatchLogsConfiguration cloudWatchLogsConfiguration)
The Amazon CloudWatch Logs configuration settings for the layer.
|
default Layer.Builder |
Layer.Builder.cloudWatchLogsConfiguration(Consumer<CloudWatchLogsConfiguration.Builder> cloudWatchLogsConfiguration)
The Amazon CloudWatch Logs configuration settings for the layer.
|
Layer.Builder |
Layer.Builder.createdAt(String createdAt)
Date when the layer was created.
|
Layer.Builder |
Layer.Builder.customInstanceProfileArn(String customInstanceProfileArn)
The ARN of the default IAM profile to be used for the layer's EC2 instances.
|
Layer.Builder |
Layer.Builder.customJson(String customJson)
A JSON formatted string containing the layer's custom stack configuration and deployment attributes.
|
default Layer.Builder |
Layer.Builder.customRecipes(Consumer<Recipes.Builder> customRecipes)
A
LayerCustomRecipes object that specifies the layer's custom recipes. |
Layer.Builder |
Layer.Builder.customRecipes(Recipes customRecipes)
A
LayerCustomRecipes object that specifies the layer's custom recipes. |
Layer.Builder |
Layer.Builder.customSecurityGroupIds(Collection<String> customSecurityGroupIds)
An array containing the layer's custom security group IDs.
|
Layer.Builder |
Layer.Builder.customSecurityGroupIds(String... customSecurityGroupIds)
An array containing the layer's custom security group IDs.
|
default Layer.Builder |
Layer.Builder.defaultRecipes(Consumer<Recipes.Builder> defaultRecipes)
AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, deploy,
undeploy, and shutdown.
|
Layer.Builder |
Layer.Builder.defaultRecipes(Recipes defaultRecipes)
AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, deploy,
undeploy, and shutdown.
|
Layer.Builder |
Layer.Builder.defaultSecurityGroupNames(Collection<String> defaultSecurityGroupNames)
An array containing the layer's security group names.
|
Layer.Builder |
Layer.Builder.defaultSecurityGroupNames(String... defaultSecurityGroupNames)
An array containing the layer's security group names.
|
Layer.Builder |
Layer.Builder.enableAutoHealing(Boolean enableAutoHealing)
Whether auto healing is disabled for the layer.
|
Layer.Builder |
Layer.Builder.installUpdatesOnBoot(Boolean installUpdatesOnBoot)
Whether to install operating system and package updates when the instance boots.
|
Layer.Builder |
Layer.Builder.layerId(String layerId)
The layer ID.
|
default Layer.Builder |
Layer.Builder.lifecycleEventConfiguration(Consumer<LifecycleEventConfiguration.Builder> lifecycleEventConfiguration)
A
LifeCycleEventConfiguration object that specifies the Shutdown event configuration. |
Layer.Builder |
Layer.Builder.lifecycleEventConfiguration(LifecycleEventConfiguration lifecycleEventConfiguration)
A
LifeCycleEventConfiguration object that specifies the Shutdown event configuration. |
Layer.Builder |
Layer.Builder.name(String name)
The layer name.
|
Layer.Builder |
Layer.Builder.packages(Collection<String> packages)
An array of
Package objects that describe the layer's packages. |
Layer.Builder |
Layer.Builder.packages(String... packages)
An array of
Package objects that describe the layer's packages. |
Layer.Builder |
Layer.Builder.shortname(String shortname)
The layer short name.
|
Layer.Builder |
Layer.Builder.stackId(String stackId)
The layer stack ID.
|
Layer.Builder |
Layer.toBuilder() |
Layer.Builder |
Layer.Builder.type(LayerType type)
The layer type.
|
Layer.Builder |
Layer.Builder.type(String type)
The layer type.
|
Layer.Builder |
Layer.Builder.useEbsOptimizedInstances(Boolean useEbsOptimizedInstances)
Whether the layer uses Amazon EBS-optimized instances.
|
Layer.Builder |
Layer.Builder.volumeConfigurations(Collection<VolumeConfiguration> volumeConfigurations)
A
VolumeConfigurations object that describes the layer's Amazon EBS volumes. |
Layer.Builder |
Layer.Builder.volumeConfigurations(Consumer<VolumeConfiguration.Builder>... volumeConfigurations)
A
VolumeConfigurations object that describes the layer's Amazon EBS volumes. |
Layer.Builder |
Layer.Builder.volumeConfigurations(VolumeConfiguration... volumeConfigurations)
A
VolumeConfigurations object that describes the layer's Amazon EBS volumes. |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Layer.Builder> |
Layer.serializableBuilderClass() |
Copyright © 2023. All rights reserved.