Class AWSProviderSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.AWSProviderSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AWSProviderSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AWSProviderSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<AWSProviderSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced
AWSProviderSpec contains the required information to create a user policy in AWS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AWSProviderSpec()No args constructor for use in serializationAWSProviderSpec(String apiVersion, String kind, List<StatementEntry> statementEntries, String stsIAMRoleARN)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AWSProviderSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetKind()Kind is a string value representing the REST resource this object represents.List<StatementEntry>getStatementEntries()StatementEntries contains a list of policy statements that should be associated with this credentials access key.StringgetStsIAMRoleARN()stsIAMRoleARN is the Amazon Resource Name (ARN) of an IAM Role which was created manually for the associated CredentialsRequest.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetStatementEntries(List<StatementEntry> statementEntries)StatementEntries contains a list of policy statements that should be associated with this credentials access key.voidsetStsIAMRoleARN(String stsIAMRoleARN)stsIAMRoleARN is the Amazon Resource Name (ARN) of an IAM Role which was created manually for the associated CredentialsRequest.AWSProviderSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
AWSProviderSpec
public AWSProviderSpec()
No args constructor for use in serialization
-
AWSProviderSpec
public AWSProviderSpec(String apiVersion, String kind, List<StatementEntry> statementEntries, String stsIAMRoleARN)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
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
-
setApiVersion
public void setApiVersion(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
-
getKind
public String getKind()
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
-
setKind
public void setKind(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
-
getStatementEntries
public List<StatementEntry> getStatementEntries()
StatementEntries contains a list of policy statements that should be associated with this credentials access key.
-
setStatementEntries
public void setStatementEntries(List<StatementEntry> statementEntries)
StatementEntries contains a list of policy statements that should be associated with this credentials access key.
-
getStsIAMRoleARN
public String getStsIAMRoleARN()
stsIAMRoleARN is the Amazon Resource Name (ARN) of an IAM Role which was created manually for the associated CredentialsRequest. The presence of an stsIAMRoleARN within the AWSProviderSpec initiates creation of a secret containing IAM Role details necessary for assuming the IAM Role via Amazon's Secure Token Service.
-
setStsIAMRoleARN
public void setStsIAMRoleARN(String stsIAMRoleARN)
stsIAMRoleARN is the Amazon Resource Name (ARN) of an IAM Role which was created manually for the associated CredentialsRequest. The presence of an stsIAMRoleARN within the AWSProviderSpec initiates creation of a secret containing IAM Role details necessary for assuming the IAM Role via Amazon's Secure Token Service.
-
edit
public AWSProviderSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AWSProviderSpecBuilder>
-
toBuilder
public AWSProviderSpecBuilder toBuilder()
-
-