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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CustomLogSourceResource.Builderattributes(Consumer<CustomLogSourceAttributes.Builder> attributes)The attributes of a third-party custom source.CustomLogSourceResource.Builderattributes(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.CustomLogSourceResource.Builderprovider(CustomLogSourceProvider provider)The details of the log provider for a third-party custom source.CustomLogSourceResource.BuildersourceName(String sourceName)The name for a third-party custom source.CustomLogSourceResource.BuildersourceVersion(String sourceVersion)The version for a third-party custom source.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attributes
CustomLogSourceResource.Builder attributes(CustomLogSourceAttributes 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:
attributes(CustomLogSourceAttributes)
-
provider
CustomLogSourceResource.Builder provider(CustomLogSourceProvider 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:
provider(CustomLogSourceProvider)
-
sourceName
CustomLogSourceResource.Builder sourceName(String 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
CustomLogSourceResource.Builder sourceVersion(String 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.
-
-