Class SafeAuthorization
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.SafeAuthorization
-
- All Implemented Interfaces:
Editable<SafeAuthorizationBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SafeAuthorization extends Object implements Editable<SafeAuthorizationBuilder>, 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(SecretKeySelector credentials, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SafeAuthorizationBuilderedit()Map<String,Object>getAdditionalProperties()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()type defines the authentication type.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCredentials(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)type defines the authentication type.SafeAuthorizationBuildertoBuilder()
-
-
-
Constructor Detail
-
SafeAuthorization
public SafeAuthorization()
No args constructor for use in serialization
-
SafeAuthorization
public SafeAuthorization(SecretKeySelector credentials, String type)
-
-
Method Detail
-
getCredentials
public 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(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()
type defines the authentication type. The value is case-insensitive."Basic" is not a supported value.
Default: "Bearer"
-
setType
public void setType(String type)
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 interfaceEditable<SafeAuthorizationBuilder>
-
toBuilder
public SafeAuthorizationBuilder toBuilder()
-
-