S3PluginConfig class
The AWS S3 plugin configuration.
- Implemented types
- Mixed in types
- Annotations
Constructors
- S3PluginConfig({required String bucket, required String region, StorageAccessLevel defaultAccessLevel = StorageAccessLevel.guest})
-
The AWS S3 plugin configuration.
const
-
S3PluginConfig.fromJson(Map<
String, Object?> json) -
factory
Properties
- bucket → String
-
final
- defaultAccessLevel → StorageAccessLevel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the plugin, as registered in the "plugins" dictionary of
the Amplify configuration.
no setteroverride
-
props
→ List<
Object?> -
The type's equatable properties.
no setteroverride
- region → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? bucket, String? region, StorageAccessLevel? defaultAccessLevel}) → S3PluginConfig -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Serializes
this
as a JSON object.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited