public static interface Environment.Builder extends SdkPojo, CopyableBuilder<Environment.Builder,Environment>
| Modifier and Type | Method and Description |
|---|---|
Environment.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
Environment.Builder |
description(String description)
The description for the environment.
|
Environment.Builder |
id(String id)
The ID of the environment.
|
default Environment.Builder |
lifecycle(Consumer<EnvironmentLifecycle.Builder> lifecycle)
The state of the environment in its creation or deletion lifecycle.
|
Environment.Builder |
lifecycle(EnvironmentLifecycle lifecycle)
The state of the environment in its creation or deletion lifecycle.
|
Environment.Builder |
name(String name)
The name of the environment.
|
Environment.Builder |
ownerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner.
|
Environment.Builder |
type(EnvironmentType type)
The type of environment.
|
Environment.Builder |
type(String type)
The type of environment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEnvironment.Builder id(String id)
The ID of the environment.
id - The ID of the environment.Environment.Builder name(String name)
The name of the environment.
name - The name of the environment.Environment.Builder description(String description)
The description for the environment.
description - The description for the environment.Environment.Builder type(String type)
The type of environment. Valid values include the following:
ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
ssh: Your own server connects to the environment.
type - The type of environment. Valid values include the following:
ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
ssh: Your own server connects to the environment.
EnvironmentType,
EnvironmentTypeEnvironment.Builder type(EnvironmentType type)
The type of environment. Valid values include the following:
ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
ssh: Your own server connects to the environment.
type - The type of environment. Valid values include the following:
ec2: An Amazon Elastic Compute Cloud (Amazon EC2) instance connects to the environment.
ssh: Your own server connects to the environment.
EnvironmentType,
EnvironmentTypeEnvironment.Builder arn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn - The Amazon Resource Name (ARN) of the environment.Environment.Builder ownerArn(String ownerArn)
The Amazon Resource Name (ARN) of the environment owner.
ownerArn - The Amazon Resource Name (ARN) of the environment owner.Environment.Builder lifecycle(EnvironmentLifecycle lifecycle)
The state of the environment in its creation or deletion lifecycle.
lifecycle - The state of the environment in its creation or deletion lifecycle.default Environment.Builder lifecycle(Consumer<EnvironmentLifecycle.Builder> lifecycle)
The state of the environment in its creation or deletion lifecycle.
This is a convenience that creates an instance of theEnvironmentLifecycle.Builder avoiding the need
to create one manually via EnvironmentLifecycle.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to lifecycle(EnvironmentLifecycle).lifecycle - a consumer that will call methods on EnvironmentLifecycle.Builderlifecycle(EnvironmentLifecycle)Copyright © 2019. All rights reserved.