Class SafeAuthorization
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.SafeAuthorization
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SafeAuthorizationBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SafeAuthorization extends Object implements io.fabric8.kubernetes.api.builder.Editable<SafeAuthorizationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SafeAuthorization specifies a subset of the Authorization struct, that is safe for use because it doesn't provide access to the Prometheus container's filesystem.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SafeAuthorization()No args constructor for use in serializationSafeAuthorization(io.fabric8.kubernetes.api.model.SecretKeySelector credentials, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SafeAuthorizationBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.SecretKeySelectorgetCredentials()SafeAuthorization specifies a subset of the Authorization struct, that is safe for use because it doesn't provide access to the Prometheus container's filesystem.StringgetType()Defines the authentication type.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCredentials(io.fabric8.kubernetes.api.model.SecretKeySelector credentials)SafeAuthorization specifies a subset of the Authorization struct, that is safe for use because it doesn't provide access to the Prometheus container's filesystem.voidsetType(String type)Defines the authentication type.SafeAuthorizationBuildertoBuilder()
-
-
-
Constructor Detail
-
SafeAuthorization
public SafeAuthorization()
No args constructor for use in serialization
-
SafeAuthorization
public SafeAuthorization(io.fabric8.kubernetes.api.model.SecretKeySelector credentials, String type)
-
-
Method Detail
-
getCredentials
public io.fabric8.kubernetes.api.model.SecretKeySelector getCredentials()
SafeAuthorization specifies a subset of the Authorization struct, that is safe for use because it doesn't provide access to the Prometheus container's filesystem.
-
setCredentials
public void setCredentials(io.fabric8.kubernetes.api.model.SecretKeySelector credentials)
SafeAuthorization specifies a subset of the Authorization struct, that is safe for use because it doesn't provide access to the Prometheus container's filesystem.
-
getType
public String getType()
Defines the authentication type. The value is case-insensitive."Basic" is not a supported value.
Default: "Bearer"
-
setType
public void setType(String type)
Defines the authentication type. The value is case-insensitive."Basic" is not a supported value.
Default: "Bearer"
-
edit
public SafeAuthorizationBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SafeAuthorizationBuilder>
-
toBuilder
public SafeAuthorizationBuilder toBuilder()
-
-