Interface CreateApplicationRequest.Builder
- All Superinterfaces:
AppIntegrationsRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateApplicationRequest.Builder
applicationSourceConfig
(Consumer<ApplicationSourceConfig.Builder> applicationSourceConfig) The configuration for where the application should be loaded from.applicationSourceConfig
(ApplicationSourceConfig applicationSourceConfig) The configuration for where the application should be loaded from.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description
(String description) The description of the application.The name of the application.The namespace of the application.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissions
(String... permissions) The configuration of events or requests that the application has access to.permissions
(Collection<String> permissions) The configuration of events or requests that the application has access to.publications
(Collection<Publication> publications) Deprecated.Publications has been replaced with Permissionspublications
(Consumer<Publication.Builder>... publications) Deprecated.Publications has been replaced with Permissionspublications
(Publication... publications) Deprecated.Publications has been replaced with Permissionssubscriptions
(Collection<Subscription> subscriptions) Deprecated.Subscriptions has been replaced with Permissionssubscriptions
(Consumer<Subscription.Builder>... subscriptions) Deprecated.Subscriptions has been replaced with Permissionssubscriptions
(Subscription... subscriptions) Deprecated.Subscriptions has been replaced with PermissionsThe tags used to organize, track, or control access for this resource.Methods inherited from interface software.amazon.awssdk.services.appintegrations.model.AppIntegrationsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the application.
- Parameters:
name
- The name of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
The namespace of the application.
- Parameters:
namespace
- The namespace of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the application.
- Parameters:
description
- The description of the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSourceConfig
CreateApplicationRequest.Builder applicationSourceConfig(ApplicationSourceConfig applicationSourceConfig) The configuration for where the application should be loaded from.
- Parameters:
applicationSourceConfig
- The configuration for where the application should be loaded from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationSourceConfig
default CreateApplicationRequest.Builder applicationSourceConfig(Consumer<ApplicationSourceConfig.Builder> applicationSourceConfig) The configuration for where the application should be loaded from.
This is a convenience method that creates an instance of theApplicationSourceConfig.Builder
avoiding the need to create one manually viaApplicationSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationSourceConfig(ApplicationSourceConfig)
.- Parameters:
applicationSourceConfig
- a consumer that will call methods onApplicationSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscriptions
Deprecated.Subscriptions has been replaced with PermissionsThe events that the application subscribes.
- Parameters:
subscriptions
- The events that the application subscribes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
Deprecated.Subscriptions has been replaced with PermissionsThe events that the application subscribes.
- Parameters:
subscriptions
- The events that the application subscribes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriptions
@Deprecated CreateApplicationRequest.Builder subscriptions(Consumer<Subscription.Builder>... subscriptions) Deprecated.Subscriptions has been replaced with PermissionsThe events that the application subscribes.
This is a convenience method that creates an instance of theSubscription.Builder
avoiding the need to create one manually viaSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscriptions(List<Subscription>)
.- Parameters:
subscriptions
- a consumer that will call methods onSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publications
Deprecated.Publications has been replaced with PermissionsThe events that the application publishes.
- Parameters:
publications
- The events that the application publishes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publications
Deprecated.Publications has been replaced with PermissionsThe events that the application publishes.
- Parameters:
publications
- The events that the application publishes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publications
@Deprecated CreateApplicationRequest.Builder publications(Consumer<Publication.Builder>... publications) Deprecated.Publications has been replaced with PermissionsThe events that the application publishes.
This is a convenience method that creates an instance of thePublication.Builder
avoiding the need to create one manually viaPublication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topublications(List<Publication>)
.- Parameters:
publications
- a consumer that will call methods onPublication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The configuration of events or requests that the application has access to.
- Parameters:
permissions
- The configuration of events or requests that the application has access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The configuration of events or requests that the application has access to.
- Parameters:
permissions
- The configuration of events or requests that the application has access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-