Class Component.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.dapr.v1alpha1.Component.Builder
-
- Enclosing class:
- Component
public static class Component.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Component.Builder
addToScopes(java.lang.String addToScopes)
Component.Builder
apiVersion(java.lang.String apiVersion)
APIVersion defines the versioned schema of this representation of an object.Component.Builder
auth(ComponentAuth auth)
Component
build()
Component.Builder
clearScopes()
Component.Builder
kind(java.lang.String kind)
Kind is a string value representing the REST resource this object represents.Component.Builder
metadata(com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata)
Component.Builder
scopes(java.util.Collection<? extends java.lang.String> scopes)
Component.Builder
spec(ComponentSpec spec)
java.lang.String
toString()
-
-
-
Method Detail
-
apiVersion
public Component.Builder apiVersion(java.lang.String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
this
.
-
auth
public Component.Builder auth(ComponentAuth auth)
- Returns:
this
.
-
kind
public Component.Builder kind(java.lang.String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
this
.
-
metadata
public Component.Builder metadata(com.marcnuri.yakc.model.io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata)
- Returns:
this
.
-
addToScopes
public Component.Builder addToScopes(java.lang.String addToScopes)
-
scopes
public Component.Builder scopes(java.util.Collection<? extends java.lang.String> scopes)
-
clearScopes
public Component.Builder clearScopes()
-
spec
public Component.Builder spec(ComponentSpec spec)
- Returns:
this
.
-
build
public Component build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-