Package org.apache.solr.s3
Class S3BackupRepositoryConfig
- java.lang.Object
-
- org.apache.solr.s3.S3BackupRepositoryConfig
-
public class S3BackupRepositoryConfig extends Object
Class representing thebackup
S3 config bundle specified in solr.xml. All user-provided config can be overridden via environment variables (use uppercase, with '_' instead of '.'), seetoEnvVar(java.lang.String)
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUCKET_NAME
static String
ENDPOINT
static String
PROFILE
static String
PROXY_URL
static String
PROXY_USE_SYSTEM_SETTINGS
static String
REGION
static String
RETRIES_DISABLE
-
Constructor Summary
Constructors Constructor Description S3BackupRepositoryConfig(NamedList<?> config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3StorageClient
buildClient()
Construct aS3StorageClient
from the provided config.
-
-
-
Field Detail
-
PROFILE
public static final String PROFILE
- See Also:
- Constant Field Values
-
BUCKET_NAME
public static final String BUCKET_NAME
- See Also:
- Constant Field Values
-
REGION
public static final String REGION
- See Also:
- Constant Field Values
-
ENDPOINT
public static final String ENDPOINT
- See Also:
- Constant Field Values
-
PROXY_URL
public static final String PROXY_URL
- See Also:
- Constant Field Values
-
PROXY_USE_SYSTEM_SETTINGS
public static final String PROXY_USE_SYSTEM_SETTINGS
- See Also:
- Constant Field Values
-
RETRIES_DISABLE
public static final String RETRIES_DISABLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
S3BackupRepositoryConfig
public S3BackupRepositoryConfig(NamedList<?> config)
-
-
Method Detail
-
buildClient
public S3StorageClient buildClient()
Construct aS3StorageClient
from the provided config.
-
-