Class APIServerSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.APIServerSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<APIServerSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class APIServerSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<APIServerSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIServerSpec()No args constructor for use in serializationAPIServerSpec(List<String> additionalCORSAllowedOrigins, Audit audit, ConfigMapNameReference clientCA, APIServerEncryption encryption, APIServerServingCerts servingCerts, TLSSecurityProfile tlsSecurityProfile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIServerSpecBuilderedit()List<String>getAdditionalCORSAllowedOrigins()additionalCORSAllowedOrigins lists additional, user-defined regular expressions describing hosts for which the API server allows access using the CORS headers.Map<String,Object>getAdditionalProperties()AuditgetAudit()ConfigMapNameReferencegetClientCA()APIServerEncryptiongetEncryption()APIServerServingCertsgetServingCerts()TLSSecurityProfilegetTlsSecurityProfile()voidsetAdditionalCORSAllowedOrigins(List<String> additionalCORSAllowedOrigins)additionalCORSAllowedOrigins lists additional, user-defined regular expressions describing hosts for which the API server allows access using the CORS headers.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAudit(Audit audit)voidsetClientCA(ConfigMapNameReference clientCA)voidsetEncryption(APIServerEncryption encryption)voidsetServingCerts(APIServerServingCerts servingCerts)voidsetTlsSecurityProfile(TLSSecurityProfile tlsSecurityProfile)APIServerSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
APIServerSpec
public APIServerSpec()
No args constructor for use in serialization
-
APIServerSpec
public APIServerSpec(List<String> additionalCORSAllowedOrigins, Audit audit, ConfigMapNameReference clientCA, APIServerEncryption encryption, APIServerServingCerts servingCerts, TLSSecurityProfile tlsSecurityProfile)
-
-
Method Detail
-
getAdditionalCORSAllowedOrigins
public List<String> getAdditionalCORSAllowedOrigins()
additionalCORSAllowedOrigins lists additional, user-defined regular expressions describing hosts for which the API server allows access using the CORS headers. This may be needed to access the API and the integrated OAuth server from JavaScript applications. The values are regular expressions that correspond to the Golang regular expression language.
-
setAdditionalCORSAllowedOrigins
public void setAdditionalCORSAllowedOrigins(List<String> additionalCORSAllowedOrigins)
additionalCORSAllowedOrigins lists additional, user-defined regular expressions describing hosts for which the API server allows access using the CORS headers. This may be needed to access the API and the integrated OAuth server from JavaScript applications. The values are regular expressions that correspond to the Golang regular expression language.
-
getAudit
public Audit getAudit()
-
setAudit
public void setAudit(Audit audit)
-
getClientCA
public ConfigMapNameReference getClientCA()
-
setClientCA
public void setClientCA(ConfigMapNameReference clientCA)
-
getEncryption
public APIServerEncryption getEncryption()
-
setEncryption
public void setEncryption(APIServerEncryption encryption)
-
getServingCerts
public APIServerServingCerts getServingCerts()
-
setServingCerts
public void setServingCerts(APIServerServingCerts servingCerts)
-
getTlsSecurityProfile
public TLSSecurityProfile getTlsSecurityProfile()
-
setTlsSecurityProfile
public void setTlsSecurityProfile(TLSSecurityProfile tlsSecurityProfile)
-
edit
public APIServerSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<APIServerSpecBuilder>
-
toBuilder
public APIServerSpecBuilder toBuilder()
-
-