Class ProfileState.Builder

  • Enclosing class:
    ProfileState

    public static final class ProfileState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public ProfileState.Builder arn​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the Profile
        Returns:
        builder
      • arn

        public ProfileState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the Profile
        Returns:
        builder
      • durationSeconds

        public ProfileState.Builder durationSeconds​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> durationSeconds)
        Parameters:
        durationSeconds - The number of seconds the vended session credentials are valid for. Defaults to 3600.
        Returns:
        builder
      • durationSeconds

        public ProfileState.Builder durationSeconds​(java.lang.Integer durationSeconds)
        Parameters:
        durationSeconds - The number of seconds the vended session credentials are valid for. Defaults to 3600.
        Returns:
        builder
      • enabled

        public ProfileState.Builder enabled​(@Nullable
                                            com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Whether or not the Profile is enabled.
        Returns:
        builder
      • enabled

        public ProfileState.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Whether or not the Profile is enabled.
        Returns:
        builder
      • managedPolicyArns

        public ProfileState.Builder managedPolicyArns​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> managedPolicyArns)
        Parameters:
        managedPolicyArns - A list of managed policy ARNs that apply to the vended session credentials.
        Returns:
        builder
      • managedPolicyArns

        public ProfileState.Builder managedPolicyArns​(java.util.List<java.lang.String> managedPolicyArns)
        Parameters:
        managedPolicyArns - A list of managed policy ARNs that apply to the vended session credentials.
        Returns:
        builder
      • managedPolicyArns

        public ProfileState.Builder managedPolicyArns​(java.lang.String... managedPolicyArns)
        Parameters:
        managedPolicyArns - A list of managed policy ARNs that apply to the vended session credentials.
        Returns:
        builder
      • name

        public ProfileState.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the Profile.
        Returns:
        builder
      • name

        public ProfileState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the Profile.
        Returns:
        builder
      • requireInstanceProperties

        public ProfileState.Builder requireInstanceProperties​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> requireInstanceProperties)
        Parameters:
        requireInstanceProperties - Specifies whether instance properties are required in [CreateSession](https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html) requests with this profile.
        Returns:
        builder
      • requireInstanceProperties

        public ProfileState.Builder requireInstanceProperties​(java.lang.Boolean requireInstanceProperties)
        Parameters:
        requireInstanceProperties - Specifies whether instance properties are required in [CreateSession](https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html) requests with this profile.
        Returns:
        builder
      • roleArns

        public ProfileState.Builder roleArns​(@Nullable
                                             com.pulumi.core.Output<java.util.List<java.lang.String>> roleArns)
        Parameters:
        roleArns - A list of IAM roles that this profile can assume
        Returns:
        builder
      • roleArns

        public ProfileState.Builder roleArns​(java.util.List<java.lang.String> roleArns)
        Parameters:
        roleArns - A list of IAM roles that this profile can assume
        Returns:
        builder
      • roleArns

        public ProfileState.Builder roleArns​(java.lang.String... roleArns)
        Parameters:
        roleArns - A list of IAM roles that this profile can assume
        Returns:
        builder
      • sessionPolicy

        public ProfileState.Builder sessionPolicy​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> sessionPolicy)
        Parameters:
        sessionPolicy - A session policy that applies to the trust boundary of the vended session credentials.
        Returns:
        builder
      • sessionPolicy

        public ProfileState.Builder sessionPolicy​(java.lang.String sessionPolicy)
        Parameters:
        sessionPolicy - A session policy that applies to the trust boundary of the vended session credentials.
        Returns:
        builder
      • tags

        public ProfileState.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ProfileState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public ProfileState.Builder tagsAll​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public ProfileState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder