@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Environment extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Managed Workflows for Apache Airflow (MWAA) environment.
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
Environment |
addAirflowConfigurationOptionsEntry(String key,
String value)
Add a single AirflowConfigurationOptions entry
|
Environment |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Environment |
clearAirflowConfigurationOptionsEntries()
Removes all the entries added into AirflowConfigurationOptions.
|
Environment |
clearTagsEntries()
Removes all the entries added into Tags.
|
Environment |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAirflowConfigurationOptions()
A list of key-value pairs containing the Apache Airflow configuration options attached to your environment.
|
String |
getAirflowVersion()
The Apache Airflow version on your environment.
|
String |
getArn()
The Amazon Resource Name (ARN) of the Amazon MWAA environment.
|
Date |
getCreatedAt()
The day and time the environment was created.
|
String |
getDagS3Path()
The relative path to the DAGs folder on your Amazon S3 bucket.
|
String |
getEnvironmentClass()
The environment class type.
|
String |
getExecutionRoleArn()
The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your
environment.
|
String |
getKmsKey()
The Key Management Service (KMS) encryption key used to encrypt the data in your environment.
|
LastUpdate |
getLastUpdate() |
LoggingConfiguration |
getLoggingConfiguration()
The Apache Airflow logs being sent to CloudWatch Logs:
DagProcessingLogs , SchedulerLogs , TaskLogs , WebserverLogs , WorkerLogs . |
Integer |
getMaxWorkers()
The maximum number of workers that run in your environment.
|
Integer |
getMinWorkers()
The minimum number of workers that run in your environment.
|
String |
getName()
The name of the Amazon MWAA environment.
|
NetworkConfiguration |
getNetworkConfiguration() |
String |
getPluginsS3ObjectVersion()
The version of the plugins.zip file on your Amazon S3 bucket.
|
String |
getPluginsS3Path()
The relative path to the
plugins.zip file on your Amazon S3 bucket. |
String |
getRequirementsS3ObjectVersion()
The version of the requirements.txt file on your Amazon S3 bucket.
|
String |
getRequirementsS3Path()
The relative path to the
requirements.txt file on your Amazon S3 bucket. |
Integer |
getSchedulers()
The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
|
String |
getServiceRoleArn()
The Amazon Resource Name (ARN) for the service-linked role of the environment.
|
String |
getSourceBucketArn()
The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored.
|
String |
getStatus()
The status of the Amazon MWAA environment.
|
Map<String,String> |
getTags()
The key-value tag pairs associated to your environment.
|
String |
getWebserverAccessMode()
The Apache Airflow Web server access mode.
|
String |
getWebserverUrl()
The Apache Airflow Web server host name for the Amazon MWAA environment.
|
String |
getWeeklyMaintenanceWindowStart()
The day and time of the week that weekly maintenance updates are scheduled.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAirflowConfigurationOptions(Map<String,String> airflowConfigurationOptions)
A list of key-value pairs containing the Apache Airflow configuration options attached to your environment.
|
void |
setAirflowVersion(String airflowVersion)
The Apache Airflow version on your environment.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the Amazon MWAA environment.
|
void |
setCreatedAt(Date createdAt)
The day and time the environment was created.
|
void |
setDagS3Path(String dagS3Path)
The relative path to the DAGs folder on your Amazon S3 bucket.
|
void |
setEnvironmentClass(String environmentClass)
The environment class type.
|
void |
setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your
environment.
|
void |
setKmsKey(String kmsKey)
The Key Management Service (KMS) encryption key used to encrypt the data in your environment.
|
void |
setLastUpdate(LastUpdate lastUpdate) |
void |
setLoggingConfiguration(LoggingConfiguration loggingConfiguration)
The Apache Airflow logs being sent to CloudWatch Logs:
DagProcessingLogs , SchedulerLogs , TaskLogs , WebserverLogs , WorkerLogs . |
void |
setMaxWorkers(Integer maxWorkers)
The maximum number of workers that run in your environment.
|
void |
setMinWorkers(Integer minWorkers)
The minimum number of workers that run in your environment.
|
void |
setName(String name)
The name of the Amazon MWAA environment.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration) |
void |
setPluginsS3ObjectVersion(String pluginsS3ObjectVersion)
The version of the plugins.zip file on your Amazon S3 bucket.
|
void |
setPluginsS3Path(String pluginsS3Path)
The relative path to the
plugins.zip file on your Amazon S3 bucket. |
void |
setRequirementsS3ObjectVersion(String requirementsS3ObjectVersion)
The version of the requirements.txt file on your Amazon S3 bucket.
|
void |
setRequirementsS3Path(String requirementsS3Path)
The relative path to the
requirements.txt file on your Amazon S3 bucket. |
void |
setSchedulers(Integer schedulers)
The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
|
void |
setServiceRoleArn(String serviceRoleArn)
The Amazon Resource Name (ARN) for the service-linked role of the environment.
|
void |
setSourceBucketArn(String sourceBucketArn)
The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored.
|
void |
setStatus(String status)
The status of the Amazon MWAA environment.
|
void |
setTags(Map<String,String> tags)
The key-value tag pairs associated to your environment.
|
void |
setWebserverAccessMode(String webserverAccessMode)
The Apache Airflow Web server access mode.
|
void |
setWebserverUrl(String webserverUrl)
The Apache Airflow Web server host name for the Amazon MWAA environment.
|
void |
setWeeklyMaintenanceWindowStart(String weeklyMaintenanceWindowStart)
The day and time of the week that weekly maintenance updates are scheduled.
|
String |
toString()
Returns a string representation of this object.
|
Environment |
withAirflowConfigurationOptions(Map<String,String> airflowConfigurationOptions)
A list of key-value pairs containing the Apache Airflow configuration options attached to your environment.
|
Environment |
withAirflowVersion(String airflowVersion)
The Apache Airflow version on your environment.
|
Environment |
withArn(String arn)
The Amazon Resource Name (ARN) of the Amazon MWAA environment.
|
Environment |
withCreatedAt(Date createdAt)
The day and time the environment was created.
|
Environment |
withDagS3Path(String dagS3Path)
The relative path to the DAGs folder on your Amazon S3 bucket.
|
Environment |
withEnvironmentClass(String environmentClass)
The environment class type.
|
Environment |
withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the execution role in IAM that allows MWAA to access AWS resources in your
environment.
|
Environment |
withKmsKey(String kmsKey)
The Key Management Service (KMS) encryption key used to encrypt the data in your environment.
|
Environment |
withLastUpdate(LastUpdate lastUpdate) |
Environment |
withLoggingConfiguration(LoggingConfiguration loggingConfiguration)
The Apache Airflow logs being sent to CloudWatch Logs:
DagProcessingLogs , SchedulerLogs , TaskLogs , WebserverLogs , WorkerLogs . |
Environment |
withMaxWorkers(Integer maxWorkers)
The maximum number of workers that run in your environment.
|
Environment |
withMinWorkers(Integer minWorkers)
The minimum number of workers that run in your environment.
|
Environment |
withName(String name)
The name of the Amazon MWAA environment.
|
Environment |
withNetworkConfiguration(NetworkConfiguration networkConfiguration) |
Environment |
withPluginsS3ObjectVersion(String pluginsS3ObjectVersion)
The version of the plugins.zip file on your Amazon S3 bucket.
|
Environment |
withPluginsS3Path(String pluginsS3Path)
The relative path to the
plugins.zip file on your Amazon S3 bucket. |
Environment |
withRequirementsS3ObjectVersion(String requirementsS3ObjectVersion)
The version of the requirements.txt file on your Amazon S3 bucket.
|
Environment |
withRequirementsS3Path(String requirementsS3Path)
The relative path to the
requirements.txt file on your Amazon S3 bucket. |
Environment |
withSchedulers(Integer schedulers)
The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
|
Environment |
withServiceRoleArn(String serviceRoleArn)
The Amazon Resource Name (ARN) for the service-linked role of the environment.
|
Environment |
withSourceBucketArn(String sourceBucketArn)
The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code and supporting files are stored.
|
Environment |
withStatus(EnvironmentStatus status)
The status of the Amazon MWAA environment.
|
Environment |
withStatus(String status)
The status of the Amazon MWAA environment.
|
Environment |
withTags(Map<String,String> tags)
The key-value tag pairs associated to your environment.
|
Environment |
withWebserverAccessMode(String webserverAccessMode)
The Apache Airflow Web server access mode.
|
Environment |
withWebserverAccessMode(WebserverAccessMode webserverAccessMode)
The Apache Airflow Web server access mode.
|
Environment |
withWebserverUrl(String webserverUrl)
The Apache Airflow Web server host name for the Amazon MWAA environment.
|
Environment |
withWeeklyMaintenanceWindowStart(String weeklyMaintenanceWindowStart)
The day and time of the week that weekly maintenance updates are scheduled.
|
public Map<String,String> getAirflowConfigurationOptions()
A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. To learn more, see Apache Airflow configuration options.
public void setAirflowConfigurationOptions(Map<String,String> airflowConfigurationOptions)
A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. To learn more, see Apache Airflow configuration options.
airflowConfigurationOptions
- A list of key-value pairs containing the Apache Airflow configuration options attached to your
environment. To learn more, see Apache Airflow
configuration options.public Environment withAirflowConfigurationOptions(Map<String,String> airflowConfigurationOptions)
A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. To learn more, see Apache Airflow configuration options.
airflowConfigurationOptions
- A list of key-value pairs containing the Apache Airflow configuration options attached to your
environment. To learn more, see Apache Airflow
configuration options.public Environment addAirflowConfigurationOptionsEntry(String key, String value)
public Environment clearAirflowConfigurationOptionsEntries()
public void setAirflowVersion(String airflowVersion)
The Apache Airflow version on your environment. For example, v1.10.12
.
airflowVersion
- The Apache Airflow version on your environment. For example, v1.10.12
.public String getAirflowVersion()
The Apache Airflow version on your environment. For example, v1.10.12
.
v1.10.12
.public Environment withAirflowVersion(String airflowVersion)
The Apache Airflow version on your environment. For example, v1.10.12
.
airflowVersion
- The Apache Airflow version on your environment. For example, v1.10.12
.public void setArn(String arn)
The Amazon Resource Name (ARN) of the Amazon MWAA environment.
arn
- The Amazon Resource Name (ARN) of the Amazon MWAA environment.public String getArn()
The Amazon Resource Name (ARN) of the Amazon MWAA environment.
public Environment withArn(String arn)
The Amazon Resource Name (ARN) of the Amazon MWAA environment.
arn
- The Amazon Resource Name (ARN) of the Amazon MWAA environment.public void setCreatedAt(Date createdAt)
The day and time the environment was created.
createdAt
- The day and time the environment was created.public Date getCreatedAt()
The day and time the environment was created.
public Environment withCreatedAt(Date createdAt)
The day and time the environment was created.
createdAt
- The day and time the environment was created.public void setDagS3Path(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.
dagS3Path
- The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags
. To learn
more, see Adding
or updating DAGs.public String getDagS3Path()
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 Environment withDagS3Path(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.
dagS3Path
- The relative path to the DAGs folder on your Amazon S3 bucket. For example, dags
. To learn
more, see Adding
or updating DAGs.public void setEnvironmentClass(String environmentClass)
The environment class type. Valid values: mw1.small
, mw1.medium
, mw1.large
. To learn more, see Amazon
MWAA environment class.
environmentClass
- The environment class type. Valid values: mw1.small
, mw1.medium
,
mw1.large
. To learn more, see Amazon MWAA environment
class.public String getEnvironmentClass()
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 Environment withEnvironmentClass(String environmentClass)
The environment class type. Valid values: mw1.small
, mw1.medium
, mw1.large
. To learn more, see Amazon
MWAA environment class.
environmentClass
- The environment class type. Valid values: mw1.small
, mw1.medium
,
mw1.large
. To learn more, see Amazon MWAA environment
class.public void setExecutionRoleArn(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.
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.public String getExecutionRoleArn()
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 Environment withExecutionRoleArn(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.
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.public void setKmsKey(String kmsKey)
The Key Management Service (KMS) encryption key used to encrypt the data in your environment.
kmsKey
- The Key Management Service (KMS) encryption key used to encrypt the data in your environment.public String getKmsKey()
The Key Management Service (KMS) encryption key used to encrypt the data in your environment.
public Environment withKmsKey(String kmsKey)
The Key Management Service (KMS) encryption key used to encrypt the data in your environment.
kmsKey
- The Key Management Service (KMS) encryption key used to encrypt the data in your environment.public void setLastUpdate(LastUpdate lastUpdate)
lastUpdate
- public LastUpdate getLastUpdate()
public Environment withLastUpdate(LastUpdate lastUpdate)
lastUpdate
- public void setLoggingConfiguration(LoggingConfiguration loggingConfiguration)
The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs
, SchedulerLogs
, TaskLogs
, WebserverLogs
, WorkerLogs
.
loggingConfiguration
- The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs
,
SchedulerLogs
, TaskLogs
, WebserverLogs
, WorkerLogs
.public LoggingConfiguration getLoggingConfiguration()
The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs
, SchedulerLogs
, TaskLogs
, WebserverLogs
, WorkerLogs
.
DagProcessingLogs
,
SchedulerLogs
, TaskLogs
, WebserverLogs
, WorkerLogs
.public Environment withLoggingConfiguration(LoggingConfiguration loggingConfiguration)
The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs
, SchedulerLogs
, TaskLogs
, WebserverLogs
, WorkerLogs
.
loggingConfiguration
- The Apache Airflow logs being sent to CloudWatch Logs: DagProcessingLogs
,
SchedulerLogs
, TaskLogs
, WebserverLogs
, WorkerLogs
.public void setMaxWorkers(Integer maxWorkers)
The maximum number of workers that run in your environment. For example, 20
.
maxWorkers
- The maximum number of workers that run in your environment. For example, 20
.public Integer getMaxWorkers()
The maximum number of workers that run in your environment. For example, 20
.
20
.public Environment withMaxWorkers(Integer maxWorkers)
The maximum number of workers that run in your environment. For example, 20
.
maxWorkers
- The maximum number of workers that run in your environment. For example, 20
.public void setMinWorkers(Integer minWorkers)
The minimum number of workers that run in your environment. For example, 2
.
minWorkers
- The minimum number of workers that run in your environment. For example, 2
.public Integer getMinWorkers()
The minimum number of workers that run in your environment. For example, 2
.
2
.public Environment withMinWorkers(Integer minWorkers)
The minimum number of workers that run in your environment. For example, 2
.
minWorkers
- The minimum number of workers that run in your environment. For example, 2
.public void setName(String name)
The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.
name
- The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.public String getName()
The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.
MyMWAAEnvironment
.public Environment withName(String name)
The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.
name
- The name of the Amazon MWAA environment. For example, MyMWAAEnvironment
.public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration
- public NetworkConfiguration getNetworkConfiguration()
public Environment withNetworkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration
- public void setPluginsS3ObjectVersion(String pluginsS3ObjectVersion)
The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins.
pluginsS3ObjectVersion
- The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing
custom plugins.public String getPluginsS3ObjectVersion()
The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins.
public Environment withPluginsS3ObjectVersion(String pluginsS3ObjectVersion)
The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing custom plugins.
pluginsS3ObjectVersion
- The version of the plugins.zip file on your Amazon S3 bucket. To learn more, see Installing
custom plugins.public void setPluginsS3Path(String pluginsS3Path)
The relative path to the plugins.zip
file on your Amazon S3 bucket. For example,
plugins.zip
. To learn more, see Installing custom
plugins.
pluginsS3Path
- The relative path to the plugins.zip
file on your Amazon S3 bucket. For example,
plugins.zip
. To learn more, see Installing
custom plugins.public String getPluginsS3Path()
The relative path to the plugins.zip
file on your Amazon S3 bucket. For example,
plugins.zip
. To learn more, see Installing custom
plugins.
plugins.zip
file on your Amazon S3 bucket. For example,
plugins.zip
. To learn more, see Installing
custom plugins.public Environment withPluginsS3Path(String pluginsS3Path)
The relative path to the plugins.zip
file on your Amazon S3 bucket. For example,
plugins.zip
. To learn more, see Installing custom
plugins.
pluginsS3Path
- The relative path to the plugins.zip
file on your Amazon S3 bucket. For example,
plugins.zip
. To learn more, see Installing
custom plugins.public void setRequirementsS3ObjectVersion(String requirementsS3ObjectVersion)
The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies.
requirementsS3ObjectVersion
- The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python
dependencies.public String getRequirementsS3ObjectVersion()
The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies.
public Environment withRequirementsS3ObjectVersion(String requirementsS3ObjectVersion)
The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python dependencies.
requirementsS3ObjectVersion
- The version of the requirements.txt file on your Amazon S3 bucket. To learn more, see Installing Python
dependencies.public void setRequirementsS3Path(String requirementsS3Path)
The relative path to the requirements.txt
file on your Amazon S3 bucket. For example,
requirements.txt
. To learn more, see Installing Python
dependencies.
requirementsS3Path
- The relative path to the requirements.txt
file on your Amazon S3 bucket. For example,
requirements.txt
. To learn more, see Installing Python
dependencies.public String getRequirementsS3Path()
The relative path to the requirements.txt
file on your Amazon S3 bucket. For example,
requirements.txt
. To learn more, see Installing Python
dependencies.
requirements.txt
file on your Amazon S3 bucket. For example,
requirements.txt
. To learn more, see Installing Python
dependencies.public Environment withRequirementsS3Path(String requirementsS3Path)
The relative path to the requirements.txt
file on your Amazon S3 bucket. For example,
requirements.txt
. To learn more, see Installing Python
dependencies.
requirementsS3Path
- The relative path to the requirements.txt
file on your Amazon S3 bucket. For example,
requirements.txt
. To learn more, see Installing Python
dependencies.public void setSchedulers(Integer schedulers)
The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
schedulers
- The number of Apache Airflow schedulers that run in your Amazon MWAA environment.public Integer getSchedulers()
The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
public Environment withSchedulers(Integer schedulers)
The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
schedulers
- The number of Apache Airflow schedulers that run in your Amazon MWAA environment.public void setServiceRoleArn(String serviceRoleArn)
The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see Amazon MWAA Service-linked role.
serviceRoleArn
- The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see Amazon MWAA Service-linked
role.public String getServiceRoleArn()
The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see Amazon MWAA Service-linked role.
public Environment withServiceRoleArn(String serviceRoleArn)
The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see Amazon MWAA Service-linked role.
serviceRoleArn
- The Amazon Resource Name (ARN) for the service-linked role of the environment. To learn more, see Amazon MWAA Service-linked
role.public void setSourceBucketArn(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.
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.public String getSourceBucketArn()
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 Environment withSourceBucketArn(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.
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.public void setStatus(String status)
The status of the Amazon MWAA environment. Valid values:
CREATING
- Indicates the request to create the environment is in progress.
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment could
not be created.
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
UPDATING
- Indicates the request to update the environment is in progress.
DELETING
- Indicates the request to delete the environment is in progress.
DELETED
- Indicates the request to delete the environment is complete, and the environment has been
deleted.
UNAVAILABLE
- Indicates the request failed, but the environment was unable to rollback and is not in
a stable state.
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment has
rolled back successfully and is ready to use.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see Amazon MWAA troubleshooting.
status
- The status of the Amazon MWAA environment. Valid values:
CREATING
- Indicates the request to create the environment is in progress.
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment
could not be created.
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
UPDATING
- Indicates the request to update the environment is in progress.
DELETING
- Indicates the request to delete the environment is in progress.
DELETED
- Indicates the request to delete the environment is complete, and the environment
has been deleted.
UNAVAILABLE
- Indicates the request failed, but the environment was unable to rollback and is
not in a stable state.
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment
has rolled back successfully and is ready to use.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see Amazon MWAA troubleshooting.
EnvironmentStatus
public String getStatus()
The status of the Amazon MWAA environment. Valid values:
CREATING
- Indicates the request to create the environment is in progress.
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment could
not be created.
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
UPDATING
- Indicates the request to update the environment is in progress.
DELETING
- Indicates the request to delete the environment is in progress.
DELETED
- Indicates the request to delete the environment is complete, and the environment has been
deleted.
UNAVAILABLE
- Indicates the request failed, but the environment was unable to rollback and is not in
a stable state.
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment has
rolled back successfully and is ready to use.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see Amazon MWAA troubleshooting.
CREATING
- Indicates the request to create the environment is in progress.
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment
could not be created.
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
UPDATING
- Indicates the request to update the environment is in progress.
DELETING
- Indicates the request to delete the environment is in progress.
DELETED
- Indicates the request to delete the environment is complete, and the environment
has been deleted.
UNAVAILABLE
- Indicates the request failed, but the environment was unable to rollback and
is not in a stable state.
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment
has rolled back successfully and is ready to use.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see Amazon MWAA troubleshooting.
EnvironmentStatus
public Environment withStatus(String status)
The status of the Amazon MWAA environment. Valid values:
CREATING
- Indicates the request to create the environment is in progress.
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment could
not be created.
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
UPDATING
- Indicates the request to update the environment is in progress.
DELETING
- Indicates the request to delete the environment is in progress.
DELETED
- Indicates the request to delete the environment is complete, and the environment has been
deleted.
UNAVAILABLE
- Indicates the request failed, but the environment was unable to rollback and is not in
a stable state.
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment has
rolled back successfully and is ready to use.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see Amazon MWAA troubleshooting.
status
- The status of the Amazon MWAA environment. Valid values:
CREATING
- Indicates the request to create the environment is in progress.
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment
could not be created.
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
UPDATING
- Indicates the request to update the environment is in progress.
DELETING
- Indicates the request to delete the environment is in progress.
DELETED
- Indicates the request to delete the environment is complete, and the environment
has been deleted.
UNAVAILABLE
- Indicates the request failed, but the environment was unable to rollback and is
not in a stable state.
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment
has rolled back successfully and is ready to use.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see Amazon MWAA troubleshooting.
EnvironmentStatus
public Environment withStatus(EnvironmentStatus status)
The status of the Amazon MWAA environment. Valid values:
CREATING
- Indicates the request to create the environment is in progress.
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment could
not be created.
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
UPDATING
- Indicates the request to update the environment is in progress.
DELETING
- Indicates the request to delete the environment is in progress.
DELETED
- Indicates the request to delete the environment is complete, and the environment has been
deleted.
UNAVAILABLE
- Indicates the request failed, but the environment was unable to rollback and is not in
a stable state.
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment has
rolled back successfully and is ready to use.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see Amazon MWAA troubleshooting.
status
- The status of the Amazon MWAA environment. Valid values:
CREATING
- Indicates the request to create the environment is in progress.
CREATE_FAILED
- Indicates the request to create the environment failed, and the environment
could not be created.
AVAILABLE
- Indicates the request was successful and the environment is ready to use.
UPDATING
- Indicates the request to update the environment is in progress.
DELETING
- Indicates the request to delete the environment is in progress.
DELETED
- Indicates the request to delete the environment is complete, and the environment
has been deleted.
UNAVAILABLE
- Indicates the request failed, but the environment was unable to rollback and is
not in a stable state.
UPDATE_FAILED
- Indicates the request to update the environment failed, and the environment
has rolled back successfully and is ready to use.
We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. To learn more, see Amazon MWAA troubleshooting.
EnvironmentStatus
public Map<String,String> getTags()
The key-value tag pairs associated to your environment. For example, "Environment": "Staging"
. To
learn more, see Tagging AWS
resources.
"Environment": "Staging"
. To learn more, see Tagging AWS resources.public void setTags(Map<String,String> tags)
The key-value tag pairs associated to your environment. For example, "Environment": "Staging"
. To
learn more, see Tagging AWS
resources.
tags
- The key-value tag pairs associated to your environment. For example, "Environment": "Staging"
. To learn more, see Tagging AWS
resources.public Environment withTags(Map<String,String> tags)
The key-value tag pairs associated to your environment. For example, "Environment": "Staging"
. To
learn more, see Tagging AWS
resources.
tags
- The key-value tag pairs associated to your environment. For example, "Environment": "Staging"
. To learn more, see Tagging AWS
resources.public Environment addTagsEntry(String key, String value)
public Environment clearTagsEntries()
public void setWebserverAccessMode(String webserverAccessMode)
The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes.
webserverAccessMode
- The Apache Airflow Web server access mode. To learn more, see Apache Airflow access
modes.WebserverAccessMode
public String getWebserverAccessMode()
The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes.
WebserverAccessMode
public Environment withWebserverAccessMode(String webserverAccessMode)
The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes.
webserverAccessMode
- The Apache Airflow Web server access mode. To learn more, see Apache Airflow access
modes.WebserverAccessMode
public Environment withWebserverAccessMode(WebserverAccessMode webserverAccessMode)
The Apache Airflow Web server access mode. To learn more, see Apache Airflow access modes.
webserverAccessMode
- The Apache Airflow Web server access mode. To learn more, see Apache Airflow access
modes.WebserverAccessMode
public void setWebserverUrl(String webserverUrl)
The Apache Airflow Web server host name for the Amazon MWAA environment. To learn more, see Accessing the Apache Airflow UI.
webserverUrl
- The Apache Airflow Web server host name for the Amazon MWAA environment. To learn more, see Accessing the Apache
Airflow UI.public String getWebserverUrl()
The Apache Airflow Web server host name for the Amazon MWAA environment. To learn more, see Accessing the Apache Airflow UI.
public Environment withWebserverUrl(String webserverUrl)
The Apache Airflow Web server host name for the Amazon MWAA environment. To learn more, see Accessing the Apache Airflow UI.
webserverUrl
- The Apache Airflow Web server host name for the Amazon MWAA environment. To learn more, see Accessing the Apache
Airflow UI.public void setWeeklyMaintenanceWindowStart(String weeklyMaintenanceWindowStart)
The day and time of the week that weekly maintenance updates are scheduled. For example: TUE:03:30
.
weeklyMaintenanceWindowStart
- The day and time of the week that weekly maintenance updates are scheduled. For example:
TUE:03:30
.public String getWeeklyMaintenanceWindowStart()
The day and time of the week that weekly maintenance updates are scheduled. For example: TUE:03:30
.
TUE:03:30
.public Environment withWeeklyMaintenanceWindowStart(String weeklyMaintenanceWindowStart)
The day and time of the week that weekly maintenance updates are scheduled. For example: TUE:03:30
.
weeklyMaintenanceWindowStart
- The day and time of the week that weekly maintenance updates are scheduled. For example:
TUE:03:30
.public String toString()
toString
in class Object
Object.toString()
public Environment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.