@Generated(value="software.amazon.awssdk:codegen") public final class UpdateEnvironmentRequest extends MwaaRequest implements ToCopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateEnvironmentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
airflowConfigurationOptions()
A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your
environment.
|
String |
airflowVersion()
The Apache Airflow version for your environment.
|
static UpdateEnvironmentRequest.Builder |
builder() |
String |
dagS3Path()
The relative path to the DAGs folder on your Amazon S3 bucket.
|
String |
environmentClass()
The environment class type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionRoleArn()
The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your
environment.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAirflowConfigurationOptions()
Returns true if the AirflowConfigurationOptions property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
LoggingConfigurationInput |
loggingConfiguration()
Defines the Apache Airflow logs to send to CloudWatch Logs:
DagProcessingLogs,
SchedulerLogs, TaskLogs, WebserverLogs, WorkerLogs. |
Integer |
maxWorkers()
The maximum number of workers that you want to run in your environment.
|
Integer |
minWorkers()
The minimum number of workers that you want to run in your environment.
|
String |
name()
The name of your Amazon MWAA environment.
|
UpdateNetworkConfigurationInput |
networkConfiguration()
The VPC networking components used to secure and enable network traffic between the AWS resources for your
environment.
|
String |
pluginsS3ObjectVersion()
The version of the plugins.zip file on your Amazon S3 bucket.
|
String |
pluginsS3Path()
The relative path to the
plugins.zip file on your Amazon S3 bucket. |
String |
requirementsS3ObjectVersion()
The version of the requirements.txt file on your Amazon S3 bucket.
|
String |
requirementsS3Path()
The relative path to the
requirements.txt file on your Amazon S3 bucket. |
Integer |
schedulers()
The number of Apache Airflow schedulers to run in your Amazon MWAA environment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateEnvironmentRequest.Builder> |
serializableBuilderClass() |
String |
sourceBucketArn()
The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored.
|
UpdateEnvironmentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WebserverAccessMode |
webserverAccessMode()
The Apache Airflow Web server access mode.
|
String |
webserverAccessModeAsString()
The Apache Airflow Web server access mode.
|
String |
weeklyMaintenanceWindowStart()
The day and time of the week to start weekly maintenance updates of your environment in the following format:
DAY:HH:MM. |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAirflowConfigurationOptions()
public final Map<String,String> airflowConfigurationOptions()
A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. To learn more, see Apache Airflow configuration options.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAirflowConfigurationOptions() to see if a value was sent in this field.
public final String airflowVersion()
The Apache Airflow version for your environment. For example, v1.10.12. If no value is specified,
defaults to the latest version. Valid values: v1.10.12.
v1.10.12. If no value is
specified, defaults to the latest version. Valid values: v1.10.12.public final String dagS3Path()
The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags. To learn more, see
Adding or updating
DAGs.
dags. To learn
more, see Adding
or updating DAGs.public final String environmentClass()
The environment class type. Valid values: mw1.small, mw1.medium, mw1.large
. To learn more, see Amazon
MWAA environment class.
mw1.small, mw1.medium,
mw1.large. To learn more, see Amazon MWAA environment
class.public final String executionRoleArn()
The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your
environment. For example, arn:aws:iam::123456789:role/my-execution-role. To learn more, see Amazon MWAA Execution role.
arn:aws:iam::123456789:role/my-execution-role. To learn more,
see Amazon MWAA
Execution role.public final LoggingConfigurationInput loggingConfiguration()
Defines the Apache Airflow logs to send to CloudWatch Logs: DagProcessingLogs,
SchedulerLogs, TaskLogs, WebserverLogs, WorkerLogs.
DagProcessingLogs,
SchedulerLogs, TaskLogs, WebserverLogs, WorkerLogs.public final Integer maxWorkers()
The maximum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow
workers up to the number you specify in the MaxWorkers field. For example, 20. When
there are no more tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the one
worker that is included with your environment, or the number you specify in MinWorkers.
MaxWorkers field. For example,
20. When there are no more tasks running, and no more in the queue, MWAA disposes of the
extra workers leaving the one worker that is included with your environment, or the number you specify in
MinWorkers.public final Integer minWorkers()
The minimum number of workers that you want to run in your environment. MWAA scales the number of Apache Airflow
workers up to the number you specify in the MaxWorkers field. When there are no more tasks running,
and no more in the queue, MWAA disposes of the extra workers leaving the worker count you specify in the
MinWorkers field. For example, 2.
MaxWorkers field. When there are no more
tasks running, and no more in the queue, MWAA disposes of the extra workers leaving the worker count you
specify in the MinWorkers field. For example, 2.public final String name()
The name of your Amazon MWAA environment. For example, MyMWAAEnvironment.
MyMWAAEnvironment.public final UpdateNetworkConfigurationInput networkConfiguration()
The VPC networking components used to secure and enable network traffic between the AWS resources for your environment. To learn more, see About networking on Amazon MWAA.
public final String pluginsS3ObjectVersion()
The version of the plugins.zip file on your Amazon S3 bucket. A version must be specified each time a plugins.zip file is updated. To learn more, see How S3 Versioning works.
public final String pluginsS3Path()
The relative path to the plugins.zip file on your Amazon S3 bucket. For example,
plugins.zip. If specified, then the plugins.zip version is required. To learn more, see Installing custom
plugins.
plugins.zip file on your Amazon S3 bucket. For example,
plugins.zip. If specified, then the plugins.zip version is required. To learn more, see Installing
custom plugins.public final String requirementsS3ObjectVersion()
The version of the requirements.txt file on your Amazon S3 bucket. A version must be specified each time a requirements.txt file is updated. To learn more, see How S3 Versioning works.
public final String requirementsS3Path()
The relative path to the requirements.txt file on your Amazon S3 bucket. For example,
requirements.txt. If specified, then a file version is required. To learn more, see Installing Python
dependencies.
requirements.txt file on your Amazon S3 bucket. For example,
requirements.txt. If specified, then a file version is required. To learn more, see Installing Python
dependencies.public final Integer schedulers()
The number of Apache Airflow schedulers to run in your Amazon MWAA environment.
public final String sourceBucketArn()
The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored. For
example, arn:aws:s3:::my-airflow-bucket-unique-name. To learn more, see Create an Amazon S3 bucket for
Amazon MWAA.
arn:aws:s3:::my-airflow-bucket-unique-name. To learn more, see Create an Amazon S3 bucket
for Amazon MWAA.public final WebserverAccessMode webserverAccessMode()
The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes.
If the service returns an enum value that is not available in the current SDK version,
webserverAccessMode will return WebserverAccessMode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from webserverAccessModeAsString().
WebserverAccessModepublic final String webserverAccessModeAsString()
The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes.
If the service returns an enum value that is not available in the current SDK version,
webserverAccessMode will return WebserverAccessMode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from webserverAccessModeAsString().
WebserverAccessModepublic final String weeklyMaintenanceWindowStart()
The day and time of the week to start weekly maintenance updates of your environment in the following format:
DAY:HH:MM. For example: TUE:03:30. You can specify a start time in 30 minute increments
only. Supported input includes the following:
MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30)
DAY:HH:MM. For example: TUE:03:30. You can specify a start time in 30
minute increments only. Supported input includes the following:
MON|TUE|WED|THU|FRI|SAT|SUN:([01]\\d|2[0-3]):(00|30)
public UpdateEnvironmentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>toBuilder in class MwaaRequestpublic static UpdateEnvironmentRequest.Builder builder()
public static Class<? extends UpdateEnvironmentRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.