Class B2CorsRule.Builder
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2CorsRule.Builder
-
- Enclosing class:
- B2CorsRule
public static class B2CorsRule.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B2CorsRule
build()
B2CorsRule.Builder
setAllowedHeaders(java.util.List<java.lang.String> allowedHeaders)
B2CorsRule.Builder
setExposeHeaders(java.util.List<java.lang.String> exposeHeaders)
-
-
-
Method Detail
-
setAllowedHeaders
public B2CorsRule.Builder setAllowedHeaders(java.util.List<java.lang.String> allowedHeaders)
-
setExposeHeaders
public B2CorsRule.Builder setExposeHeaders(java.util.List<java.lang.String> exposeHeaders)
-
build
public B2CorsRule build()
-
-