Package com.pulumi.aws.iam
Class ServiceSpecificCredentialArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.ServiceSpecificCredentialArgs.Builder
-
- Enclosing class:
- ServiceSpecificCredentialArgs
public static final class ServiceSpecificCredentialArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ServiceSpecificCredentialArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceSpecificCredentialArgs
build()
ServiceSpecificCredentialArgs.Builder
serviceName(com.pulumi.core.Output<java.lang.String> serviceName)
ServiceSpecificCredentialArgs.Builder
serviceName(java.lang.String serviceName)
ServiceSpecificCredentialArgs.Builder
status(com.pulumi.core.Output<java.lang.String> status)
ServiceSpecificCredentialArgs.Builder
status(java.lang.String status)
ServiceSpecificCredentialArgs.Builder
userName(com.pulumi.core.Output<java.lang.String> userName)
ServiceSpecificCredentialArgs.Builder
userName(java.lang.String userName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ServiceSpecificCredentialArgs defaults)
-
-
Method Detail
-
serviceName
public ServiceSpecificCredentialArgs.Builder serviceName(com.pulumi.core.Output<java.lang.String> serviceName)
- Parameters:
serviceName
- The name of the AWS service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials.- Returns:
- builder
-
serviceName
public ServiceSpecificCredentialArgs.Builder serviceName(java.lang.String serviceName)
- Parameters:
serviceName
- The name of the AWS service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials.- Returns:
- builder
-
status
public ServiceSpecificCredentialArgs.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The status to be assigned to the service-specific credential. Valid values are `Active` and `Inactive`. Default value is `Active`.- Returns:
- builder
-
status
public ServiceSpecificCredentialArgs.Builder status(java.lang.String status)
- Parameters:
status
- The status to be assigned to the service-specific credential. Valid values are `Active` and `Inactive`. Default value is `Active`.- Returns:
- builder
-
userName
public ServiceSpecificCredentialArgs.Builder userName(com.pulumi.core.Output<java.lang.String> userName)
- Parameters:
userName
- The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service.- Returns:
- builder
-
userName
public ServiceSpecificCredentialArgs.Builder userName(java.lang.String userName)
- Parameters:
userName
- The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service.- Returns:
- builder
-
build
public ServiceSpecificCredentialArgs build()
-
-