@Generated(value="software.amazon.awssdk:codegen") public final class CreateApplicationRequest extends KinesisAnalyticsV2Request implements ToCopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateApplicationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
ApplicationConfiguration |
applicationConfiguration()
Use this parameter to configure the application.
|
String |
applicationDescription()
A summary description of the application.
|
ApplicationMode |
applicationMode()
Use the
STREAMING mode to create a Kinesis Data Analytics Studio notebook. |
String |
applicationModeAsString()
Use the
STREAMING mode to create a Kinesis Data Analytics Studio notebook. |
String |
applicationName()
The name of your application (for example,
sample-app). |
static CreateApplicationRequest.Builder |
builder() |
List<CloudWatchLoggingOption> |
cloudWatchLoggingOptions()
Use this parameter to configure an Amazon CloudWatch log stream to monitor application configuration errors.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCloudWatchLoggingOptions()
For responses, this returns true if the service returned a value for the CloudWatchLoggingOptions property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
RuntimeEnvironment |
runtimeEnvironment()
The runtime environment for the application (
SQL-1_0, FLINK-1_6, FLINK-1_8
, or FLINK-1_11). |
String |
runtimeEnvironmentAsString()
The runtime environment for the application (
SQL-1_0, FLINK-1_6, FLINK-1_8
, or FLINK-1_11). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateApplicationRequest.Builder> |
serializableBuilderClass() |
String |
serviceExecutionRole()
The IAM role used by the application to access Kinesis data streams, Kinesis Data Firehose delivery streams,
Amazon S3 objects, and other external resources.
|
List<Tag> |
tags()
A list of one or more tags to assign to the application.
|
CreateApplicationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String applicationName()
The name of your application (for example, sample-app).
sample-app).public final String applicationDescription()
A summary description of the application.
public final RuntimeEnvironment runtimeEnvironment()
The runtime environment for the application (SQL-1_0, FLINK-1_6, FLINK-1_8
, or FLINK-1_11).
If the service returns an enum value that is not available in the current SDK version,
runtimeEnvironment will return RuntimeEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from runtimeEnvironmentAsString().
SQL-1_0, FLINK-1_6,
FLINK-1_8, or FLINK-1_11).RuntimeEnvironmentpublic final String runtimeEnvironmentAsString()
The runtime environment for the application (SQL-1_0, FLINK-1_6, FLINK-1_8
, or FLINK-1_11).
If the service returns an enum value that is not available in the current SDK version,
runtimeEnvironment will return RuntimeEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from runtimeEnvironmentAsString().
SQL-1_0, FLINK-1_6,
FLINK-1_8, or FLINK-1_11).RuntimeEnvironmentpublic final String serviceExecutionRole()
The IAM role used by the application to access Kinesis data streams, Kinesis Data Firehose delivery streams, Amazon S3 objects, and other external resources.
public final ApplicationConfiguration applicationConfiguration()
Use this parameter to configure the application.
public final boolean hasCloudWatchLoggingOptions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<CloudWatchLoggingOption> cloudWatchLoggingOptions()
Use this parameter to configure an Amazon CloudWatch log stream to monitor application configuration errors.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCloudWatchLoggingOptions() method.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
A list of one or more tags to assign to the application. A tag is a key-value pair that identifies an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50. For more information, see Using Tagging.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final ApplicationMode applicationMode()
Use the STREAMING mode to create a Kinesis Data Analytics Studio notebook. To create a Kinesis Data
Analytics Studio notebook, use the INTERACTIVE mode.
If the service returns an enum value that is not available in the current SDK version, applicationMode
will return ApplicationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from applicationModeAsString().
STREAMING mode to create a Kinesis Data Analytics Studio notebook. To create a
Kinesis Data Analytics Studio notebook, use the INTERACTIVE mode.ApplicationModepublic final String applicationModeAsString()
Use the STREAMING mode to create a Kinesis Data Analytics Studio notebook. To create a Kinesis Data
Analytics Studio notebook, use the INTERACTIVE mode.
If the service returns an enum value that is not available in the current SDK version, applicationMode
will return ApplicationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from applicationModeAsString().
STREAMING mode to create a Kinesis Data Analytics Studio notebook. To create a
Kinesis Data Analytics Studio notebook, use the INTERACTIVE mode.ApplicationModepublic CreateApplicationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>toBuilder in class KinesisAnalyticsV2Requestpublic static CreateApplicationRequest.Builder builder()
public static Class<? extends CreateApplicationRequest.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 © 2022. All rights reserved.