io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent Maven / Gradle / Ivy
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.Fluent;
import io.kubernetes.client.fluent.Nested;
import java.util.Collection;
import java.util.List;
import java.util.function.Predicate;
/** Generated */
public interface V1PersistentVolumeClaimSpecFluent>
extends Fluent {
public A addToAccessModes(Integer index, String item);
public A setToAccessModes(java.lang.Integer index, java.lang.String item);
public A addToAccessModes(java.lang.String... items);
public A addAllToAccessModes(Collection items);
public A removeFromAccessModes(java.lang.String... items);
public A removeAllFromAccessModes(java.util.Collection items);
public List getAccessModes();
public java.lang.String getAccessMode(java.lang.Integer index);
public java.lang.String getFirstAccessMode();
public java.lang.String getLastAccessMode();
public java.lang.String getMatchingAccessMode(Predicate predicate);
public Boolean hasMatchingAccessMode(java.util.function.Predicate predicate);
public A withAccessModes(java.util.List accessModes);
public A withAccessModes(java.lang.String... accessModes);
public java.lang.Boolean hasAccessModes();
/**
* This method has been deprecated, please use method buildDataSource instead.
*
* @return The buildable object.
*/
@Deprecated
public V1TypedLocalObjectReference getDataSource();
public io.kubernetes.client.openapi.models.V1TypedLocalObjectReference buildDataSource();
public A withDataSource(
io.kubernetes.client.openapi.models.V1TypedLocalObjectReference dataSource);
public java.lang.Boolean hasDataSource();
public V1PersistentVolumeClaimSpecFluent.DataSourceNested withNewDataSource();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.DataSourceNested
withNewDataSourceLike(io.kubernetes.client.openapi.models.V1TypedLocalObjectReference item);
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.DataSourceNested
editDataSource();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.DataSourceNested
editOrNewDataSource();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.DataSourceNested
editOrNewDataSourceLike(io.kubernetes.client.openapi.models.V1TypedLocalObjectReference item);
/**
* This method has been deprecated, please use method buildDataSourceRef instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public io.kubernetes.client.openapi.models.V1TypedLocalObjectReference getDataSourceRef();
public io.kubernetes.client.openapi.models.V1TypedLocalObjectReference buildDataSourceRef();
public A withDataSourceRef(
io.kubernetes.client.openapi.models.V1TypedLocalObjectReference dataSourceRef);
public java.lang.Boolean hasDataSourceRef();
public V1PersistentVolumeClaimSpecFluent.DataSourceRefNested withNewDataSourceRef();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.DataSourceRefNested<
A>
withNewDataSourceRefLike(
io.kubernetes.client.openapi.models.V1TypedLocalObjectReference item);
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.DataSourceRefNested<
A>
editDataSourceRef();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.DataSourceRefNested<
A>
editOrNewDataSourceRef();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.DataSourceRefNested<
A>
editOrNewDataSourceRefLike(
io.kubernetes.client.openapi.models.V1TypedLocalObjectReference item);
/**
* This method has been deprecated, please use method buildResources instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public V1ResourceRequirements getResources();
public io.kubernetes.client.openapi.models.V1ResourceRequirements buildResources();
public A withResources(io.kubernetes.client.openapi.models.V1ResourceRequirements resources);
public java.lang.Boolean hasResources();
public V1PersistentVolumeClaimSpecFluent.ResourcesNested withNewResources();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.ResourcesNested
withNewResourcesLike(io.kubernetes.client.openapi.models.V1ResourceRequirements item);
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.ResourcesNested
editResources();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.ResourcesNested
editOrNewResources();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.ResourcesNested
editOrNewResourcesLike(io.kubernetes.client.openapi.models.V1ResourceRequirements item);
/**
* This method has been deprecated, please use method buildSelector instead.
*
* @return The buildable object.
*/
@java.lang.Deprecated
public V1LabelSelector getSelector();
public io.kubernetes.client.openapi.models.V1LabelSelector buildSelector();
public A withSelector(io.kubernetes.client.openapi.models.V1LabelSelector selector);
public java.lang.Boolean hasSelector();
public V1PersistentVolumeClaimSpecFluent.SelectorNested withNewSelector();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.SelectorNested
withNewSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.SelectorNested
editSelector();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.SelectorNested
editOrNewSelector();
public io.kubernetes.client.openapi.models.V1PersistentVolumeClaimSpecFluent.SelectorNested
editOrNewSelectorLike(io.kubernetes.client.openapi.models.V1LabelSelector item);
public java.lang.String getStorageClassName();
public A withStorageClassName(java.lang.String storageClassName);
public java.lang.Boolean hasStorageClassName();
public java.lang.String getVolumeMode();
public A withVolumeMode(java.lang.String volumeMode);
public java.lang.Boolean hasVolumeMode();
public java.lang.String getVolumeName();
public A withVolumeName(java.lang.String volumeName);
public java.lang.Boolean hasVolumeName();
public interface DataSourceNested
extends Nested,
V1TypedLocalObjectReferenceFluent> {
public N and();
public N endDataSource();
}
public interface DataSourceRefNested
extends io.kubernetes.client.fluent.Nested,
V1TypedLocalObjectReferenceFluent<
V1PersistentVolumeClaimSpecFluent.DataSourceRefNested> {
public N and();
public N endDataSourceRef();
}
public interface ResourcesNested
extends io.kubernetes.client.fluent.Nested,
V1ResourceRequirementsFluent> {
public N and();
public N endResources();
}
public interface SelectorNested
extends io.kubernetes.client.fluent.Nested,
V1LabelSelectorFluent> {
public N and();
public N endSelector();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy