Interface CustomLogSourceResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomLogSourceResource.Builder,,CustomLogSourceResource> SdkBuilder<CustomLogSourceResource.Builder,,CustomLogSourceResource> SdkPojo
- Enclosing class:
CustomLogSourceResource
public static interface CustomLogSourceResource.Builder
extends SdkPojo, CopyableBuilder<CustomLogSourceResource.Builder,CustomLogSourceResource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomLogSourceResource.Builderattributes(Consumer<CustomLogSourceAttributes.Builder> attributes) The attributes of a third-party custom source.attributes(CustomLogSourceAttributes attributes) The attributes of a third-party custom source.default CustomLogSourceResource.Builderprovider(Consumer<CustomLogSourceProvider.Builder> provider) The details of the log provider for a third-party custom source.provider(CustomLogSourceProvider provider) The details of the log provider for a third-party custom source.sourceName(String sourceName) The name for a third-party custom source.sourceVersion(String sourceVersion) The version for a third-party custom source.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, sdkFields
-
Method Details
-
attributes
The attributes of a third-party custom source.
- Parameters:
attributes- The attributes of a third-party custom source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
default CustomLogSourceResource.Builder attributes(Consumer<CustomLogSourceAttributes.Builder> attributes) The attributes of a third-party custom source.
This is a convenience method that creates an instance of theCustomLogSourceAttributes.Builderavoiding the need to create one manually viaCustomLogSourceAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(CustomLogSourceAttributes).- Parameters:
attributes- a consumer that will call methods onCustomLogSourceAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provider
The details of the log provider for a third-party custom source.
- Parameters:
provider- The details of the log provider for a third-party custom source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
default CustomLogSourceResource.Builder provider(Consumer<CustomLogSourceProvider.Builder> provider) The details of the log provider for a third-party custom source.
This is a convenience method that creates an instance of theCustomLogSourceProvider.Builderavoiding the need to create one manually viaCustomLogSourceProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovider(CustomLogSourceProvider).- Parameters:
provider- a consumer that will call methods onCustomLogSourceProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceName
The name for a third-party custom source. This must be a Regionally unique value.
- Parameters:
sourceName- The name for a third-party custom source. This must be a Regionally unique value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceVersion
The version for a third-party custom source. This must be a Regionally unique value.
- Parameters:
sourceVersion- The version for a third-party custom source. This must be a Regionally unique value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-