Class EnvironmentMember

    • Method Detail

      • permissions

        public final Permissions permissions()

        The type of environment member permissions associated with this environment member. Available values include:

        • owner: Owns the environment.

        • read-only: Has read-only access to the environment.

        • read-write: Has read-write access to the environment.

        If the service returns an enum value that is not available in the current SDK version, permissions will return Permissions.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from permissionsAsString().

        Returns:
        The type of environment member permissions associated with this environment member. Available values include:

        • owner: Owns the environment.

        • read-only: Has read-only access to the environment.

        • read-write: Has read-write access to the environment.

        See Also:
        Permissions
      • permissionsAsString

        public final String permissionsAsString()

        The type of environment member permissions associated with this environment member. Available values include:

        • owner: Owns the environment.

        • read-only: Has read-only access to the environment.

        • read-write: Has read-write access to the environment.

        If the service returns an enum value that is not available in the current SDK version, permissions will return Permissions.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from permissionsAsString().

        Returns:
        The type of environment member permissions associated with this environment member. Available values include:

        • owner: Owns the environment.

        • read-only: Has read-only access to the environment.

        • read-write: Has read-write access to the environment.

        See Also:
        Permissions
      • userId

        public final String userId()

        The user ID in Identity and Access Management (IAM) of the environment member.

        Returns:
        The user ID in Identity and Access Management (IAM) of the environment member.
      • userArn

        public final String userArn()

        The Amazon Resource Name (ARN) of the environment member.

        Returns:
        The Amazon Resource Name (ARN) of the environment member.
      • environmentId

        public final String environmentId()

        The ID of the environment for the environment member.

        Returns:
        The ID of the environment for the environment member.
      • lastAccess

        public final Instant lastAccess()

        The time, expressed in epoch time format, when the environment member last opened the environment.

        Returns:
        The time, expressed in epoch time format, when the environment member last opened the environment.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)