Class StageInfo
- java.lang.Object
-
- net.snowflake.client.jdbc.cloud.storage.StageInfo
-
- All Implemented Interfaces:
Serializable
public class StageInfo extends Object implements Serializable
Encapsulates all the required stage properties used by GET/PUT for Azure and S3 stages- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStageInfo.StageType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StageInfocreateStageInfo(String locationType, String location, Map<?,?> credentials, String region, String endPoint, String storageAccount, boolean isClientSideEncrypted)Map<?,?>getCredentials()StringgetEndPoint()booleangetIsClientSideEncrypted()StringgetLocation()StringgetPresignedUrl()PropertiesgetProxyProperties()StringgetRegion()StageInfo.StageTypegetStageType()StringgetStorageAccount()booleangetUseS3RegionalUrl()voidsetCredentials(Map<?,?> credentials)voidsetPresignedUrl(String presignedUrl)voidsetProxyProperties(Properties proxyProperties)voidsetUseS3RegionalUrl(boolean useS3RegionalUrl)
-
-
-
Method Detail
-
createStageInfo
public static StageInfo createStageInfo(String locationType, String location, Map<?,?> credentials, String region, String endPoint, String storageAccount, boolean isClientSideEncrypted) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
getStageType
public StageInfo.StageType getStageType()
-
getLocation
public String getLocation()
-
getCredentials
public Map<?,?> getCredentials()
-
setCredentials
public void setCredentials(Map<?,?> credentials)
-
getRegion
public String getRegion()
-
getEndPoint
public String getEndPoint()
-
getStorageAccount
public String getStorageAccount()
-
getPresignedUrl
public String getPresignedUrl()
-
setPresignedUrl
public void setPresignedUrl(String presignedUrl)
-
getIsClientSideEncrypted
public boolean getIsClientSideEncrypted()
-
setUseS3RegionalUrl
public void setUseS3RegionalUrl(boolean useS3RegionalUrl)
-
getUseS3RegionalUrl
public boolean getUseS3RegionalUrl()
-
setProxyProperties
public void setProxyProperties(Properties proxyProperties)
-
getProxyProperties
public Properties getProxyProperties()
-
-