Interface AzureInfrastructure.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AzureInfrastructure.Builder,,AzureInfrastructure> SdkBuilder<AzureInfrastructure.Builder,,AzureInfrastructure> SdkPojo
- Enclosing class:
AzureInfrastructure
-
Method Summary
Modifier and TypeMethodDescriptioneventHubs(Collection<AzureEventHubConfiguration> eventHubs) The Event Hubs configuration.eventHubs(Consumer<AzureEventHubConfiguration.Builder>... eventHubs) The Event Hubs configuration.eventHubs(AzureEventHubConfiguration... eventHubs) The Event Hubs configuration.default AzureInfrastructure.BuilderflowLogs(Consumer<AzureFlowLogsInfrastructure.Builder> flowLogs) The location of your Flow Logs.flowLogs(AzureFlowLogsInfrastructure flowLogs) The location of your Flow Logs.subscriptionId(String subscriptionId) The Azure subscription in which the setup creates the Event Hubs namespaces and, forAwsManagedFlow Logs, the Storage Accounts.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
subscriptionId
The Azure subscription in which the setup creates the Event Hubs namespaces and, for
AwsManagedFlow Logs, the Storage Accounts. You must specify this value if anAzureScopeItemcollectsResourceLogs, or if you specifyEventHubsorAwsManagedFlow Logs.- Parameters:
subscriptionId- The Azure subscription in which the setup creates the Event Hubs namespaces and, forAwsManagedFlow Logs, the Storage Accounts. You must specify this value if anAzureScopeItemcollectsResourceLogs, or if you specifyEventHubsorAwsManagedFlow Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventHubs
The Event Hubs configuration. Specify exactly one entry, which applies to the Event Hubs in every Azure Region. This value applies only if an
AzureScopeItemcollectsResourceLogs. If you omit it, the setup uses default settings.- Parameters:
eventHubs- The Event Hubs configuration. Specify exactly one entry, which applies to the Event Hubs in every Azure Region. This value applies only if anAzureScopeItemcollectsResourceLogs. If you omit it, the setup uses default settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventHubs
The Event Hubs configuration. Specify exactly one entry, which applies to the Event Hubs in every Azure Region. This value applies only if an
AzureScopeItemcollectsResourceLogs. If you omit it, the setup uses default settings.- Parameters:
eventHubs- The Event Hubs configuration. Specify exactly one entry, which applies to the Event Hubs in every Azure Region. This value applies only if anAzureScopeItemcollectsResourceLogs. If you omit it, the setup uses default settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventHubs
The Event Hubs configuration. Specify exactly one entry, which applies to the Event Hubs in every Azure Region. This value applies only if an
This is a convenience method that creates an instance of theAzureScopeItemcollectsResourceLogs. If you omit it, the setup uses default settings.AzureEventHubConfiguration.Builderavoiding the need to create one manually viaAzureEventHubConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventHubs(List<AzureEventHubConfiguration>).- Parameters:
eventHubs- a consumer that will call methods onAzureEventHubConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
flowLogs
The location of your Flow Logs. You must specify this value if an
AzureScopeItemcollectsFlowLogs, and you can specify it only in that case.- Parameters:
flowLogs- The location of your Flow Logs. You must specify this value if anAzureScopeItemcollectsFlowLogs, and you can specify it only in that case.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowLogs
default AzureInfrastructure.Builder flowLogs(Consumer<AzureFlowLogsInfrastructure.Builder> flowLogs) The location of your Flow Logs. You must specify this value if an
This is a convenience method that creates an instance of theAzureScopeItemcollectsFlowLogs, and you can specify it only in that case.AzureFlowLogsInfrastructure.Builderavoiding the need to create one manually viaAzureFlowLogsInfrastructure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflowLogs(AzureFlowLogsInfrastructure).- Parameters:
flowLogs- a consumer that will call methods onAzureFlowLogsInfrastructure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-