Class IoK8sApiCoreV1WindowsSecurityContextOptions


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiCoreV1WindowsSecurityContextOptions
    extends Object
    WindowsSecurityContextOptions contain Windows-specific options and credentials.
    • Constructor Detail

      • IoK8sApiCoreV1WindowsSecurityContextOptions

        public IoK8sApiCoreV1WindowsSecurityContextOptions()
    • Method Detail

      • getGmsaCredentialSpec

        @Nullable
        public String getGmsaCredentialSpec()
        GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.
        Returns:
        gmsaCredentialSpec
      • setGmsaCredentialSpec

        public void setGmsaCredentialSpec​(String gmsaCredentialSpec)
      • getGmsaCredentialSpecName

        @Nullable
        public String getGmsaCredentialSpecName()
        GMSACredentialSpecName is the name of the GMSA credential spec to use.
        Returns:
        gmsaCredentialSpecName
      • setGmsaCredentialSpecName

        public void setGmsaCredentialSpecName​(String gmsaCredentialSpecName)
      • getRunAsUserName

        @Nullable
        public String getRunAsUserName()
        The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
        Returns:
        runAsUserName
      • setRunAsUserName

        public void setRunAsUserName​(String runAsUserName)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object